Kubernetes

What actions or operations you consider as best practices when it comes to Kubernetes?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • Always make sure Kubernetes YAML files are valid. Applying automated checks and pipelines is recommended.
    • Always specify requests and limits to prevent situation where containers are using the entire cluster memory which may lead to OOM issue
    • Specify labels to logically group Pods, Deployments, etc. Use labels to identify the type of the application for example, among other things