Problem with Deployments in Kubernetes

0

I have a problem with some apps that run from Kubernetes. These, are released with heml of repos Kubeapps. Once the thrown process starts it stops because a Pod requires an external IP. I tried to create an ingress file with Nginx Ingress Controller, but in no way does it run. Thanks !!!

    
asked by TalionPulido 13.06.2018 в 12:05
source

1 answer

0

In the pod services you can add the external ip configuration

kind: Service
apiVersion: v1
metadata:
  name: nginx-service
spec:
  type: ClusterIP
  selector:
    app: nginx
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 80
  externalIPs: 
    - A.B.C.D
    
answered by 05.01.2019 в 03:07