Hi,
Im deploying one service into gke standard cluster (Autoscaling is enable) but it got fail
Error
Startup probe failed: Get "http://10.12.3.29:3002/": dial tcp 10.12.3.29:3002: connect: connection refused
Here is my service.yaml file
containerPort: 3002
readinessProbe:
httpGet:
path: /
port: 3002
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 10
livenessProbe:
httpGet:
path: /
port: 3002
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 10
startupProbe:
httpGet:
path: /
port: 3002
initialDelaySeconds: 30
failureThreshold: 10
periodSeconds: 20
resources:
requests: # Minimum amount of resources requested
cpu: 200m
memory: 512M
limits: # Maximum amount of resources requested
cpu: 500m
memory: 1024M
But same configuration is working in dev env and i try to deploy into PROD it got startup probe fail even port number also correct it has to connec to 3002 only
I have enough memory to deploy any service in GKE cluster