kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch09/todo-list/proxy/nginx-service.yaml

13 lines
190 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: todo-proxy
labels:
kiamol: ch09
spec:
ports:
- port: 8091
targetPort: 80
selector:
app: todo-proxy
type: LoadBalancer