Hardcode static ports for k8s deployment (#2080)

Description
Currently we manually configure ports in deployment and service files for k8s deployment e.g here. Instead these ports should be constant since these are always the same for each deployment

Issues This PR Fixes
Fixes #2077
This commit is contained in:
Shahbaz Nazir
2018-02-22 11:52:41 +01:00
committed by GitHub
parent 1aece3c10d
commit a782fa4635
9 changed files with 35 additions and 35 deletions

View File

@@ -90,15 +90,15 @@ spec:
# HTTPS traffic.
- containerPort: 80
protocol: TCP
- containerPort: "<cluster-frontend-port from ConfigMap>"
- containerPort: 443
protocol: TCP
- containerPort: "<cluster-health-check-port from ConfigMap>"
- containerPort: 8888
protocol: TCP
name: ngx-port
- containerPort: "<tm-pub-key-access from ConfigMap>"
- containerPort: 9986
protocol: TCP
name: tm-pub-key
- containerPort: "<tm-p2p-port from ConfigMap>"
- containerPort: 46656
protocol: TCP
name: tm-p2p-port
livenessProbe: