elastic / cloud-on-k8s

Elastic Cloud on Kubernetes
Other
58 stars 708 forks source link

Create default role for health checks #2708

Open charith-elastic opened 4 years ago

charith-elastic commented 4 years ago

Google Cloud Load Balancer (GCLB), requires an HTTP health check endpoint to be available in the container (https://cloud.google.com/kubernetes-engine/docs/concepts/ingress#health_checks). We currently have a workaround for Elasticsearch by enabling anonymous access with the monitoring_user role. It might be better to create a custom restricted role in roles.yml to be used by the anonymous user for health checking purposes.

Related to #2489

sebgl commented 4 years ago

Related: https://github.com/elastic/elasticsearch/issues/50187#issuecomment-580163811.