1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: kibana-logging
- namespace: logging
- labels:
- k8s-app: kibana-logging
- kubernetes.io/cluster-service: "true"
- addonmanager.kubernetes.io/mode: Reconcile
- spec:
- replicas: 1
- selector:
- matchLabels:
- k8s-app: kibana-logging
- template:
- metadata:
- labels:
- k8s-app: kibana-logging
- annotations:
- seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
- spec:
- containers:
- - name: kibana-logging
- image: dotbalo/kibana:6.2.4
- resources:
- # need more cpu upon initialization, therefore burstable class
- limits:
- cpu: 1000m
- requests:
- cpu: 100m
- env:
- - name: ELASTICSEARCH_URL
- value: http://elasticsearch-logging:9200
- - name: SERVER_BASEPATH
- value: ""
- ports:
- - containerPort: 5601
- name: ui
- protocol: TCP
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: kibana-logging
- namespace: logging
- labels:
- k8s-app: kibana-logging
- kubernetes.io/cluster-service: "true"
- addonmanager.kubernetes.io/mode: Reconcile
- kubernetes.io/name: "Kibana"
- spec:
- type: NodePort
- ports:
- - port: 5601
- protocol: TCP
- targetPort: ui
- selector:
- k8s-app: kibana-logging
|