rancher / rke

Rancher Kubernetes Engine (RKE), an extremely simple, lightning fast Kubernetes distribution that runs entirely within containers.
Apache License 2.0
3.22k stars 582 forks source link

[forwardport] Ability to set base directory for private registry #1775

Closed alena1108 closed 4 years ago

alena1108 commented 4 years ago

Forwardport https://github.com/rancher/rke/issues/1232

deniseschannon commented 4 years ago

Available with RKE CLI v1.1.0-rc1

soumyalj commented 4 years ago

Tested with master-head branch

  1. Create a private registry and load images(master-head) required for rke cluster creation
  2. Create a custom cluster through UI and in the cluster.yml file provide the private registry info with the base directory as below
    
    private_registries:
    - url: registry.com/qa/test
      user: Username
      password: password

Cluster creation was successful. Workloads got created fine. The Cluster API had the private registry field set