Home Explore Blog CI



kubernetes

2nd chunk of `content/en/blog/_posts/2017-07-00-How-Watson-Health-Cloud-Deploys.md`
641ae6d2a7dc057100ba0d18a68fcd2d196b82de8473095a000000010000069c
![](https://lh3.googleusercontent.com/EU3DgtFKagWp5S0UpKj-wRgx8WK2nvQ2BG-4dGio57pGNj42A7Lip9IARBba34hIm84-_7zwWt6iImQE8beSqLxpzXm-2w_84M_X2IHQ7jvpWtIDMF81hmq6N4hGSxp6DQoFW5qX)



Before deploying an app, a user must create a worker node cluster. I can create a cluster using the kubectl cli commands or create it from the [IBM Cloud](https://cloud.ibm.com/) dashboard.



Our clusters consist of one or more physical or virtual machines, also known as worker nodes, that are loosely coupled, extensible, and centrally monitored and managed by the Kubernetes master. When we deploy a containerized app, the Kubernetes master decides where to deploy the app, taking into consideration the deployment requirements and available capacity in the cluster.



A user makes a request to Kubernetes to deploy the containers, specifying the number of replicas required for high availability. The Kubernetes scheduler decides where the [pods](/docs/concepts/workloads/pods/pod/) (groups of one or more containers) will be scheduled and which worker nodes they will be deployed on, storing this information internally in Kubernetes and [etcd](https://github.com/coreos/etcd#etcd). The deployment of pods in worker nodes is updated based on load at runtime, optimizing the placement of pods in the cluster.



Kubelet running in each worker node regularly polls the kube API server. If there is new work to do, kubelet pulls the configuration information and takes action, for example, spinning off a new pod.



Process Flow:

| ![](https://lh6.googleusercontent.com/jckmDLJIsy6m8Dxj6GZ6yv5vmQqrZXAi42eJz8iIefl2A87LXoRJUubCkSh05Ptaojt_faEFq4G6UMfZZYVOUiaEzt8Erp51xbyRWW_08qn9vvz-WvztBNlrG431YgI6880-ZULO)

Title: Cluster Creation and Deployment Process in Watson Health Cloud's Kubernetes setup
Summary
This section explains the process of creating a worker node cluster in Watson Health Cloud, either through the kubectl CLI or the IBM Cloud dashboard. It describes how the Kubernetes master manages the cluster's worker nodes and decides where to deploy containerized applications based on deployment requirements and available capacity. The Kubernetes scheduler determines the placement of pods on worker nodes, and Kubelet ensures the configuration is applied, such as spinning up new pods, by continuously polling the kube API server.