By: Chris Davis user 11 Jun 2021 at 11:51 a.m. CDT

4 Responses
Chris Davis gravatar
# Unable to Install Gluu Server on GKE Following documentation on the gluu website, I am unable to install Gluu server et al through Kubernetes GKE instruction for both 4.2 and 4.3. I have tried with helm, cli installer, and gui installer. I am trying to install all the things to fully explore Gluu Server, Casa, and everything else that is configurable to deploy. ## Deployment I am able to deploy and onto GKE, however, Jackrabbit or Casa will fail to the point of CrashLoopBackoff. ## Installation I see that there are follow up instructions to run `setup.py`. However, I am unable to tell where this should be ran from or have the instances of `setup.py` run successfully. ## Help Looking for updated documentation or a GKE specific setting.json file to run the installation off of. I am sure I am doing something super easy to fix, but I don't know where to start.

By Scott Businge staff 11 Jun 2021 at 2:10 p.m. CDT

Scott Businge gravatar
Hey Chris, installing Gluu on GKE should work without any issues. I ran an installation for 4.2 with Helm the other day following the docs and it worked well. https://gluu.org/docs/gluu-server/4.2/installation-guide/install-kubernetes/ Things to take note of; - Resources of the cluster. - If jackrabbit is failing, check that PVC and PV are bound (choose dynamic provisioning). - Crosscheck the image tags. - GKE helm notes section.

By Mohammad Abudayyeh staff 11 Jun 2021 at 2:11 p.m. CDT

Mohammad Abudayyeh gravatar
4.3 is not out yet. There is no setup.py in the Kubernetes setup. The docs are here : https://gluu.org/docs/gluu-server/4.2/installation-guide/install-kubernetes/ you need to use the latest pygluu installer for 4.2 which is in the asset section of the link below: https://github.com/GluuFederation/cloud-native-edition/releases/tag/v1.5.5 Follow the doc for GKE and you shouldn't run into any issues. It will be as simple as download the .pyz file for linux and run it with `./pygluu-kubernetes.pyz helm-install` We require a support contract to support kubernetes installations, so we apologize as we need to close this ticket. Please contact our sales team to engage support. Thanks , Mohammad

By Chris Davis user 11 Jun 2021 at 5:59 p.m. CDT

Chris Davis gravatar
Thanks for the quick responses and reassurances that I am on the right track. I think there are some assumptions made in the process that I am not following. For example, jackrabbit is failing due to Postgres: ``` Postgres is not ready; reason=could not translate host name "postgres.postgres.svc.cluster.local" to address: Name does not resolve ; retrying in 10.0 seconds ``` I assumed the installation would handle this and I thought I answered the question appropriately to have it do this: ``` "POSTGRES_NAMESPACE": "postgres", "POSTGRES_URL": "postgres.postgres.svc.cluster.local", "INSTALL_POSTGRES": "Y", ``` What could be happening here?

By Mohammad Abudayyeh staff 12 Jun 2021 at 5:25 a.m. CDT

Mohammad Abudayyeh gravatar
The postgres address is probably incorrect. the default postgres chart installs with the address below. ``` POSTGRES_URL": "postgresql.postgres.svc.cluster.local" ``` however thats not a production setup. its simply for demoing. You also dont need to install jackrabbit in cluster mode if you are testing which will not require postgres. Again we cannot support your setup without any supoort agreement .