Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

314-consulting/micro-cloud-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Micro Cloud Odoo

Microk8s Odoo: Edge Computing Odoo

Kubernetes Odoo



Microk8s Odoo

Table of Contents

About

All about Microk8s and Odoo.

Odoo Community is Open Source such as Microk8s.

We work with any Linux Distribution or other OS that support Microk8s as snap package or in other way.

We use cutting-edge technologies in Cloud Native Environment like Microk8s ( Kubernetes ).

We are focus on develop new way to manage and deploy Odoo environments in Public/Private Cloud.

Roadmap

Project Priorites:

  1. Incubate
  2. Accelerate
  3. Financial Support
  4. Expand Communtiy
  5. Be Singular in Odoo ecosystem

Contributing

Freedom to contribute.

Sponsor

Be free to become a sponsor.

Open Collective

Authors

  • @JuanDCG - Original Idea & Initial Work

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

Instructions

Running Odoo on MicroK8s

Install MicroK8s

sudo snap install microk8s --classic --channel=1.22/stable

Enable Plugins

sudo microk8s.enable rbac storage dashboard registry:size=20Gi dns ingress fluentd ha-cluster metrics-server portainer helm3

sudo microk8s.kubectl get all

sudo microk8s.status

Kubernetes Dashboard

token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)

sudo microk8s kubectl -n kube-system describe secret $token

sudo microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443

Fluentd

sudo microk8s.kubectl port-forward -n kube-system service/kibana-logging 8181:5601

127.0.0.1:5601

Portanier

127.0.0.1:30777

Restart MicroK8s

sudo microk8s.stop

sudo microk8s.start

sudo microk8s.status

Disable on start up

sudo microk8s.disable

Push images to private registry

sudo docker build . -t localhost:32000/example:registry

sudo docker push localhost:32000/example

Odoo Bitnami Helm3

Info to customize

sudo microk8s helm3 repo add bitnami https://charts.bitnami.com/bitnami

sudo microk8s helm3 install release-odoo bitnami/odoo

Password

password=$(microk8s kubectl get secret --namespace "default" release-odoo -o jsonpath="{.data.odoo-password}" | base64 --decode)

cat $password

LoadBalancer IP: service/release-odoo

sudo microk8s.kubectl get all

Endpoint IP:port

sudo microk8s kubectl describe svc/release-odoo