Files
example-voting-app/k8s-specifications/vote-service.yaml
Bret Fisher c76fbd6494 Remove namespace from k8s example (#275)
* remove namespace from k8s example

* add remove step
2022-12-16 22:12:11 -05:00

17 lines
216 B
YAML

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