kubernetes - Ingress reports unhealthy backend -
i'm using gce kubernetes host rails app ingress reports pod unhealthy. below setup
ingress:
spec: backend: servicename: my-service serviceport: 80
service:
spec: type: nodeport selector: app: my-app ports: - port: 80 targetport: 3000
depoyment
readinessprobe: httpget: path: /health_check port: 3000 initialdelayseconds: 20 timeoutseconds: 5
the ingress reports pod unhealthy , don't see /health_check shows in health checks list in gce console. seems it's not picked google load balancer controller.
thank much.
it turned out ingress didn't pick new path of readiness probe changed earlier. problem solved after recreated ingress (which not optimal solution).
Comments
Post a Comment