christianlempa-boilerplates/kubernetes/templates/cm-and-secrets/nginx-https-svc.yml
2022-05-19 15:06:21 +02:00

19 lines
300 B
YAML

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