I want to use ES and Kibana on LoadBalancer Env. So, i added load balancer options to ES yaml as below.
apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
metadata:
name: lb
spec:
http:
service:
metadata:
annotations:
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
spec:
externalTrafficPolicy: Local
type: LoadBalancer
...
And then, i executed Kibana yaml(default) as below.
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
name: test
spec:
version: 6.8.0
count: 1
elasticsearchRef:
name: "lb"
podTemplate:
spec:
containers:
- name: kibana
resources:
limits:
memory: 1Gi
cpu: 1
On this settings, kibana coudln't be executed normally having error as below.
kubernetes error
Warning Unhealthy 2m43s (x179 over 32m) kubelet, dkosv3-ingress-test-worker-4 Readiness probe failed: HTTP probe failed with statuscode: 503
docker error
{"type":"log","@timestamp":"2019-11-05T22:57:32Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: https://lb-es-http.default.svc:9200/"} {"type":"log","@timestamp":"2019-11-05T22:57:32Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"} {"type":"log","@timestamp":"2019-11-05T22:57:32Z","tags":["warning","task_manager"],"pid":1,"message":"PollError No Living connections"}
So, i want to know that what options is needed to use kibana for es having load balancer settings.