8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
36 lines
939 B
YAML
36 lines
939 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kibana-logging
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: kibana-logging
|
|
kubernetes.io/cluster-service: "true"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: kibana-logging
|
|
template:
|
|
metadata:
|
|
labels:
|
|
k8s-app: kibana-logging
|
|
spec:
|
|
containers:
|
|
- name: kibana-logging
|
|
image: gcr.io/google_containers/kibana:v4.6.1-1
|
|
resources:
|
|
# keep request = limit to keep this container in guaranteed class
|
|
limits:
|
|
cpu: 100m
|
|
requests:
|
|
cpu: 100m
|
|
env:
|
|
- name: "ELASTICSEARCH_URL"
|
|
value: "http://elasticsearch-logging:9200"
|
|
- name: "KIBANA_BASE_URL"
|
|
value: "/api/v1/proxy/namespaces/kube-system/services/kibana-logging"
|
|
ports:
|
|
- containerPort: 5601
|
|
name: ui
|
|
protocol: TCP
|