kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch06/pi/proxy/nginx-service.yaml

13 lines
186 B
YAML

apiVersion: v1
kind: Service
metadata:
name: pi-proxy
labels:
kiamol: ch06
spec:
ports:
- port: 8080
targetPort: 80
selector:
app: pi-proxy
type: LoadBalancer