A newer version is available. For the latest information, see the
current release documentation.
HTTP Configuration
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
HTTP Configuration
editLoad balancer settings and TLS SANs
editBy default a ClusterIP service is created and associated with the Kibana deployment.
You may want to expose Kibana externally with a load balancer.
In which case you may also want to include a custom DNS name or IP in the self-generated certificate.
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
name: kibana-sample
spec:
version: 8.19.8
count: 1
elasticsearchRef:
name: "elasticsearch-sample"
http:
service:
spec:
type: LoadBalancer # default is ClusterIP
tls:
selfSignedCertificate:
subjectAltNames:
- ip: 1.2.3.4
- dns: kibana.example.com
Provide your own certificate
editIf you want to use your own certificate, the required configuration is identical to Elasticsearch. See: Custom HTTP certificate.
Disable TLS
editYou can disable the generation of the self-signed certificate and hence disable TLS.
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
name: kibana-sample
spec:
version: 8.19.8
count: 1
elasticsearchRef:
name: "elasticsearch-sample"
http:
tls:
selfSignedCertificate:
disabled: true