问题
在单副本集群上运行时,elasticsearch就绪探针存在问题。
Warning Unhealthy 91s (x14 over 3m42s) kubelet Readiness probe failed: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" ) Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )
解决方案
如果您运行的是单副本集群,请添加以下 helm 值:
clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
对于单个副本集群,您的状态永远不会变绿。
以下值应该有效:
replicas: 1 minimumMasterNodes: 1 clusterHealthCheckParams: 'wait_for_status=yellow&timeout=1s'