Kubernetes is a tool. The concepts that are around this one are interesting: zero downtime deployment, containers orchestration, scaling, etc. They help to deploy safely and then to get solid ML systems. It’s relevant to understand these concepts. This week, I would like to highlight some of them through different resources.
The book is about Kubernetes but also about some DevOps concepts in general.
The keypoints for me are:
- The hype of Kubernetes will disappear and that’s good. These kinds of tools will become standards.
- It’s hard to deploy yourself Kubernetes. Use a cloud provider instead.
- There are tools around Kubernetes that will help you such as Helm.
Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.
Charts are easy to create, version, share, and publish — so start using Helm and stop the copy-and-paste.
- Use Kubeval to validate your Kubernetes manifests
Kubeval is a tool for validating a Kubernetes YAML or JSON configuration file. It does so using schemas generated from the Kubernetes OpenAPI specification, and therefore can validate schemas for multiple versions of Kubernetes.
- Use Sops to get a simple way of managing your secrets
Sops is an editor of encrypted files.
My favourite chapter of the book is Observability and Monitoring. Observability is a catch-all term that covers different techniques: black-box checks, metrics, logging and tracing.
The observability of your system is a measure of how well-instrumented it is, and how easily you can find out what’s going on inside it.
It’s also crucial to know what to check. A system that is 99.9% of the time up doesn’t mean that users are happy. Your system can lag and your users can turn away from it.
I wanted to speak of a mistake that is easy to do with Kubernetes but harmful: not setting the readiness of your application. It can break the zero downtime concept. In this article, I highlight the problem and one possible solution.
This article explains the principle of blue green deployment with animations.
Thank you for reading. Feel free to contact me on Twitter if you want to discuss that.