0

My questions related to kubernetes resource management:

  1. How Kubernetes master collects all his nodes resource capabilities and then use those capabilities to schedule Pods as per there requirement and resource availability?.

  2. Where the capabilities retrived from node are maintained in master node?(any database or go structure to mentain the data?).

Please suggest the file inside all this operations are performed. I found the file location https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/schedulercache/node_info.go , but did not found any code doing this operations.

  1. How scheduler use resource information managed in master node for scheduling Pod?.
Rajendra
  • 373
  • 1
  • 2
  • 18

1 Answers1

1

1. Here is detailed expiation how scheduler works. How does Kubernetes' scheduler work?

  1. kubernetes uses etcd database to store the information.

  2. This link the information about scheduling. https://docs.openshift.org/latest/admin_guide/scheduler.html#generic-scheduler

sfgroups
  • 18,151
  • 28
  • 132
  • 204
  • @sfggroups thanks for the above link, it is very useful to customize scheduler. My concern is how node capabilities taken from node to kubernetes master. I want to add some more capabilities feature to retrieve with node capabilities. – Rajendra Jun 26 '17 at 07:00