fix: use NodePort address for container image registry
Node kubelets use host DNS, not cluster DNS. Image address must be reachable from host network: 10.0.0.3:31427. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: health-app
|
- name: health-app
|
||||||
image: gitea-http.gitea.svc:3000/gitea_admin/health-app:latest
|
image: 10.0.0.3:31427/gitea_admin/health-app:latest
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 3000
|
containerPort: 3000
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ resources:
|
|||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: gitea-http.gitea.svc:3000/gitea_admin/health-app
|
- name: 10.0.0.3:31427/gitea_admin/health-app
|
||||||
newTag: latest
|
newTag: latest
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
|
|||||||
Reference in New Issue
Block a user