k8s之EFK安裝報錯Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )


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

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM