問題
在單副本集群上運行時,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'