Skip to content

qdrddr/WrenAi-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WrenAi-k8s

Deployment of WrenAi app in your K8s using ArgoCD

The main ArgoCD app wrenai.app.yaml located here

The main kustomization folder located here.

You will need to modify the Secret, Ingress and Certificate manifests in the examples folder. And also the ConfigMap kustomization patch file in the patches folder.

Modify the example of the secrets manifest first before applying the main kustomization. Do not include Secter manifest into your ArgoCD repo. Best practice is not to store your password in your git repo!

vi infra-deployments/wrenai/kustomizations/examples/secret-wren_example.yaml
kubectl apply -f infra-deployments/wrenai/kustomizations/examples/secret-wren_example.yaml

Check the resulting manifests inflated by kustomization tool before you apply them to yuor k8s cluster:

kubectl kustomize infra-deployments/wrenai/kustomizations --enable-helm > infra-deployments/wrenai/kustomizations/wrenai.kustimized.yaml

What’s the difference with the official kustomization? You’ll feel the difference when you need to update your app. Next time you need to upgrade your WrenAI, just change the ref= in main resource https://github.com/Canner/WrenAI.git/deployment/kustomizations?ref=0.4.0 to a newer version in the kustomization.yaml file. And voila!

ArgoCD

kustomization enable-helm flag is used to deploy helm. Example of helm-values file for ArgoCD to enable helm for kustomization.

About

Deployment of WrenAi app in your K8s using ArgoCD

Resources

Stars

Watchers

Forks

Packages

No packages published