-
Notifications
You must be signed in to change notification settings - Fork 8
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
Separation between workers and servers for RKE2 clusters - Issue #121 #140
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial review to add some thoughts, do we need to update (aws and vmware) recipes that use rke2 (and k3s I guess as well?)?
systemctl enable rke2-agent.service | ||
systemctl start rke2-agent.service | ||
|
||
cat > /var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx-config.yaml << EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for a server, not needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@glovecchi0 Can we remove this HelmChartConfig in the worker template?
# instance_disk_size = var.instance_disk_size | ||
# disk_type = var.disk_type | ||
# instance_type = var.instance_type | ||
# os_image = var.os_image | ||
# ssh_username = var.ssh_username |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we comment these out in the recipe for any reason? Preferably we'd avoid commented code and rely on safe defaults if we can.
Hi @leodotcloud, @dnoland1, @ajithijk,
This PR is a bit invasive, as it affects the RKE2 distro, which will cascade towards all the modules of the various providers that install RKE2.
The idea is to decouple the Server component from the Worker component, as done for K3s.
Resolves: #121