Skip to content
Hands-on IT IT Drills
Cover: k0s and LINSTOR hands-on

Training material

k0s and LINSTOR hands-on

Kubernetes with replicated storage – DRBD, zones, quorum and backup

Four VMs, a k0s cluster and LINSTOR with DRBD 9 – setup with k0sctl, storage pools with writecache, witness and zones, controller HA with drbd-reactor and a VIP, Piraeus as the CSI driver, PostgreSQL on replicated storage, node failure, quorum and split-brain, full pools, snapshots and backup with Velero, disk replacement, updating LINSTOR, CSI, kernel and k0s, all of it again with Ansible, metrics, logs and alerts, a production audit, a competition on broken storage and a final exam.

  • k0s
  • LINSTOR
  • DRBD
  • Storage
  • Velero
Start the course Free in your browser, no sign-up
Download for free PDF and EPUB · edition 2026 Companion code on GitHub

Training plan

  1. Preface
  2. Day 0: The Training Ground
  3. Day 1: Building k0s with k0sctl
  4. Day 2: Understanding and Managing k0s
  5. Day 3: DRBD and LINSTOR on the Hosts
  6. Day 4: The LINSTOR Cluster – Nodes, Networks, Witness, Zones
  7. Day 5: Storage Pools, Writecache and Placement
  8. Day 6: Controller HA with drbd-reactor and VIP
  9. Day 7: Piraeus as a Pure CSI Driver
  10. Day 8: StorageClass and the First Database
  11. Day 9: Reading States
  12. Day 10: When a Node Fails
  13. Day 11: Quorum and Split Brain
  14. Day 12: When Space Runs Out
  15. Day 13: Snapshots and Backup with Velero
  16. Day 14: Replacing a Data Disk
  17. Day 15: Updates – LINSTOR, CSI, Kernel, k0s
  18. Day 16: The Same with Ansible
  19. Day 17: Monitoring – Metrics and Dashboards
  20. Day 18: Logs and Alerts
  21. Day 19: From Lab to Production
  22. Day 20: Competition – The Broken Storage
  23. Appendix A: Cheat Sheet
  24. Appendix B: Final Exam