Skip to content

Instantly share code, notes, and snippets.

@owainlewis
Last active August 9, 2018 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owainlewis/b0185846f45f6d67b2c1f4effff07352 to your computer and use it in GitHub Desktop.
Save owainlewis/b0185846f45f6d67b2c1f4effff07352 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: kibana
labels:
app: kibana
spec:
type: NodePort
ports:
- port: 5601
protocol: TCP
targetPort: ui
selector:
app: kibana
apiVersion: apps/v1
kind: Deployment
metadata:
name: kibana
labels:
app: kibana
spec:
replicas: 1
selector:
matchLabels:
app: kibana
template:
metadata:
labels:
app: kibana
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
containers:
- name: kibana
image: docker.elastic.co/kibana/kibana-oss:6.2.4
env:
- name: ELASTICSEARCH_URL
value: http://es:9200
ports:
- containerPort: 5601
name: ui
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment