Registry as NodePort (30500) so kubelet can pull via host loopback while in-cluster pods push via cluster DNS
This commit is contained in:
@@ -19,6 +19,12 @@ registry:
|
||||
# the hostname for HTTP image pulls.
|
||||
service:
|
||||
port: 5000
|
||||
# NodePort the kubelet on each node uses to reach the registry
|
||||
# (via the host-side 127.0.0.1:<nodePort> mirror entry in
|
||||
# /etc/rancher/k3s/registries.yaml). Picked outside the default
|
||||
# 30000-32767 NodePort range's busy zone; change if the cluster
|
||||
# already uses 30500 for something else.
|
||||
nodePort: 30500
|
||||
# Storage. The registry survives node restarts but is recreatable —
|
||||
# if the PVC is wiped, Tower's ensureAddonImage will rebuild any
|
||||
# missing images from Gitea source on demand. So we don't need a
|
||||
|
||||
Reference in New Issue
Block a user