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 name: elasticsearch-logging
ports: ports:
- containerPort: 9200 - containerPort: 9200
name: es-port name: db
protocol: TCP protocol: TCP
- containerPort: 9300 - containerPort: 9300
name: es-transport-port name: transport
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- name: es-persistent-storage - name: es-persistent-storage

View File

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

View File

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

View File

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

View File

@ -24,10 +24,10 @@ spec:
name: elasticsearch-logging name: elasticsearch-logging
ports: ports:
- containerPort: 9200 - containerPort: 9200
name: es-port name: db
protocol: TCP protocol: TCP
- containerPort: 9300 - containerPort: 9300
name: es-transport-port name: transport
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- name: es-persistent-storage - name: es-persistent-storage

View File

@ -49,12 +49,12 @@
"image": "gcr.io/google_containers/elasticsearch:1.0", "image": "gcr.io/google_containers/elasticsearch:1.0",
"ports": [ "ports": [
{ {
"name": "es-port", "name": "db",
"containerPort": 9200, "containerPort": 9200,
"protocol": "TCP" "protocol": "TCP"
}, },
{ {
"name": "es-transport-port", "name": "transport",
"containerPort": 9300, "containerPort": 9300,
"protocol": "TCP" "protocol": "TCP"
} }