summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/kibana-deploy.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-02-18 05:57:25 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-02-18 05:57:25 +0100
commit45ad5052f6dc6b7b7e8ca3dcefe7af7c178bcde2 (patch)
treefde5989f0542da0fe6883840f0434996e73c35f7 /contrib/k8s-emc/kibana-deploy.yml
parentfix nginx streamer cm template after flag got renamed (diff)
added k8s based stats
Diffstat (limited to 'contrib/k8s-emc/kibana-deploy.yml')
-rw-r--r--contrib/k8s-emc/kibana-deploy.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/k8s-emc/kibana-deploy.yml b/contrib/k8s-emc/kibana-deploy.yml
new file mode 100644
index 0000000..1c15306
--- /dev/null
+++ b/contrib/k8s-emc/kibana-deploy.yml
@@ -0,0 +1,46 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ namespace: emc
+ name: kibana-stats
+ labels:
+ app: kibana
+ tier: stats
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: kibana
+ tier: stats
+ strategy:
+ type: Recreate
+ revisionHistoryLimit: 5
+ template:
+ metadata:
+ labels:
+ app: kibana
+ tier: stats
+ spec:
+ nodeName: emc-stats
+ securityContext:
+ runAsUser: 998
+ fsGroup: 998
+ containers:
+ - name: kibana
+ image: docker.elastic.co/kibana/kibana-oss:6.2.1
+ imagePullPolicy: Always
+ resources:
+ limits:
+ memory: 3072Mi
+ requests:
+ memory: 2048Mi
+ env:
+ - name: ELASTICSEARCH_URL
+ value: http://es-stats:9200/
+ volumeMounts:
+ - name: optimize
+ mountPath: /usr/share/kibana/optimize
+ volumes:
+ - name: optimize
+ emptyDir:
+ medium: Memory