bigchaindb/k8s/3scale-apicast/apicast-svc.yaml
Shahbaz Nazir 9fa4be5503 Added update config before starting nginx
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-02-21 16:43:28 +01:00

26 lines
615 B
YAML

apiVersion: v1
kind: Service
metadata:
name: openresty-instance-1
namespace: default
labels:
name: openresty-instance-1
annotations:
# NOTE: the following annotation is a beta feature and
# only available in GCE/GKE and Azure as of now
# Ref: https://kubernetes.io/docs/tutorials/services/source-ip/
service.beta.kubernetes.io/external-traffic: OnlyLocal
spec:
selector:
app: openresty-instance-1-dep
ports:
- port: 8080
targetPort: 8080
name: apicast-svc
- port: 8090
targetPort: 8090
name: apicast-mgmt
protocol: TCP
type: ClusterIP
clusterIP: None