展開しているPrivateRegistryの内容で書き換える
1 |
vim /var/snap/microk8s/current/args/containerd-template.toml |
1 2 |
[plugins.cri.registry.mirrors."local.insecure-registry.io"] endpoint = ["http://127.0.0.1:30500"] |
再起動
1 |
sudo snap restart microk8s |
Pullしてくるサーバをlocal.insecure-registry.io
に置き換える
nginx-deployment.ymal
1 2 3 |
containers: - image: local.insecure-registry.io/test/nginx name: nginx |