2018-03-06 22:33:18 +00:00
|
|
|
apiVersion: apps/v1
|
2018-01-09 18:57:14 +00:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: kibana-logging
|
|
|
|
namespace: kube-system
|
|
|
|
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
|
2018-07-18 14:47:22 +00:00
|
|
|
annotations:
|
|
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
2018-01-09 18:57:14 +00:00
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: kibana-logging
|
|
|
|
image: docker.elastic.co/kibana/kibana:5.6.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
|
2018-03-06 22:33:18 +00:00
|
|
|
value: /api/v1/namespaces/kube-system/services/kibana-logging/proxy
|
2018-01-09 18:57:14 +00:00
|
|
|
- name: XPACK_MONITORING_ENABLED
|
|
|
|
value: "false"
|
|
|
|
- name: XPACK_SECURITY_ENABLED
|
|
|
|
value: "false"
|
|
|
|
ports:
|
|
|
|
- containerPort: 5601
|
|
|
|
name: ui
|
|
|
|
protocol: TCP
|