kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch07/numbers/web-service.yaml

13 lines
192 B
YAML

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