KUBERNETES

Chirag Aggarwal
2 min readDec 3, 2021

WHAT IS KUBERNETES?

Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.

Use of KUBERNETES-

Load balancing and service discovery Kubernetes can expose a container using its own IP address or its DNS name. If a container receives a lot of traffic, Kubernetes will load balance and spread the traffic to keep the deployment stable.
Storage management Kubernetes allows you to mount any storage system you choose, including local storage, public cloud providers, and more.

Rollouts and rollbacks that are automated ,Kubernetes allows you to specify the desired state for your deployed containers and then change the actual state to the desired state at a controlled rate. For instance, you can use Kubernetes to automate the creation of new containers for your deployment, as well as the removal of current containers and the adoption of all their resources to the new container.

Installing Kubernetes-

1 Install Docker desktop

2 Enable Kubernetes

A new screen opens with all of Docker Desktop’s configuration options. Click on Kubernetes and check the Enable Kubernetes checkbox

That’s it! Docker Desktop will download all the Kubernetes images in the background and get everything started up. When it’s ready you’ll see two green lights in the bottom of the settings screen saying Docker running and Kubernetes running

Practical Use of Kubernetes-

Kubeflow is a Cloud-Native platform for machine learning based on Google’s internal machine learning pipelines. It is an open, community-driven project to make it easy to deploy and manage an ML stack on Kubernetes. The project is dedicated to executing deployments of machine learning workflows on the Kubernetes. For instance, Kubeflow includes services to create and manage interactive Jupyter notebooks, provides a custom TensorFlow training job operator that can be used to train ML models, etc. It also supports a TensorFlow Serving container to export trained TensorFlow models to Kubernetes and more.

Hence Kubernetes provides an easy way to scale your application, compared to virtual machines.

--

--