kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch07/lab/solution/web-version-service.yaml

14 lines
213 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: pi-web-version
labels:
kiamol: ch07-lab
spec:
ports:
- port: 8071
targetPort: 8080
name: http
selector:
app: pi-web
type: LoadBalancer