fix: use NodePort for registry — resolvable from node host network

This commit is contained in:
Falkan
2026-03-19 01:27:16 -04:00
parent 5901ba92e8
commit 8e739f4077
3 changed files with 7 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: humor-units
image: registry.registry.svc.cluster.local:5000/humor-units:latest
image: <NODE_IP>:30500/humor-units:latest
imagePullPolicy: Always
ports:
- containerPort: 3000

View File

@@ -67,9 +67,8 @@ spec:
ports:
- port: 5000
targetPort: 5000
# ClusterIP is fine if you port-forward from dev machine to push.
# Change to NodePort or add an Ingress if you want external push access.
type: ClusterIP
nodePort: 30500
type: NodePort
---
apiVersion: v1
kind: Namespace