kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch08/lab/nginx/nginx-service.yaml

13 lines
184 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginx
labels:
kiamol: ch08-lab
spec:
type: LoadBalancer
ports:
- port: 8088
targetPort: 80
selector:
app: nginx