Added Kibana
This commit is contained in:
parent
5b5e468a54
commit
230fd51433
43
kibana/deployment.yaml
Normal file
43
kibana/deployment.yaml
Normal file
@ -0,0 +1,43 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: kibana
|
||||
namespace: app-notifications
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: kibana
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: kibana
|
||||
spec:
|
||||
containers:
|
||||
- name: kibana
|
||||
image: docker.elastic.co/kibana/kibana:8.12.1
|
||||
ports:
|
||||
- containerPort: 5601
|
||||
env:
|
||||
- name: ELASTICSEARCH_HOSTS
|
||||
value: "http://elasticsearch:9200"
|
||||
- name: ELASTICSEARCH_SERVICEACCOUNTTOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: kibana-service-token
|
||||
key: ELASTICSEARCH_SERVICE_TOKEN
|
||||
- name: XPACK_SECURITY_ENCRYPTIONKEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: kibana-encryption-keys
|
||||
key: xpack_security_encryptionKey
|
||||
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: kibana-encryption-keys
|
||||
key: xpack_encryptedSavedObjects_encryptionKey
|
||||
- name: XPACK_REPORTING_ENCRYPTIONKEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: kibana-encryption-keys
|
||||
key: xpack_reporting_encryptionKey
|
||||
14
kibana/service.yaml
Normal file
14
kibana/service.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: kibana
|
||||
namespace: app-notifications
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 5601
|
||||
targetPort: 5601
|
||||
nodePort: 30102
|
||||
name: http
|
||||
selector:
|
||||
app: kibana
|
||||
Loading…
x
Reference in New Issue
Block a user