Commit 4e58e001 authored by Satnam Singh's avatar Satnam Singh

Change port names to avoid validation failure

parent 102a8a1e
......@@ -24,10 +24,10 @@ spec:
name: elasticsearch-logging
ports:
- containerPort: 9200
name: es-port
name: db
protocol: TCP
- containerPort: 9300
name: es-transport-port
name: transport
protocol: TCP
volumeMounts:
- name: es-persistent-storage
......
......@@ -11,6 +11,6 @@ spec:
ports:
- port: 9200
protocol: TCP
targetPort: es-port
targetPort: db
selector:
k8s-app: elasticsearch-logging
......@@ -27,5 +27,5 @@ spec:
value: "http://elasticsearch-logging:9200"
ports:
- containerPort: 5601
name: kibana-port
name: ui
protocol: TCP
......@@ -12,6 +12,6 @@ spec:
ports:
- port: 5601
protocol: TCP
targetPort: kibana-port
targetPort: ui
selector:
k8s-app: kibana-logging
......@@ -24,10 +24,10 @@ spec:
name: elasticsearch-logging
ports:
- containerPort: 9200
name: es-port
name: db
protocol: TCP
- containerPort: 9300
name: es-transport-port
name: transport
protocol: TCP
volumeMounts:
- name: es-persistent-storage
......
......@@ -49,12 +49,12 @@
"image": "gcr.io/google_containers/elasticsearch:1.0",
"ports": [
{
"name": "es-port",
"name": "db",
"containerPort": 9200,
"protocol": "TCP"
},
{
"name": "es-transport-port",
"name": "transport",
"containerPort": 9300,
"protocol": "TCP"
}
......
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