Skip to content

freyes/mirroring-magnum-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mirroring images

Deploying a docker registry with juju

juju deploy --series jammy ch:docker-registry

Usage

  1. Upload images to the registry available in your network, if no registry is passed in the command line the script looks for a juju application deployed with the name 'docker-registry', if it's not available then localhost is used (starting a new registry if needed).

Usage:

cat images-magnum-ussuri.txt | ./mirror-images.sh <REGISTRY_IP>
  1. Create a cluster template indicating the container_infra_prefix label and setting the insecure_registry property to the right value, for example (replace <REGISTRY_IP> with the right value to your environment).
openstack coe cluster template create k8s-cluster-template --image fedora-coreos-32 \
    --keypair testkey --external-network ext_net --dns-nameserver 10.245.160.2 \
    --flavor m1.small  --network-driver flannel  --coe kubernetes \
    --tls-disabled \
    --labels container_infra_prefix=<REGISTRY_IP>:5000/
openstack coe cluster template update k8s-cluster-template replace insecure_registry=<REGISTRY_IP>:5000

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages