【kubernetes/k8s概念】kube-scheduler启动参数

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhonglinzhang/article/details/85839899

kubernetes 1.12.1版本

Desc

      The Kubernetes scheduler is a policy-rich, topology-aware, workload-specific function that significantly impacts availability, performance, and capacity. The scheduler needs to take into account individual and collective resource requirements, quality of service requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, deadlines, and so on. Workload-specific requirements will be exposed through the API as necessary.

      kube-scheduler通过调度算法为待调度Pod列表上的每一个Pod从Node列表中选择一个最合适的Node。

       kube-scheduler当前提供的默认调度流程分为两步

  • 预选调度过程:遍历所有目标Node,筛选出符合要求的候选节点
  • 确定最优节点:在第一步的基础上,采用优选策略计算出每个候选节点的分数,分数最高者胜出

/opt/k8s/bin/kube-scheduler --address=0.0.0.0 --master=http://127.0.0.1:8080 --leader-elect=true --v=2

kube-scheduler启动参数详解

Usage:
  kube-scheduler [flags]

--address string 监听主机IP地址,0.0.0.0监听主机所有主机接口
--algorithm-provider string 设置调度算法,ClusterAutoscalerProvider | DefaultProvider,默认为DefaultProvider
--alsologtostderr 设置true则日志输出到stderr,也输出到日志文件
--config string 配置文件的路径
--kube-api-burst int32 发送到kube-apiserver每秒请求量 (default 100)
--kube-api-content-type string  
   
   
   
   
   
   
   
   
   

 

猜你喜欢

转载自blog.csdn.net/zhonglinzhang/article/details/85839899