cloudnet-compose/k8s-specifications/vote-service.yaml
2018-03-05 12:57:48 +01:00

15 lines
192 B
YAML

apiVersion: v1
kind: Service
metadata:
name: vote
spec:
type: NodePort
ports:
- name: "vote-service"
port: 5000
targetPort: 80
nodePort: 31000
selector:
app: vote