Skip to content
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

Ingresses don't work out of the box for on-prem Kubernetes deployment. #563

Closed
paeblits opened this issue Jan 14, 2021 · 4 comments
Closed

Comments

@paeblits
Copy link

paeblits commented Jan 14, 2021

I've been trying to deploy the Activiti full example to an on-premise Kubernetes cluster and have found that the Ingresses don't work as expected. I've only seen support for GKE and EKS in the docs, so I wonder if I can get help on this.

I followed instructions in the docs and used Helm with the custom gateway value. After installationI am not able to view any of the services at the URL's that the Helm installation outputs, such as http://gateway-activiti./modeling. All pods and services are up, and if I change the service to type NodePort it does work. From what I can tell so far the Ingresses seem to be conflicting with each other because if I modify the URL in the modeling Ingress to something different then it does seem to work.

Any help here is appreciated.

@unibravoc
Copy link

I have same problem.

@mteodori
Copy link
Contributor

you probably haven't installed an ingress implementation on your cluster so no Ingress resource can work

you can try with the Docker Desktop setup and see if you can reproduce your issue: https://github.com/Activiti/activiti-cloud-full-chart#running-on-docker-desktop

@paeblits
Copy link
Author

We finally diagnosed the problem to be that multiple Ingress objects have the same host rule and were conflicting with each other. Problem is described in more detail here: nginxinc/kubernetes-ingress#76

Solution described in more detail here: https://github.com/nginxinc/kubernetes-ingress/tree/master/examples/mergeable-ingress-types

We remedied this by creating a new "master" Ingress with annotation nginx.org/mergeable-ingress-type: master. Then in each Ingress with the same host rule we added the annotation of nginx.org/mergeable-ingress-type: minion.

I'd like to update the documentation to account for this for on-prem deployments.

@mteodori
Copy link
Contributor

no thanks, this is specific to that ingress implementation so definitely out of scope as it would affect any app running on kubernetes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants