kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch05/pi/v1/nginx-service.yaml

13 lines
187 B
YAML
Raw Normal View History

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