I am trying to setup a air-gaped rke2 cluster and want to use Artifactory as private registry. When i start service as “rke2 server”, it fail as it is constructing incorrect registry url.
For example:
tar files are at - > artifactory/v2/repo-name/rke2/linux.amd62.tar.gz
and when i run “rke2 server”, it construct URL as artifactory/v2/rke2/linux.amd62.tar.gz
Some environment details:
- VM - RHEL 8.x
- Artifactory 7.x
- registries.yaml is updated with private registry configuration
- NetworkManager configuration are per guidelines at docs.rke2.io/install/airgap
- Containerd configuration are per guidelines here at : docs.rke2.io/install/containerd_registry_configuration/
- Firewalld is disabled
- Docker daemon.json is also updated with private registry
Appreciate any suggestions