Everyone can contribute! Learn DevOps and Cloud Native in our cafe ☕


Technology is moving fast in the DevOps and Cloud Native community.

Join the conversation and add your thoughts, tips, experiences, stories.

"Everyone Can Contribute" is inspired by GitLab's mission.

15. Cafe: Kubernetes deployments to Hetzner Cloud, step 2: k3s with Ansible


Highlights

Max Rosin kindly prepared a series of workshops to learn how to deploy Kubernetes in Hetzner Cloud. Hetzner generously sponsored cloud minutes for our sessions, thank you!

This session covers the second step, after having provisioned the server and agent VMs with Terraform and Ansible last week:

  • Install wireguard to use with Flannel and encrypt the network traffic
  • Install the k3s binary and deploy a systemd unit using Ansible Jinja templates
  • k3s agent setups requires an auth token on the master. Use slurp and async task handlers to ensure the token is created on the master first, and then agents can consume it in their setup task.

Next week, we will dive into using the Hetzner resources to manage the load balancer and storage volumes. Future ideas touch monitoring with Prometheus, CI/CD pipeline deployments and much more :)

Insights

Recording

Enjoy the session! 🦊


Date published: February 3, 2021

Tags: Gitlab, Hetzner, Cloud, Terraform, Ansible, Kubernetes