More changes to multi-node deployment guide

- Integrating changes suggested by Krish.
- Addressing comments on initial commit.
This commit is contained in:
Muawia Khan
2017-08-16 10:44:08 +02:00
parent 0cf46b331f
commit e446c31a41
10 changed files with 227 additions and 122 deletions

View File

@@ -1,17 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: ngx-https-instance-0
name: ngx-instance-0
namespace: default
labels:
name: ngx-https-instance-0
name: ngx-instance-0
annotations:
# NOTE: the following annotation is a beta feature and
# only available in GCE/GKE and Azure as of now
service.beta.kubernetes.io/external-traffic: OnlyLocal
spec:
selector:
app: ngx-https-instance-0-dep
app: ngx-instance-0-dep
ports:
- port: "<cluster-frontend-port from ConfigMap>"
targetPort: "<cluster-frontend-port from ConfigMap>"