2017-07-17 13:46:05 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2017-08-16 10:44:08 +02:00
|
|
|
name: ngx-instance-0
|
2017-07-17 13:46:05 +02:00
|
|
|
namespace: default
|
|
|
|
labels:
|
2017-08-16 10:44:08 +02:00
|
|
|
name: ngx-instance-0
|
2017-07-17 13:46:05 +02:00
|
|
|
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:
|
2017-08-16 10:44:08 +02:00
|
|
|
app: ngx-instance-0-dep
|
2017-07-17 13:46:05 +02:00
|
|
|
ports:
|
2018-02-22 11:52:41 +01:00
|
|
|
- port: 443
|
|
|
|
targetPort: 443
|
2018-03-20 19:34:01 +01:00
|
|
|
name: public-secure-node-port
|
2017-07-17 13:46:05 +02:00
|
|
|
protocol: TCP
|
2018-02-22 11:52:41 +01:00
|
|
|
- port: 27017
|
|
|
|
targetPort: 27017
|
2017-07-17 13:46:05 +02:00
|
|
|
name: public-mdb-port
|
|
|
|
protocol: TCP
|
2018-02-22 11:52:41 +01:00
|
|
|
- port: 9986
|
|
|
|
targetPort: 9986
|
2018-02-01 13:01:41 +01:00
|
|
|
name: tm-pub-key-access
|
|
|
|
protocol: TCP
|
2018-07-10 14:16:02 +02:00
|
|
|
- port: 26656
|
|
|
|
targetPort: 26656
|
2018-02-01 13:01:41 +01:00
|
|
|
protocol: TCP
|
|
|
|
name: tm-p2p-port
|
2017-07-17 13:46:05 +02:00
|
|
|
- port: 80
|
|
|
|
targetPort: 80
|
2018-03-20 19:34:01 +01:00
|
|
|
name: public-insecure-node-port
|
2017-07-17 13:46:05 +02:00
|
|
|
protocol: TCP
|
|
|
|
type: LoadBalancer
|