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

Install k3s cluster with ansible init #441

Open
wants to merge 53 commits into
base: main
Choose a base branch
from

Conversation

wtripp180901
Copy link

@wtripp180901 wtripp180901 commented Sep 19, 2024

NB: currently requires working DNS to work without requiring reboots. Can currently be worked around by replacing the values of the k3s_server fields in the terraform metadata with openstack_compute_instance_v2.control["control"].access_ip_v4

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.

@wtripp180901 wtripp180901 requested a review from a team as a code owner September 19, 2024 09:06
ansible/roles/passwords/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/passwords/tasks/main.yml Outdated Show resolved Hide resolved
environments/common/layouts/everything Outdated Show resolved Hide resolved
ansible/bootstrap.yml Show resolved Hide resolved
ansible/roles/k3s/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/k3s/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/k9s/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/k9s/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/k9s/tasks/main.yml Outdated Show resolved Hide resolved
@sjpb
Copy link
Collaborator

sjpb commented Sep 19, 2024

@wtripp180901 can you review and merge this into this PR if you're happy pls? Then update the 1st comment above appropriately.

@wtripp180901
Copy link
Author

@wtripp180901 wtripp180901 requested a review from sjpb October 2, 2024 13:31
ansible/roles/k3s/tasks/main.yml Outdated Show resolved Hide resolved
@wtripp180901
Copy link
Author

@wtripp180901 wtripp180901 requested a review from sjpb October 4, 2024 14:55
@wtripp180901
Copy link
Author

@wtripp180901
Copy link
Author

@wtripp180901
Copy link
Author

@wtripp180901
Copy link
Author

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

Successfully merging this pull request may close these issues.

2 participants