34 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 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: "##TOKEN##"
 |