You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@senssoft.apache.org by ms...@apache.org on 2018/02/22 16:30:08 UTC
incubator-senssoft git commit: Reorg.
Repository: incubator-senssoft
Updated Branches:
refs/heads/kubernetes 0e8615649 -> 6e27db527
Reorg.
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/6e27db52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/6e27db52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/6e27db52
Branch: refs/heads/kubernetes
Commit: 6e27db52723497b7cea26202456fbda45fec0760
Parents: 0e86156
Author: msbeard <ms...@apache.org>
Authored: Thu Feb 22 11:30:04 2018 -0500
Committer: msbeard <ms...@apache.org>
Committed: Thu Feb 22 11:30:04 2018 -0500
----------------------------------------------------------------------
kubernetes/configure.sh | 18 +++---
kubernetes/elasticsearch/es-client-svc.yaml | 42 +++++++++++++
kubernetes/elasticsearch/es-client.yaml | 78 ++++++++++++++++++++++++
kubernetes/elasticsearch/es-data.yaml | 65 ++++++++++++++++++++
kubernetes/elasticsearch/es-master-svc.yaml | 38 ++++++++++++
kubernetes/elasticsearch/es-master.yaml | 74 ++++++++++++++++++++++
kubernetes/es-client-svc.yaml | 42 -------------
kubernetes/es-client.yaml | 78 ------------------------
kubernetes/es-data.yaml | 65 --------------------
kubernetes/es-master-svc.yaml | 38 ------------
kubernetes/es-master.yaml | 74 ----------------------
kubernetes/kibana-svc.yaml | 13 ----
kubernetes/kibana.yaml | 32 ----------
kubernetes/kibana/kibana-svc.yaml | 13 ++++
kubernetes/kibana/kibana.yaml | 32 ++++++++++
15 files changed, 351 insertions(+), 351 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/configure.sh
----------------------------------------------------------------------
diff --git a/kubernetes/configure.sh b/kubernetes/configure.sh
index 7e4bc6e..ae26dda 100755
--- a/kubernetes/configure.sh
+++ b/kubernetes/configure.sh
@@ -82,14 +82,14 @@ if [[ $COMMAND == "status" ]]; then
fi
function elasticsearch() {
- kubectl create -f es-master-svc.yaml
- kubectl create -f es-client-svc.yaml
- kubectl create -f es-master.yaml
- kubectl rollout status -f es-master.yaml
- kubectl create -f es-client.yaml
- kubectl rollout status -f es-client.yaml
- kubectl create -f es-data.yaml
- kubectl rollout status -f es-data.yaml
+ kubectl create -f elasticsearch/es-master-svc.yaml
+ kubectl create -f elasticsearch/es-client-svc.yaml
+ kubectl create -f elasticsearch/es-master.yaml
+ kubectl rollout status -f elasticsearch/es-master.yaml
+ kubectl create -f elasticsearch/es-client.yaml
+ kubectl rollout status -f elasticsearch/es-client.yaml
+ kubectl create -f elasticsearch/es-data.yaml
+ kubectl rollout status -f elasticsearch/es-data.yaml
}
# Deploy entire Kubernetes SensSoft namespace
@@ -100,7 +100,7 @@ fi
# Delete entire Kubernetes SensSoft namespace
if [[ $COMMAND == "purge" ]]; then
- for f in *.yaml
+ for f in elasticsearch/*.yaml
do
kubectl delete -f $f
done
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/elasticsearch/es-client-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/elasticsearch/es-client-svc.yaml b/kubernetes/elasticsearch/es-client-svc.yaml
new file mode 100644
index 0000000..2dd8ba1
--- /dev/null
+++ b/kubernetes/elasticsearch/es-client-svc.yaml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Discovery Service for Elasticsearch client nodes over port 9200.
+#
+# A Kubernetes Service is an abstraction which defines a logical set of
+# Pods and a policy by which to access them.
+apiVersion: v1
+kind: Service
+metadata:
+ name: elasticsearch-client-discovery
+ labels:
+ component: elasticsearch
+ role: client
+spec:
+ selector:
+ component: elasticsearch
+ role: client
+ ports:
+ - name: http
+ port: 9200
+ protocol: TCP
+ type: NodePort
+# type: Loadbalancer only works with certain providers:
+# AWS, Azure, OpenStack, CloudStack, and Google Compute Engine
+# type: LoadBalancer
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/elasticsearch/es-client.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/elasticsearch/es-client.yaml b/kubernetes/elasticsearch/es-client.yaml
new file mode 100644
index 0000000..cc34822
--- /dev/null
+++ b/kubernetes/elasticsearch/es-client.yaml
@@ -0,0 +1,78 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: es-client
+ labels:
+ component: elasticsearch
+ role: client
+spec:
+ replicas: 2
+ template:
+ metadata:
+ labels:
+ component: elasticsearch
+ role: client
+ spec:
+ initContainers:
+ - name: init-sysctl
+ image: busybox:1.27.2
+ imagePullPolicy: IfNotPresent
+ command:
+ - sysctl
+ - -w
+ - vm.max_map_count=262144
+ securityContext:
+ privileged: true
+ containers:
+ - name: es-client
+ image: senssoft/elasticsearch:5.6.3
+ imagePullPolicy: IfNotPresent
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ # Client node
+ - name: NODE_MASTER
+ value: "false"
+ - name: NODE_DATA
+ value: "false"
+ - name: NODE_INGEST
+ value: "false"
+ - name: HTTP_ENABLE
+ value: "true"
+ - name: DISCOVERY_SERVICE
+ value: "elasticsearch-master-discovery"
+ - name: "NETWORK_HOST"
+ value: _site_,_lo_
+ - name: ES_JAVA_OPTS
+ value: -Xms256m -Xmx256m
+ ports:
+ - containerPort: 9200
+ name: http
+ - containerPort: 9300
+ name: transport
+ livenessProbe:
+ tcpSocket:
+ port: transport
+ initialDelaySeconds: 20
+ periodSeconds: 10
+ failureThreshold: 5
+ readinessProbe:
+ httpGet:
+ path: /_cluster/health
+ port: http
+ initialDelaySeconds: 30
+ periodSeconds: 10
+ failureThreshold: 10
+ volumeMounts:
+ - name: storage
+ mountPath: /data
+ volumes:
+ - emptyDir:
+ medium: ""
+ name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/elasticsearch/es-data.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/elasticsearch/es-data.yaml b/kubernetes/elasticsearch/es-data.yaml
new file mode 100644
index 0000000..c7f01a3
--- /dev/null
+++ b/kubernetes/elasticsearch/es-data.yaml
@@ -0,0 +1,65 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: es-data
+ labels:
+ component: elasticsearch
+ role: data
+spec:
+ replicas: 2
+ template:
+ metadata:
+ labels:
+ component: elasticsearch
+ role: data
+ spec:
+ initContainers:
+ - name: init-sysctl
+ image: busybox:1.27.2
+ imagePullPolicy: IfNotPresent
+ command:
+ - sysctl
+ - -w
+ - vm.max_map_count=262144
+ securityContext:
+ privileged: true
+ containers:
+ - name: es-data
+ image: senssoft/elasticsearch:5.6.3
+ imagePullPolicy: IfNotPresent
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ # Data node
+ - name: NODE_MASTER
+ value: "false"
+ - name: NODE_DATA
+ value: "true"
+ - name: HTTP_ENABLE
+ value: "false"
+ - name: DISCOVERY_SERVICE
+ value: "elasticsearch-master-discovery"
+ - name: ES_JAVA_OPTS
+ value: -Xms256m -Xmx256m
+ ports:
+ - containerPort: 9300
+ name: transport
+ livenessProbe:
+ tcpSocket:
+ port: transport
+ initialDelaySeconds: 20
+ periodSeconds: 10
+ failureThreshold: 5
+ volumeMounts:
+ - name: storage
+ mountPath: /data
+ volumes:
+ - emptyDir:
+ medium: ""
+ name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/elasticsearch/es-master-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/elasticsearch/es-master-svc.yaml b/kubernetes/elasticsearch/es-master-svc.yaml
new file mode 100644
index 0000000..7cf9ab0
--- /dev/null
+++ b/kubernetes/elasticsearch/es-master-svc.yaml
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Discovery Service for Elasticsearch master nodes over port 9300.
+#
+# A Kubernetes Service is an abstraction which defines a logical set of
+# Pods and a policy by which to access them.
+apiVersion: v1
+kind: Service
+metadata:
+ name: elasticsearch-master-discovery
+ labels:
+ component: elasticsearch
+ role: master
+spec:
+ selector:
+ component: elasticsearch
+ role: master
+ ports:
+ - name: transport
+ port: 9300
+ protocol: TCP
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/elasticsearch/es-master.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/elasticsearch/es-master.yaml b/kubernetes/elasticsearch/es-master.yaml
new file mode 100644
index 0000000..d04b2e9
--- /dev/null
+++ b/kubernetes/elasticsearch/es-master.yaml
@@ -0,0 +1,74 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: es-master
+ labels:
+ component: elasticsearch
+ role: master
+spec:
+ replicas: 3
+ template:
+ metadata:
+ labels:
+ component: elasticsearch
+ role: master
+ spec:
+ initContainers:
+ - name: init-sysctl
+ image: busybox:1.27.2
+ imagePullPolicy: IfNotPresent
+ command:
+ - sysctl
+ - -w
+ - vm.max_map_count=262144
+ securityContext:
+ privileged: true
+ containers:
+ - name: es-master
+ image: senssoft/elasticsearch:5.6.3
+ imagePullPolicy: IfNotPresent
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ # Dedicated master-eligible node
+ - name: NODE_MASTER
+ value: "true"
+ - name: NODE_DATA
+ value: "false"
+ - name: NODE_INGEST
+ value: "false"
+ - name: NODE_COORDINATE
+ value: "false"
+ - name: NUMBER_OF_MASTERS
+ value: "3"
+ - name: HTTP_ENABLE
+ value: "false"
+ - name: DISCOVERY_SERVICE
+ value: "elasticsearch-master-discovery"
+ - name: DISCOVERY_TIMEOUT
+ value: "20s"
+ - name: ES_JAVA_OPTS
+ value: -Xms256m -Xmx256m
+ ports:
+ - containerPort: 9300
+ name: transport
+# Need better readiness check policy than checking if port 9300 is active
+ livenessProbe:
+ tcpSocket:
+ port: transport
+ initialDelaySeconds: 20
+ periodSeconds: 10
+ failureThreshold: 5
+ volumeMounts:
+ - name: storage
+ mountPath: /data
+ volumes:
+ - emptyDir:
+ medium: ""
+ name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/es-client-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/es-client-svc.yaml b/kubernetes/es-client-svc.yaml
deleted file mode 100644
index 2dd8ba1..0000000
--- a/kubernetes/es-client-svc.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# Discovery Service for Elasticsearch client nodes over port 9200.
-#
-# A Kubernetes Service is an abstraction which defines a logical set of
-# Pods and a policy by which to access them.
-apiVersion: v1
-kind: Service
-metadata:
- name: elasticsearch-client-discovery
- labels:
- component: elasticsearch
- role: client
-spec:
- selector:
- component: elasticsearch
- role: client
- ports:
- - name: http
- port: 9200
- protocol: TCP
- type: NodePort
-# type: Loadbalancer only works with certain providers:
-# AWS, Azure, OpenStack, CloudStack, and Google Compute Engine
-# type: LoadBalancer
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/es-client.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/es-client.yaml b/kubernetes/es-client.yaml
deleted file mode 100644
index cc34822..0000000
--- a/kubernetes/es-client.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-apiVersion: apps/v1beta1
-kind: Deployment
-metadata:
- name: es-client
- labels:
- component: elasticsearch
- role: client
-spec:
- replicas: 2
- template:
- metadata:
- labels:
- component: elasticsearch
- role: client
- spec:
- initContainers:
- - name: init-sysctl
- image: busybox:1.27.2
- imagePullPolicy: IfNotPresent
- command:
- - sysctl
- - -w
- - vm.max_map_count=262144
- securityContext:
- privileged: true
- containers:
- - name: es-client
- image: senssoft/elasticsearch:5.6.3
- imagePullPolicy: IfNotPresent
- env:
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- # Client node
- - name: NODE_MASTER
- value: "false"
- - name: NODE_DATA
- value: "false"
- - name: NODE_INGEST
- value: "false"
- - name: HTTP_ENABLE
- value: "true"
- - name: DISCOVERY_SERVICE
- value: "elasticsearch-master-discovery"
- - name: "NETWORK_HOST"
- value: _site_,_lo_
- - name: ES_JAVA_OPTS
- value: -Xms256m -Xmx256m
- ports:
- - containerPort: 9200
- name: http
- - containerPort: 9300
- name: transport
- livenessProbe:
- tcpSocket:
- port: transport
- initialDelaySeconds: 20
- periodSeconds: 10
- failureThreshold: 5
- readinessProbe:
- httpGet:
- path: /_cluster/health
- port: http
- initialDelaySeconds: 30
- periodSeconds: 10
- failureThreshold: 10
- volumeMounts:
- - name: storage
- mountPath: /data
- volumes:
- - emptyDir:
- medium: ""
- name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/es-data.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/es-data.yaml b/kubernetes/es-data.yaml
deleted file mode 100644
index c7f01a3..0000000
--- a/kubernetes/es-data.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-apiVersion: apps/v1beta1
-kind: Deployment
-metadata:
- name: es-data
- labels:
- component: elasticsearch
- role: data
-spec:
- replicas: 2
- template:
- metadata:
- labels:
- component: elasticsearch
- role: data
- spec:
- initContainers:
- - name: init-sysctl
- image: busybox:1.27.2
- imagePullPolicy: IfNotPresent
- command:
- - sysctl
- - -w
- - vm.max_map_count=262144
- securityContext:
- privileged: true
- containers:
- - name: es-data
- image: senssoft/elasticsearch:5.6.3
- imagePullPolicy: IfNotPresent
- env:
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- # Data node
- - name: NODE_MASTER
- value: "false"
- - name: NODE_DATA
- value: "true"
- - name: HTTP_ENABLE
- value: "false"
- - name: DISCOVERY_SERVICE
- value: "elasticsearch-master-discovery"
- - name: ES_JAVA_OPTS
- value: -Xms256m -Xmx256m
- ports:
- - containerPort: 9300
- name: transport
- livenessProbe:
- tcpSocket:
- port: transport
- initialDelaySeconds: 20
- periodSeconds: 10
- failureThreshold: 5
- volumeMounts:
- - name: storage
- mountPath: /data
- volumes:
- - emptyDir:
- medium: ""
- name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/es-master-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/es-master-svc.yaml b/kubernetes/es-master-svc.yaml
deleted file mode 100644
index 7cf9ab0..0000000
--- a/kubernetes/es-master-svc.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# Discovery Service for Elasticsearch master nodes over port 9300.
-#
-# A Kubernetes Service is an abstraction which defines a logical set of
-# Pods and a policy by which to access them.
-apiVersion: v1
-kind: Service
-metadata:
- name: elasticsearch-master-discovery
- labels:
- component: elasticsearch
- role: master
-spec:
- selector:
- component: elasticsearch
- role: master
- ports:
- - name: transport
- port: 9300
- protocol: TCP
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/es-master.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/es-master.yaml b/kubernetes/es-master.yaml
deleted file mode 100644
index d04b2e9..0000000
--- a/kubernetes/es-master.yaml
+++ /dev/null
@@ -1,74 +0,0 @@
-apiVersion: apps/v1beta1
-kind: Deployment
-metadata:
- name: es-master
- labels:
- component: elasticsearch
- role: master
-spec:
- replicas: 3
- template:
- metadata:
- labels:
- component: elasticsearch
- role: master
- spec:
- initContainers:
- - name: init-sysctl
- image: busybox:1.27.2
- imagePullPolicy: IfNotPresent
- command:
- - sysctl
- - -w
- - vm.max_map_count=262144
- securityContext:
- privileged: true
- containers:
- - name: es-master
- image: senssoft/elasticsearch:5.6.3
- imagePullPolicy: IfNotPresent
- env:
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- # Dedicated master-eligible node
- - name: NODE_MASTER
- value: "true"
- - name: NODE_DATA
- value: "false"
- - name: NODE_INGEST
- value: "false"
- - name: NODE_COORDINATE
- value: "false"
- - name: NUMBER_OF_MASTERS
- value: "3"
- - name: HTTP_ENABLE
- value: "false"
- - name: DISCOVERY_SERVICE
- value: "elasticsearch-master-discovery"
- - name: DISCOVERY_TIMEOUT
- value: "20s"
- - name: ES_JAVA_OPTS
- value: -Xms256m -Xmx256m
- ports:
- - containerPort: 9300
- name: transport
-# Need better readiness check policy than checking if port 9300 is active
- livenessProbe:
- tcpSocket:
- port: transport
- initialDelaySeconds: 20
- periodSeconds: 10
- failureThreshold: 5
- volumeMounts:
- - name: storage
- mountPath: /data
- volumes:
- - emptyDir:
- medium: ""
- name: "storage"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/kibana-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/kibana-svc.yaml b/kubernetes/kibana-svc.yaml
deleted file mode 100644
index e60e262..0000000
--- a/kubernetes/kibana-svc.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
- name: kibana
- labels:
- component: kibana
-spec:
- selector:
- component: kibana
- ports:
- - name: http
- port: 80
- targetPort: http
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/kibana.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/kibana.yaml b/kubernetes/kibana.yaml
deleted file mode 100644
index 7d9366d..0000000
--- a/kubernetes/kibana.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-apiVersion: apps/v1beta1
-kind: Deployment
-metadata:
- name: kibana
- labels:
- component: kibana
-spec:
- replicas: 1
- selector:
- matchLabels:
- component: kibana
- template:
- metadata:
- labels:
- component: kibana
- spec:
- containers:
- - name: kibana
- image: docker.elastic.co/kibana/kibana:5.6.3
- env:
- - name: CLUSTER_NAME
- value: SensSoft
- - name: SERVER_BASEPATH
- value: /api/v1/proxy/namespaces/default/services/kibana
- resources:
- limits:
- cpu: 1000m
- requests:
- cpu: 100m
- ports:
- - containerPort: 5601
- name: http
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/kibana/kibana-svc.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/kibana/kibana-svc.yaml b/kubernetes/kibana/kibana-svc.yaml
new file mode 100644
index 0000000..e60e262
--- /dev/null
+++ b/kubernetes/kibana/kibana-svc.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: kibana
+ labels:
+ component: kibana
+spec:
+ selector:
+ component: kibana
+ ports:
+ - name: http
+ port: 80
+ targetPort: http
http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/6e27db52/kubernetes/kibana/kibana.yaml
----------------------------------------------------------------------
diff --git a/kubernetes/kibana/kibana.yaml b/kubernetes/kibana/kibana.yaml
new file mode 100644
index 0000000..7d9366d
--- /dev/null
+++ b/kubernetes/kibana/kibana.yaml
@@ -0,0 +1,32 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: kibana
+ labels:
+ component: kibana
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ component: kibana
+ template:
+ metadata:
+ labels:
+ component: kibana
+ spec:
+ containers:
+ - name: kibana
+ image: docker.elastic.co/kibana/kibana:5.6.3
+ env:
+ - name: CLUSTER_NAME
+ value: SensSoft
+ - name: SERVER_BASEPATH
+ value: /api/v1/proxy/namespaces/default/services/kibana
+ resources:
+ limits:
+ cpu: 1000m
+ requests:
+ cpu: 100m
+ ports:
+ - containerPort: 5601
+ name: http