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

feat: init k3s ansible playbook #1071

Merged
merged 1 commit into from
Sep 5, 2023
Merged

feat: init k3s ansible playbook #1071

merged 1 commit into from
Sep 5, 2023

Conversation

Chickensoupwithrice
Copy link
Contributor

@Chickensoupwithrice Chickensoupwithrice commented Aug 14, 2023

Turn key browsertrix-cloud deployment on k3s for local, single-node and multi-node deployments using ingress-nginx through ansible playbooks.

Resolves #1029

It changes the directory layout of the ansible playbook to a more "best practices" friendly approach using ansible roles and a real inventory file. No more huge arg list while deploying.

This does bring in the problem of merging with our current playbook. Specifically in order to run the playbook, currently it requires install-k3s to be copied out of the playbooks dir. It doesn't interfere with current deployment practices, but at some point down the line I'd like to refactor the microk8s deployment to follow this directory structure. Another addition further down the line could be incorporating the current DO deployment into the btrixrole which would complete the playbook transformation and make it much more maintainable (regardless of deployment strategy, they'd all use the btrix role)

Todo:

  • Docs update
  • Let's Encrypt certs

Copy link
Member

@Shrinks99 Shrinks99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor docs fixes for parity with #1091

docs/deploy/ansible/k3s.md Outdated Show resolved Hide resolved
docs/deploy/ansible/k3s.md Show resolved Hide resolved
Copy link
Member

@ikreymer ikreymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this and can further iterate on the docs in the follow-up PRs.

It changes the directory layout of the ansible playbook to a
more "best practices" friendly approach using ansible roles and
a real inventory file

Co-authored-by: Ilya Kreymer <[email protected]>
@ikreymer ikreymer merged commit 00eddd5 into main Sep 5, 2023
4 of 5 checks passed
@ikreymer ikreymer deleted the ansible-k3s branch September 5, 2023 21:50
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.

k3s ansible playbook
3 participants