Files
cicdTest/hello/templates/service-expose.yaml
2020-02-18 18:37:40 +01:00

14 lines
222 B
YAML

kind: Service
apiVersion: v1
metadata:
name: expose-server
spec:
type: NodePort
selector:
expose: "true"
ports:
- name: http
protocol: TCP
targetPort: 5000
port: 5000
nodePort: 30036