34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kibana
|
|
namespace: efk
|
|
labels:
|
|
app: kibana
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: kibana
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: kibana
|
|
spec:
|
|
containers:
|
|
- name: kibana
|
|
image: docker.elastic.co/kibana/kibana:8.8.0
|
|
ports:
|
|
- containerPort: 5601
|
|
env:
|
|
- name: ELASTICSEARCH_HOSTS
|
|
value: "http://elasticsearch.efk.svc.cluster.local:9200"
|
|
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
|
value: "a_secure_random_string_of_32_characters"
|
|
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
|
value: "another_secure_random_string_of_32_characters"
|
|
- name: XPACK_REPORTING_ENCRYPTIONKEY
|
|
value: "yet_another_secure_random_string_of_32_characters"
|
|
- name: ELASTICSEARCH_SERVICEACCOUNTTOKEN
|
|
value: "AAEAAWVsYXN0aWMva2liYW5hL215LXRva2VuOlZycER6YktPU2Qtb0xXM1hHQ2ZtUnc"
|