
# ----- Nginx -----
apiVersion: v1
kind: Service

metadata:
  name: nginx-ingress
  labels:
    name: nginx-ingress

spec:
  selector:
    app: nginx-ingress

  type: ClusterIP

  ports:
  - name: http
    port: 80
    targetPort: 80
    protocol: TCP
  - name: https
    port: 443
    targetPort: 443
    protocol: TCP

  type: LoadBalancer

