-
Notifications
You must be signed in to change notification settings - Fork 35
Install k3s cluster with ansible init #441
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
Conversation
environments/skeleton/{{cookiecutter.environment}}/terraform/compute/variables.tf
Outdated
Show resolved
Hide resolved
environments/skeleton/{{cookiecutter.environment}}/terraform/nodes.tf
Outdated
Show resolved
Hide resolved
@wtripp180901 can you review and merge this into this PR if you're happy pls? Then update the 1st comment above appropriately. |
Co-authored-by: Steve Brasier <[email protected]>
…e-slurm-appliance into feature/k3s-ansible-init
…e-slurm-appliance into feature/k3s-ansible-init
^ that merge is just updating my local branch with new password role, current images should be fine to merge if no more changes |
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.
Lets minimise changes to the caas / cluster_infra TF templates, then call it done.
ansible/roles/passwords/templates/k3s-token.auto.tfvars.json.j2
Outdated
Show resolved
Hide resolved
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.
LGTM but I have a couple of minor amends you can just accept if you are happy, no need to rebuild
Co-authored-by: Steve Brasier <[email protected]>
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.
LGTM
NB: currently doesn't support multiple control nodes (needs support for multiple k3s servers, some stuff to do that here
Install k3s cluster on nodes with control plane on control node. Adds a k3s role to run at bootstrap which installs k3s, k9s and helm as well as an ansible-init playbook to start each node's k3s service as an agent or server depending on metadata specified in terraform.