Skip to content

Commit b744925

Browse files
masayagclaude
andcommitted
Fix ingress service port configuration in deploy-kind.sh
The deploy-kind.sh script was failing health checks because it was trying to patch the ingress service with port 3000 instead of the actual port 8080. This caused the NodePort patch to fail, leaving the service as ClusterIP and making the ingress API inaccessible at localhost:30080. Changes: - Updated create_nodeport_services() function to use port 8080 for ingress service - This ensures the ingress service is properly exposed as NodePort on host port 30080 - All health checks now pass successfully 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b846cbe commit b744925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/kubernetes/scripts/deploy-kind.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ create_nodeport_services() {
374374

375375
# Ingress service
376376
kubectl patch service "${HELM_RELEASE_NAME}-ingress" -n "$NAMESPACE" \
377-
-p '{"spec":{"type":"NodePort","ports":[{"port":3000,"nodePort":30080,"targetPort":"http","protocol":"TCP","name":"http"}]}}'
377+
-p '{"spec":{"type":"NodePort","ports":[{"port":8080,"nodePort":30080,"targetPort":"http","protocol":"TCP","name":"http"}]}}'
378378

379379
# ROS-OCP API service
380380
kubectl patch service "${HELM_RELEASE_NAME}-rosocp-api" -n "$NAMESPACE" \

0 commit comments

Comments
 (0)