k8s Scheduled
时间: 2023-10-12 22:06:37 浏览: 168
k8s中的ScheduledScaler是一个用于预定洁牙机的工具。要使用ScheduledScaler,您需要安装CRD并将Scaling ...git clone https://github.com/k8s-restdev/scheduled-scaler.git $GOPATH/src/k8s.restdev.com/operators && \ cd $GOPATH/src/k8s.restdev。
k8s中的kube-scheduler是一个负责调度的核心程序。它的具体实现在kubernetes/pkg/scheduler/scheduler.go中。调度相关的具体实现包括节点筛选策略和节点打分策略,代码位于kubernetes/pkg/scheduler/algorithm/predicates和kubernetes/pkg/scheduler/algorithm/priorities中。默认的调度器定义在kubernetes/pkg/scheduler/algorithmprovider/defaults中。
k8s中的kube-scheduler的高可用是通过leaderElection实现的。一般情况下,有三个master节点,其中哪一个先启动就成为leader,只有leader提供服务,另外两个scheduler处于等待状态,没有真正运行自己的逻辑。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [K8s scheduler 详解](https://blog.csdn.net/zimu312500/article/details/123998285)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [scheduled-scaler](https://download.csdn.net/download/weixin_42139871/18395071)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文