Closed spitfire88 closed 4 years ago
You have to use an ingress (https://kubernetes.io/docs/concepts/services-networking/ingress/)
I tried the following for each of the services: kubectl apply acmeair-mainservice/manifests-no-mc/deploy-acmeair-mainservice-java.yaml kubectl apply acmeair-mainservice/manifests-no-mc/acmeair-mainservice-ingress.yaml
kubectl get ingress will not give me an external IP. I see this error when I describe the ingress.
error while evaluating the ingress spec: service "default/acmeair-main-service" is type "ClusterIP", expected "NodePort" or "LoadBalancer"
I am running these intructions in GCP. I will change it to NodePort and try again.
I don't have experience with GCP, but for this app you do want a proxy out in front (nginx, haproxy, istio,etc). Did you ever get it working? I don't think you want to use nodeport. For istio, haproxy, you may need to change the context-root (see the istio Dockerfile).
I get pop up errors for each of these endpoints.
Every service has its own endpoint that is different from the EXTERNAL-IP and reachable from within the cluster. How do I make sure the requests are routed to the corresponding service endpoint?