Before start, you need to build the docker image, or you can use the official image by odoo's, in my example i have my private build for a secure perspective
docker build -t odoo13 .add a tag
docker tag odoo13 dockerhub_username/odoo13push the image to your dockerhub account
docker push dockerhub_username/odoo13then you are ready to deploy the odoo to your kubernetes
kubectl apply -f k8s-odoo.yamlPGSQL PASSWORD: password1!
ODOO Master PASSWORD: password1!
Deploy odoo with ConfigMaps for odoo configuration file, and Secrets for Variables
kubectl appky -f k8s-odoo_with-CM_Secrets.yamlPGSQL PASSWORD: echo cGFzc3dvcmQxIQ== | base64 -d
ODOO Master PASSWORD: echo cGFzc3dvcmQxIQ== | base64 -d
P.S. This example is used for DEV environment, is not tested in production