odoo-cloud icon indicating copy to clipboard operation
odoo-cloud copied to clipboard

new release - kustomize

Open PI-Victor opened this issue 4 years ago • 4 comments

Update odoo deployment to kustomize:

  • [ ] move old deployments to legacy
  • [ ] update docker image to latest odoo
  • [ ] move docker image to quay.io to avoid docker hub pull limit
  • [ ] add kustomize staging version
  • [ ] document setup.

PI-Victor avatar Dec 12 '20 00:12 PI-Victor

Any Guidance so that i can start work on it.

herawais avatar Jan 18 '21 14:01 herawais

heya @herawais, thanks for the interest! I can make a list, these days with action items.

You would need to be familiar with kubernetes, kustomize and minikube.

Alternatively, i can submit an initial PR and tag you there.

Let me know which way you want to go.

PI-Victor avatar Jan 20 '21 00:01 PI-Victor

@PI-Victor Thanks for your reply, Yeah i have worked on kubernetes and minikube. I will explore kustomize too. What i want to do is, make helm charts or yaml files for Odoo latest versions.

herawais avatar Jan 20 '21 05:01 herawais

That's perfect. That's also what this issue is for as well. Generally, this repo could do a do-over. I usually, try to stay away from helm, i'm not a big fan of templating yaml and i think kustomize is very helpful in avoiding that complexity. Here's roughly what needs to done.

  • [ ] update the custom Odoo docker image to point to the latest release and make it easy to update in the future (via some script)
  • [ ] add base directory where we have a bare bone statefulset, a service, PVCs and an Ingress
  • [ ] add kustomize directory for minikube only, this will help people install it easily
  • [ ] find out what paths need to persist data so that we can mount PVCs in them
  • [ ] add documentation for deploying this setup to minikube

i'll update this list in the upcoming days

PI-Victor avatar Jan 21 '21 10:01 PI-Victor