k8ssandra / k8ssandra-terraform

Apache License 2.0
17 stars 16 forks source link

Google Kubernetes Engine unhealth backend services #45

Closed chaitu6022 closed 3 years ago

chaitu6022 commented 3 years ago

Load balancer health checks are failing due to the wrong health check request path. These load balancer health checks are created automatically. We need to find a way to update these health check path.

┆Issue is synchronized with this Jiraserver Bug by Unito ┆Issue Number: K8SSAND-603 ┆Priority: Medium

chaitu6022 commented 3 years ago

Added new back end health check configuration.

apiVersion: cloud.google.com/v1 kind: BackendConfig metadata: name: backendconfig spec: healthCheck: checkIntervalSec: 60 port: 30335 type: HTTPS requestPath: /webui

Added an annotation to the nodeport service :

annotations: beta.cloud.google.com/backend-config: '{"default": "my-backendconfig"}'

This resolved the backend health check issue on GKE.