#Deploying TwentyCRM on AKS with Kubernetes Manifests

1 messages · Page 1 of 1 (latest)

plain sundial
#

Hello,

I am trying to deploy TwentyCRM on AKS using Kubernetes manifests but have encountered several issues along the way. I followed the instructions provided in the official repository (https://github.com/twentyhq/twenty/tree/main/packages/twenty-docker/k8s) but still haven't managed to get the CRM running successfully.

Here are some of the adjustments I had to make:

Change the path to /k8s/manifests instead of /k8s as mentioned in the documentation.
Remove volumeName from all PVC definitions to avoid errors.
Modify all deployments to set env.value for name: PORT from an integer to a string.
Handle permissions for PostgreSQL by adding an initContainer in deployment-server.yaml to manage permissions on mounted volumes.
Other minor fixes in configurations to align with my AKS environment.

At this point, I have all the resources deployed and running, but the front-end still shows an error:

Unable to Reach Back-end: Response not successful: Received status code 404.

Has anyone managed to deploy TwentyCRM smoothly to AKS and get it running end-to-end? If so, could you share any insights or additional steps that helped and resolved similar issues?

Thanks in advance!

GitHub

Building a modern alternative to Salesforce, powered by the community. - twentyhq/twenty

wild sonnet
plain sundial
wild sonnet
plain sundial
olive tapir
#

Hi @plain sundial, sorry not bringing a direct solution to your issues, but just curious about the reason behind choosing k8s? Do you have any current needs for large scale running of twentyCRM? or are you just trying it out?

plain sundial
olive tapir
# plain sundial Using it for company to manage internal processes.

Thanks for your answer, I just saw in the general channel that you actually managed to deploy in on AKS as you were initially planning, that's great!!

In case you don't have direct need for k8s and just want to deploy other instances of twentyCRM (or any other app) on a VPS, you could give a try to deploy it with DollarDeploy? We're trying to get user feedback and see if that helps the open-source communities to deploy faster and in a more cost-effective way their instances of open-source apps.

plain sundial
quartz stone
#

@plain sundial I have a discussion on github about potentially creating a HELM chart because the manifests provided leave a lot to be desired. I had to significantly alter them, provide separate secrets, and a separate approach for config maps. I've got it working in EKS (AWS) and GKS (Google) currently, but really need to solidify some things before starting a helm chart

plain sundial
#

@quartz stone just to keep you in loop we managed to modify all manifests to have clean install on azure aks. My intention is to post them all in here for everyone. It would be awesome if you could engage me and my coworker as contributors on helm chart

quartz stone
#

I'll take a look at them. Need to see what considerations were made for cloud integrations and whether they were done at the NGINX ingress or the native ingress. Most people I've worked with prefer not using the NGINX ingress controller because it's another dependency, and all major cloud providers already have integrations available via annotation for the native network ingress controller. Major being the case. Digital ocean's is a lot different, but AWS, Azure, GKS all have native annotation support for DNS, Load Balancer setup, and SSL termination

#

But I'd like the helm chart to offer the user the option to use either or. It just needs to handle the helm provisioning of the NGINX controllers