kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch08/todo-list/web/todo-web-service.yaml

13 lines
186 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: todo-web
labels:
kiamol: ch08
spec:
ports:
- port: 8081
targetPort: 80
selector:
app: todo-web
type: LoadBalancer