How to configure kubernetes (microk8s) to use local docker images? How to configure kubernetes (microk8s) to use local docker images? kubernetes kubernetes

How to configure kubernetes (microk8s) to use local docker images?


Found docs on how to use private registry: https://microk8s.io/docs/working

First it needs to be enabled:

microk8s.enable registry

Then images pushed to registry:

docker tag backend localhost:32000/backenddocker push localhost:32000/backend

And then in above config image: backend needs to be replaced with image: localhost:32000/backend