-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Application Load Balance #1663
Comments
I'm not sure I'm reading the right docs but, I suppose you are using the epinio's values to set an annotation:
You say you deploy Epinio with traefik or nginx but afaict, the alb load balancer is supposed to be the Ingress controller. Is the alb load balancer installed and running on your cluster? Can you try to deploy Epinio without Traefik or nginx and let |
@jimmykarily Epinio needs to be deployed as a nodePort in order for the ingress to be exposed using the aws load balancer controller. We modified the service helm chart but Epinio is stuck on a loop after changing it to NodePort. Do you know if Epinio supports node port deployment? Epinio-server logs shows me the errors below: |
I don't fully understand your setup but let's start with what I know. The error message you posted indicates that a request landed on the epinio API server for this path: In the default Epinio setup (with the Ingress and the load balanced traefik service), the The epinio-ui backend is the one making requests against the Epinio API server and it never asks the To be able to help you I need to understand a bit more about your setup and what you are trying to achieve. Here are some of my questions:
|
Hello @jimmykarily
So after some hard working I was able to deploy Epinio on EKS with AWS Application LB + WAF just by editing some manifest files from epinio helm chart and using AWS-Loadbalancer-Controller as ingress controller:
After this configuration my Epinio get UP and Running on EKS: But there are some problems: |
Thanks for the detailed information @riqueps! The documentation link you shared also mentions "LoadBalancer":
but the examples they provide use NodePort so I can't tell if LoadBalancer would work. In any case, since you can access the dashboard, it seems that your load balancer implements the Ingress just fine. So the 2 issues you have:
Another issue, I see in your last screenshot: "failed to get replica details". This will go away if you install a metric server. |
My mistake, docs are fine. |
@jimmykarily, thanks for the information.
There is another issue related to custom app chart:
|
@riqueps happy to hear you are getting the issues resolved.
I don't see how this could happen. I mean, Epinio eventually does a |
@jimmykarily As a improvement, I think it would be nice if the Ingress pathtype and Service type were mapped to values.yaml. Also, ingress rules orders, I think would be a good idea put the epinio-ui at the last position, to avoid epinio-server access issues. During the process of pushing an app, is there a way to pass some values, using values.yaml? |
@riqueps glad to hear everything was sorted out. On you recommendations/questions:
|
Also, I'm just ran into another problem.
|
Not having a certificate in
(I got that by removing the certs from my settings file). Try to fix the certificate problem with
and then check logs of the epinio-server pod for anything relevant. We should send back a more descriptive error but let's find out which error we are hiding first. |
There seem to be 2 different issues here:
Maybe the have the same cause so let's stick to this issue until we clarify. Regarding the rancher/rancher#27871 (linking to something like a fix) Maybe it SPDY protocol is not supported by ALB? (it's used under the hood for
Can you try to |
@jimmykarily |
@jimmykarily thanks for help me to overcome this issues. |
to avoid unexpected implementations. Also move the "catch all" rule at the end because in some cases it seems to matter (See: epinio/epinio#1663 (comment))
Fixing the ingress pathType here: #1685 |
to avoid unexpected implementations. Also move the "catch all" rule at the end because in some cases it seems to matter (See: epinio/epinio#1663 (comment))
Hello there.
I'm deploying Epinio on AWS EKS.
But I need to use AWS WAF for Epinio and Apps endpoints for security reasons.
But when I deploy Epinio on EKS using traefik or nginx, it is just able to create Classic ELB, even when I add aws-loadbalancer annotations.
The text was updated successfully, but these errors were encountered: