Merge pull request #10453 from satnam6502/fix-es

Change port names to avoid validation failure
pull/6/head
Zach Loafman 2015-07-01 08:30:28 -07:00
commit 502103cdc6
6 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -11,6 +11,6 @@ spec:
ports:
- port: 9200
protocol: TCP
targetPort: es-port
targetPort: db
selector:
k8s-app: elasticsearch-logging

View File

@ -27,5 +27,5 @@ spec:
value: "http://elasticsearch-logging:9200"
ports:
- containerPort: 5601
name: kibana-port
name: ui
protocol: TCP

View File

@ -12,6 +12,6 @@ spec:
ports:
- port: 5601
protocol: TCP
targetPort: kibana-port
targetPort: ui
selector:
k8s-app: kibana-logging

View File

@ -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

View File

@ -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"
}