kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch06/whoami/whoami-service.yaml

13 lines
190 B
YAML

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