-
Notifications
You must be signed in to change notification settings - Fork 216
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
Has anyone deployed this on Kubernetes running on AWS? #79
Comments
@raviada FYI, currently there is an effort being carried out on improving and fine tuning the Kubernetes resources for WSO2 Enterprise Integrator which includes focus on deploying the Kubernetes resources in different environments (including AWS). The same effort is expected to be repeated for Kubernetes resources for WSO2 API Manager, as well. |
Thanks Chiranga for quick response. I used this repo to create kube resources on kube running on AWS, everything was working as expected. All containers started and running. The only problem is not being able to access the store/publisher urls from AWS loadbalancer created by ingress controller. If I can figure this out, I might save all the work I did for the last few days.. |
Hi Amreesh, If that is what you are facing, the issue you referred in your message, I did not come across it exactly like what you were facing, but I had several issues with EFS mounts on AWS. If you are having trouble with EFS and PVs, I used https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs in my setup to solve problems around NFS mounts. |
Hi Raviada, Have you created any ingress resource for APIM as in https://github.com/wso2/kubernetes-apim/blob/master/pattern-1/artifacts/ingresses/wso2apim-ingress.yaml? I can see that you have used wso2apim service as NodePort. In that case, you can access the server as below. https://Any_K8s_Node_IP:31389/store. Thank you! |
Thanks for the reply, but all the nodes have internal IPs and cannot be accessed. Don't we access them thru ELB?
|
@raviada Shall we try to troubleshoot the problem you are having as follows:
If you can try out above and let us know the results we should be able to identify the root cause. Thanks! |
Imesh, I did all that, I think way passed that stage. I am having trouble accessing the store/publisher urls because but still I can't access the webapps. here is the output of api amanger log
kubectl get services -n wso2
kubectl get ingress -n wso2
|
Hi Raviada, You need to have an external IP if you use NodePort. Based on your comments, your lb backend is working fine. Did you try the following?
Thank you! |
Hi there, I just deployed WSO2 API Manager using pattern-1 to a Kubernetes environment running in an AWS VPC. I use Amazon EFS via NFS for the persistent volume and disabled compression in catalina-server.xml files. I also added the Ingress address to my /etc/hosts file and can now access publisher and store using https://wso2apim/publisher resp. https://wso2apim/store However - doing a sign-in / log-in to either publisher or store does not last a second request. I other words:
I'll assume, that the session information get's lost somewhere in the AWS ELB/K8S Ingress/WSO2 Reverse Proxy communication, but don't know where. Any feedback on this is appreciated. Kind regards Christoph |
I can answer to my original question: The following addition is required to wso2apim-ingress.yaml (last three lines, the last one adds some security):
Kind regards Christoph |
@raviada please refer to #432 (comment) regarding the test results of API Manager latest version |
Closing this issue as per #79 (comment). @raviada please feel free to re-open this issue or create new issues if you have any further thoughts, suggestions and concerns. |
Description:
I am wondering if anyone successfully implemented this on Kubernetes running on AWS EC2? I got everything deployed, including nginx ingress. Everything seems to be working, it even created Classic Load Balancer on AWS with two listeners 80/443, and a security group that accepts all inbound traffic. I am not able to get store or publisher sites working. It is always going to default backend.
kubectl get pods --namespace wso2
kubectl get services --namespace wso2
kubectl get pods --namespace ingress-nginx
kubectl get services --namespace ingress-nginx
The text was updated successfully, but these errors were encountered: