株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

展開しているPrivateRegistryの内容で書き換える

vim /var/snap/microk8s/current/args/containerd-template.toml
        [plugins.cri.registry.mirrors."local.insecure-registry.io"]
          endpoint = ["http://127.0.0.1:30500"]

再起動

sudo snap restart microk8s

Pullしてくるサーバをlocal.insecure-registry.ioに置き換える

nginx-deployment.ymal
      containers:
      - image: local.insecure-registry.io/test/nginx
        name: nginx

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)