christianlempa-boilerplates/kubectl/templates/cm-and-secrets/nginx-http-svc.yml
2022-03-11 14:56:55 +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