kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch06/lab/numbers/web-service.yaml

13 lines
196 B
YAML

apiVersion: v1
kind: Service
metadata:
name: numbers-web
labels:
kiamol: ch06-lab
spec:
ports:
- port: 8086
targetPort: 80
selector:
app: numbers-web
type: LoadBalancer