KibanaStatefulset
:
readinessProbe:
httpGet:
scheme: HTTPS
path: /login
port: 5601
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 10
failureThreshold: 3
successThreshold: 1
KibanaConfigMap
:
apiVersion: v1
kind: ConfigMap
metadata:
name: kibana-config
namespace: default
data:
kibana.yml: |+
csp.strict: true
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["https://elasticsearch-es-default:9200"]
xpack.security.enabled: true
elasticsearch.ssl.certificateAuthorities: config/certs/client-ca.cer
elasticsearch.ssl.verificationMode: certificate
Kibana是elasticsearch的前端服务,所以当我们部署有状态集ELK时,我们将对elasticsearch集群进行健康检查(这是我参考了kubernetes上有状态集部署ELK堆栈的各种来源)。这是一个描述ELK堆栈在kubernetes上的状态集部署的文档,有关更多信息,请参考它。