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.
16. Cafe: Kubernetes deployments to Hetzner Cloud, step 3: k3s load balancer & pod resources
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 third step, after having provisioned the server and agent VMs with Terraform and Ansible in the first session and deployed k3s last week:
- Fix the cluster IPs with deploying the config with Ansible
- Inspect pod resources on error
- Learn about taint and tolerate error patterns
- Use Hetzner resources to manage the load balancer
- Encrypted secrets: at rest or HashiCorp Vault
- Pods as group of containers, in a Deployment or ReplicaSet (which maintains a stable set of running pods)
- Deployments are the recommended way to manage Pods as they are a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features like rollout history and rollbacks. More details in this blog post on Kubermatic.
Next week, we’ll look into:
- Ingress controller, to use a single load balancer for multiple websites to save costs.
- Hetzner storage volumes
Future ideas touch monitoring with Prometheus, GitLab CI/CD deployments and much more :)
Insights
Recording
Enjoy the session! 🦊
Written by: Michael Friedrich