letsEncryptKubernetes/ingress/07-nginx-ingress-loadbalancer.yaml

19 lines
308 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
type: LoadBalancer
ports:
- protocol: TCP
port: 80
targetPort: 80
name: http
- protocol: TCP
port: 443
targetPort: 443
name: https
selector:
app: nginx-ingress