kube-scheduler配置的示例分析
发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,这篇文章将为大家详细讲解有关kube-scheduler配置的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。version: kubernetes 1.6.
千家信息网最后更新 2025年12月02日kube-scheduler配置的示例分析
这篇文章将为大家详细讲解有关kube-scheduler配置的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
version: kubernetes 1.6.2
##kube-scheduler Configuration
下面是我梳理的kube-scheduler的完成配置:
| flag | default value | comments |
|---|---|---|
| --address string | 0.0.0.0 | The IP address to serve on (set to 0.0.0.0 for all interfaces) (default "0.0.0.0") |
| --algorithm-provider string | DefaultProvider | The scheduling algorithm provider to use, one of: DefaultProvider |
| --failure-domains string | kubernetes.io/hostname, failure-domain.beta.kubernetes.io/zone, failure-domain.beta.kubernetes.io/region | Indicate the "all topologies" set for an empty topologyKey when it's used for PreferredDuringScheduling pod anti-affinity. (default "kubernetes.io/hostname,failure-domain.beta.kubernetes.io/zone,failure-domain.beta.kubernetes.io/region") |
| --feature-gates value | A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: AllAlpha=true | |
| --google-json-key string | The Google Cloud Platform Service Account JSON Key to use for authentication. | |
| --hard-pod-affinity-symmetric-weight int | 1 | RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. --hard-pod-affinity-symmetric-weight represents the weight of implicit PreferredDuringScheduling affinity rule. (default 1) |
| --kube-api-burst value | 100 | Burst to use while talking with kubernetes apiserver (default 100) |
| --kube-api-content-type string | application/vnd.kubernetes.protobuf | Content type of requests sent to apiserver. (default "application/vnd.kubernetes.protobuf") |
| --kube-api-qps value | 50 | QPS to use while talking with kubernetes apiserver (default 50) |
| --kubeconfig string | Path to kubeconfig file with authorization and master location information. | |
| --leader-elect | true | Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. (default true) |
| --leader-elect-lease-duration duration | 15s | The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled. (default 15s) |
| --leader-elect-renew-deadline duration | 10s | The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled. (default 10s) |
| --leader-elect-retry-period duration | 2s | The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. (default 2s) |
| --master string | The address of the Kubernetes API server (overrides any value in kubeconfig) | |
| --policy-config-file string | File with scheduler policy configuration | |
| --port value | 10251 | The port that the scheduler's http service runs on (default 10251) |
| --profiling | true | Enable profiling via web interface host:port/debug/pprof/ (default true) |
| --scheduler-name string | default-scheduler | Name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name' (default "default-scheduler") |
kube-scheduler Configuration Best Practices
下面是我梳理的,个人认为必须关注的配置:
| flag | default value | comments |
|---|---|---|
| --address string | 0.0.0.0 | The IP address to serve on (set to 0.0.0.0 for all interfaces) (default "0.0.0.0") |
| --kubeconfig string | Path to kubeconfig file with authorization and master location information. | |
| --master string | The address of the Kubernetes API server (overrides any value in kubeconfig) | |
| --policy-config-file string | File with scheduler policy configuration | |
| --port value | 10251 | The port that the scheduler's http service runs on (default 10251) |
| --profiling | true | Enable profiling via web interface host:port/debug/pprof/ (default true) |
关于"kube-scheduler配置的示例分析"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
配置
篇文章
示例
分析
更多
不错
实用
个人
内容
文章
知识
参考
帮助
有关
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
postman链接数据库
a3睿财软件开发商
最新三级网络技术上机题库
hp刀片服务器 管理
羽毛球管理系统数据库设计
办公室工作网络安全
宽带服务器
新车数据库解锁
网络安全中数据治理的成效
福州市艾塔网络技术
驾照档案信息数据库有几份档案
查询数据库中同样的数据
九台区有名的网络技术售后服务
服务器散热器改装普通电脑用
企业网络安全隐患排查的内容
贵州智慧园区管理平台软件开发
单位网络安全领导小组职责
中国凸起科技互联网公司
数据库技术是指设计
广电网络用的谁的服务器
为什么云服务器受欢迎
南通网络安全宣传片
cs1.5看不到局域网服务器
手机远程服务器出现问题
手机能制作软件开发
提供网络技术支持违法吗
数据库视图管理实验原理
怎么查看泰拉瑞亚服务器
行业人才数据库的重要性
打印快递单数据库素材图