Deployment via Kubernetes on AWS EKS
Hello,
I'm not the most knowledgeable when it comes to Kubernetes. Here's what I did:
1. Created cluster on EKS
2. Downloaded the kubeconfig
3. Switched to the context that points towards my cluster I just created on EKS
4. git clone <novu-repo>
5. cd
docker/kubernetes/helm
6. Tried to install the Chart.yaml file:
Was a bit confused to see this error, my experience is too low to really judge this. 7.helm install novu-test .
Error: INSTALLATION FAILED: An error occurred while checking for chart dependencies. You may need to runhelm dependency build
to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: redis, mongodb, common, localstack
rm Chat.yaml
8. helm dependency build
-> ok
9. Retried installation:
helm install novu-test .
Error: INSTALLATION FAILED: template: novu/templates/web/deployment.yaml:96:38: executing "novu/templates/web/deployment.yaml" at <.Values.web.env.NODE_ENV>: nil pointer evaluating interface {}.NODE_ENV
10. Inspct values.yaml
-> has no web.env.NODE_ENV -> error makes sense
So what do I do now? Why is the env var missing?
Edit: I also tried to check out a specific verison: git checkout v0.19.0
but still, same issue.4 Replies
Hi @balance ππ»
Novu does not support Kubernetes deployment for the community self-host MIT licensed version.
The current Kustomize-based configuration was added by someone from the community.
I will request you to reach out to our sales team at [email protected] if you are looking for production-grade Kubernetes-compatible self-hosting version support.
We will be happy to help you π
Hi @Pascal did you managed to deploy novu via k8s?
@Pascal IT is a know issue on kubernetes as the web container is set up to build the project on startup and when you do not run as root the system can not touch the file system to build the front end.
We do have this issue list on our self-hosting help guide, https://docs.novu.co/self-hosting-novu/kubernetes
However the error your getting is saying that your config for your web deployment does not have NODE_ENV listed.
https://github.com/novuhq/novu/blob/next/docker/kubernetes/helm/templates/web/deployment.yaml#L94
Unfortunately, I can only give limited help on this as this is community supported.
@Zac Clifton thanks for this info.