cloudnet-compose/k8s-specifications/result-service.yaml
2018-10-09 21:51:59 +02:00

15 lines
213 B
YAML

apiVersion: v1
kind: Service
metadata:
name: result
namespace: vote
spec:
type: NodePort
ports:
- name: "result-service"
port: 5001
targetPort: 80
nodePort: 31001
selector:
app: result