19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9 ■ Scheduling Pods on Nodes

Figure 9-2. Listing Kubernetes versions

SSH log in to the controller instance:

ssh -i "kubernetes-coreos.pem" core@50.19.44.241

List the nodes:

kubectl get nodes

The controller and three worker nodes are listed as running, but the controller node is not schedulable,

as indicated by the SchedulingDisabled shown in Figure 9-3.

Figure 9-3. Listing Nodes; the master node is nonschedulable

Using the Default Scheduler

The default scheduler kube-scheduler is started automatically when the Kubernetes processes

(components) are started. The component statuses should list the scheduler component, as shown in

Figure 9-4.

Figure 9-4. Listing component status for scheduler

203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!