Kubernetes World

  • Login
Trending now

Container, Docker and Kubernetes. This article is not a deep dive of… | by Sandeep ...

Spark and Kubernetes, A Match Made in Heaven | by Cluephant Technologies | Feb, 2021 ...

The case of Kubeswitch. Managing a handful of Kubeconfig files… | by Daniel Foehr | ...

ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK – Operators – Medium

Week08 – News, Updates & Reminders – AWS | HashiCorp | Istio | Kubernetes | ...

Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb, 2021 | Medium

How to connect to multiple Google Kubernetes clusters easily in parallel | by Alex Moss ...

Multi tenancy in Kubernetes cluster | by Yogesh Kumar | Feb, 2021 | Medium

On-call? We feel your pain. It’s 3 AM. You’re the developer on call… | by ...

Alert Fatigue — A practical guide to managing alerts | by Komodor | Feb, 2021 ...

Home » Technology » Why Desired State Based Management Matters | by Tenry Fu | Spectro Cloud | Jan, 2021 | Medium

Why Desired State Based Management Matters | by Tenry Fu | Spectro Cloud | Jan, 2021 | Medium medium.com

1
admin 1 month ago in Technology

There is no doubt that Kubernetes is the de facto container cluster management platform. If we look back, the reason why Kubernetes won the container orchestration war, over many other solutions, is NOT because it abstracted out compute (CRI), storage (CSI), network (CNI) and then built an ecosystem around it, but because it makes application lifecycle management for container based applications a lot easier for devops, via a declarative desired state based management approach. What’s that mean? Developers can write a simple YAML file to describe application topologies in terms of pods, services, etc., and Kubernetes will use what is described in this YAML file to deploy the application and place the container services. “This is not a big deal”, you might say; “I can easily write some scripts to automate the container deployment, and many other solutions such as Docker Compose can do that too.” You’re right, but the eureka moment comes when you start to deal with day 2 operations. If a host has a hardware failure and all container services running on that host node have died, in seconds Kubernetes will detect the application’s current deployment status has deviated from the desired state and will automatically relaunch containers to match with the desired state again. In a conventional automation system, admins would have to set up many monitoring and alerting rules, as well as automation scripts, to achieve this kind of self-healing functionality. Then comes the upgrade cycle, where instead of writing scripts to handle updates, migrations, and orchestration if there are multiple steps and conditions involved, all you have to do is update the YAML with the latest version of application services and configurations, and voila!, with one command Kubernetes will reload the YAML and automatically handle all your container services updates. This really makes devops’ life much better, and you will finally have time to enjoy a cookie rather than becoming a late night script debugging warrior.

  • Facebook
  • Twitter
  • Pinterest
  • Google+
Report Story

Related Stories

  1. Container, Docker and Kubernetes. This article is not a deep...
  2. Spark and Kubernetes, A Match Made in Heaven | by...
  3. The case of Kubeswitch. Managing a handful of Kubeconfig files…...
  4. ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK...
  5. Week08 – News, Updates & Reminders – AWS | HashiCorp...
  6. Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb,...
  7. How to connect to multiple Google Kubernetes clusters easily in...
  8. Multi tenancy in Kubernetes cluster | by Yogesh Kumar |...
Tags : declarativekubernetes

Get weekly Kubernetes news directly to your inbox

Loading
Copyright © 2021 Kubernetes World.
Login Register

Login

Lost Password
Oops! Sorry, registration is disabled.

Why Desired State Based Management Matters | by Tenry Fu | Spectro Cloud | Jan, 2021 | Medium

admin 1 month ago in

There is no doubt that Kubernetes is the de facto container cluster management platform. If we look back, the reason why Kubernetes won the container orchestration war, over many other solutions, is NOT because it abstracted out compute (CRI), storage (CSI), network (CNI) and then built an ecosystem around it, but because it makes application lifecycle management for container based applications a lot easier for devops, via a declarative desired state based management approach. What’s that mean? Developers can write a simple YAML file to describe application topologies in terms of pods, services, etc., and Kubernetes will use what is described in this YAML file to deploy the application and place the container services. “This is not a big deal”, you might say; “I can easily write some scripts to automate the container deployment, and many other solutions such as Docker Compose can do that too.” You’re right, but the eureka moment comes when you start to deal with day 2 operations. If a host has a hardware failure and all container services running on that host node have died, in seconds Kubernetes will detect the application’s current deployment status has deviated from the desired state and will automatically relaunch containers to match with the desired state again. In a conventional automation system, admins would have to set up many monitoring and alerting rules, as well as automation scripts, to achieve this kind of self-healing functionality. Then comes the upgrade cycle, where instead of writing scripts to handle updates, migrations, and orchestration if there are multiple steps and conditions involved, all you have to do is update the YAML with the latest version of application services and configurations, and voila!, with one command Kubernetes will reload the YAML and automatically handle all your container services updates. This really makes devops’ life much better, and you will finally have time to enjoy a cookie rather than becoming a late night script debugging warrior.

  • Facebook
  • Twitter
  • Pinterest
  • Google+
Report Story

Related Stories

  1. Container, Docker and Kubernetes. This article is not a deep...
  2. Spark and Kubernetes, A Match Made in Heaven | by...
  3. The case of Kubeswitch. Managing a handful of Kubeconfig files…...
  4. ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK...
  5. Week08 – News, Updates & Reminders – AWS | HashiCorp...
  6. Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb,...
  7. How to connect to multiple Google Kubernetes clusters easily in...
  8. Multi tenancy in Kubernetes cluster | by Yogesh Kumar |...