kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch09/vweb-rolling-update/vweb-service.yaml

13 lines
180 B
YAML

apiVersion: v1
kind: Service
metadata:
name: vweb
labels:
kiamol: ch09
spec:
ports:
- port: 8090
targetPort: http
selector:
app: vweb
type: LoadBalancer