這篇文章將為大家詳細(xì)講解有關(guān)kube-scheduler配置的示例分析,小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,希望大家閱讀完這篇文章后可以有所收獲。
創(chuàng)新互聯(lián)專注為客戶提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于網(wǎng)站建設(shè)、做網(wǎng)站、黃石網(wǎng)絡(luò)推廣、微信小程序、黃石網(wǎng)絡(luò)營(yíng)銷、黃石企業(yè)策劃、黃石品牌公關(guān)、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運(yùn)營(yíng)等,從售前售中售后,我們都將竭誠(chéng)為您服務(wù),您的肯定,是我們最大的嘉獎(jiǎng);創(chuàng)新互聯(lián)為所有大學(xué)生創(chuàng)業(yè)者提供黃石建站搭建服務(wù),24小時(shí)服務(wù)熱線:028-86922220,官方網(wǎng)址:muchs.cn
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,<br/> failure-domain.beta.kubernetes.io/zone,<br/> 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: <br/> 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") |
下面是我梳理的,個(gè)人認(rèn)為必須關(guān)注的配置:
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) |
關(guān)于“kube-scheduler配置的示例分析”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,使各位可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),請(qǐng)把它分享出去讓更多的人看到。
網(wǎng)站標(biāo)題:kube-scheduler配置的示例分析
URL網(wǎng)址:http://muchs.cn/article18/jpghdp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營(yíng)銷型網(wǎng)站建設(shè)、搜索引擎優(yōu)化、自適應(yīng)網(wǎng)站、網(wǎng)站內(nèi)鏈、響應(yīng)式網(wǎng)站、移動(dòng)網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)