Fix kubelet registry pulls via node cluster DNS and in-cluster mirrors.

Bootstrap configures systemd-resolved for *.cluster.local, installs k3s registries.yaml for the internal registry only, removes the legacy external-registry DaemonSet, and aligns Helm REGISTRY_PULL_URL with the in-cluster registry URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-27 11:36:07 +03:30
parent 20c4184cde
commit 3435eff256
3 changed files with 183 additions and 1 deletions
+2
View File
@@ -23,6 +23,8 @@ REDIS_PORT=6379
# In-cluster Docker Registry (Kaniko push + app image pull — same URL)
REGISTRY_URL=registry.cloudhost-builds.svc.cluster.local:5000
# REGISTRY_PULL_URL=registry.cloudhost-builds.svc.cluster.local:5000
# Cluster bootstrap installs cloudhost-node-cluster-dns so nodes resolve *.cluster.local
# (required for kubelet image pulls via registry.<ns>.svc.cluster.local).
REGISTRY_USERNAME=admin
REGISTRY_PASSWORD=registry_secret