Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set custom server url value #25

Open
sebastienmusso opened this issue Nov 3, 2021 · 0 comments
Open

Cannot set custom server url value #25

sebastienmusso opened this issue Nov 3, 2021 · 0 comments

Comments

@sebastienmusso
Copy link

Hello,

I'm trying to use rancher-system-installer with RK2 and a custom RKE2_URL hosted on a loadbalancer.

I set a environment variable in /etc/default/rancher-system-agent (RKE2_SERVER=https://10.0.0.10:9345)
This value is correctly set in /var/lib/rancher/rke2/system-agent-installer/rke2-sa.env file.
But when I what in /etc/rancher/rke2/config.yaml.d/50-rancher.yaml the server url still the primary node ip adress.
even in rke2-server logs the node is registered via primary node ip adress:
"To join node to cluster: rke2 agent -s https://192.168.1.10:9345 -t ${NODE_TOKEN}"

How can I customize this value without modifying /etc/rancher/rke2/config.yaml.d/50-rancher.yaml and restart rke2-server daemon ?

Thanks for you help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant