adamant-kite-43734
08/26/2022, 2:03 PMenough-xylophone-4568
08/26/2022, 2:11 PMenough-xylophone-4568
08/26/2022, 2:21 PMcluster
null?enough-xylophone-4568
08/26/2022, 4:30 PMenough-xylophone-4568
08/26/2022, 4:33 PM<http://nginx.ingress.kubernetes.io/configuration-snippet|nginx.ingress.kubernetes.io/configuration-snippet>: |
location /rancher-version {
return 200 '${rancher_current_version}';
}
And then, in my cloud-init, add the following step before starting the rancher-agent:
# Pull latest Rancher agent
rancher_current_version=$(curl -sfSL ${rancher_url}/rancher-version)
docker pull "${docker_registry_url}/rancher/rancher-agent:$rancher_current_version"
enough-xylophone-4568
08/26/2022, 4:34 PM