christianlempa-boilerplates/kubernetes/templates/cm-and-secrets/nginx-http-svc.yml
2021-11-12 15:38:36 +01:00

15 lines
227 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginx-http-svc
labels:
app: nginx-http
spec:
type: LoadBalancer
ports:
- port: 30080
targetPort: 80
protocol: TCP
name: http
selector:
app: nginx-http