Change port names to avoid validation failure

This commit is contained in:
Satnam Singh
2015-06-27 14:00:31 -07:00
parent 102a8a1e36
commit 4e58e001da
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