Commit 49d5a0e2 authored by Satnam Singh's avatar Satnam Singh

Fix error in Fluenetd->ES colo service

parent 5ef34bf5
......@@ -9,14 +9,14 @@ down: logger-down es-kibana-down
es-kibana-up:
-${KUBECTL} create -f es-kibana-pod.yml
-${KUBECTL} create -f es-service.yml
-${KUBECTL} create -f es-kibana-pod.yml
-${KUBECTL} create -f kibana-service.yml
es-kibana-down:
-${KUBECTL} delete pods elasticsearch-kibana-pod
-${KUBECTL} delete service kibana-colo
-${KUBECTL} delete service elasticsearch-colo
-${KUBECTL} delete service elasticsearch
update:
-${KUBECTL} delete pods elasticsearch-kibana-pod
......@@ -33,7 +33,7 @@ get:
${KUBECTL} get services
net:
gcutil getforwardingrule elasticsearch-colo
gcutil getforwardingrule elasticsearch
gcutil getforwardingrule kibana-colo
firewall:
......
......@@ -16,14 +16,14 @@ desiredState:
volumeMounts:
- name: es-persistent-storage
mountPath: /data
volumes:
- name: es-persistent-storage
source:
emptyDir: {}
- name: kibana-image
image: kubernetes/kibana
ports:
- name: kibana-port
containerPort: 80
volumes:
- name: es-persistent-storage
source:
emptyDir: {}
labels:
app: elasticsearch-kibana
apiVersion: v1beta1
kind: Service
id: elasticsearch-colo
id: elasticsearch
containerPort: es-port
port: 9200
selector:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment