Files
todo-deploy/k8s/frontend/service.yaml

15 lines
221 B
YAML

apiVersion: v1
kind: Service
metadata:
name: todo-frontend
namespace: todo-test
spec:
type: NodePort
selector:
app: todo-frontend
ports:
- port: 80
targetPort: 80
protocol: TCP
nodePort: 30080