kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch09/lab/solution/vweb-service-v2.yaml

14 lines
200 B
YAML

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