Skip to content

Instantly share code, notes, and snippets.

@puttpotsawee
Created September 24, 2018 14:15
Show Gist options
  • Save puttpotsawee/6bf7138a4cd2d4852fcaf74161a972cb to your computer and use it in GitHub Desktop.
Save puttpotsawee/6bf7138a4cd2d4852fcaf74161a972cb to your computer and use it in GitHub Desktop.
the kibana 6
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: logging-kibana
spec:
replicas: 1
strategy: {}
template:
metadata:
labels:
app: logging-kibana
spec:
containers:
- env:
- name: ELASTICSEARCH_URL
value: http://logging-elastic-service:9200
image: docker.elastic.co/kibana/kibana:6.3.1
name: kibana
resources: {}
stdin: true
tty: true
restartPolicy: Always
status: {}
---
apiVersion: v1
kind: Service
metadata:
name: logging-kibana-service
labels:
name: logging-kibana-service
spec:
clusterIP: None
ports:
- name: logging-kibana-port
port: 80
targetPort: 5601
selector:
app: logging-kibana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment