khteh
khteh

Reputation: 3878

Kubernetes Kibana 8.5.2 Statefulset healthcheck path? Tried /login but "connection refused"

Kibana Statefulset:

          readinessProbe:
            httpGet:
              scheme: HTTPS
              path: /login
              port: 5601
            initialDelaySeconds: 20
            periodSeconds: 5
            timeoutSeconds: 10
            failureThreshold: 3
            successThreshold: 1

Kibana ConfigMap:

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

Upvotes: 0

Views: 228

Answers (1)

Kranthiveer Dontineni
Kranthiveer Dontineni

Reputation: 1533

Kibana is the frontend service for elasticsearch so when we are deploying a statefulset ELK, we will be doing the health check of the elasticsearch cluster(This I got from referring various sources on statefulset deployment of ELK stack on kubernetes). This is one such document describing the statefulset deployment of ELK stack on kubernetes, refer to it for more information.

Upvotes: 0

Related Questions