中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

kube-scheduler配置的示例分析

發布時間:2021-12-07 14:34:03 來源:億速云 閱讀:243 作者:小新 欄目:云計算

這篇文章將為大家詳細講解有關kube-scheduler配置的示例分析,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

version: kubernetes 1.6.2

##kube-scheduler Configuration

下面是我梳理的kube-scheduler的完成配置:

flag                default valuecomments
--address string0.0.0.0The IP address to serve on (set to 0.0.0.0 for all interfaces) (default "0.0.0.0")
--algorithm-provider stringDefaultProviderThe scheduling algorithm provider to use, one of: DefaultProvider
--failure-domains stringkubernetes.io/hostname,<br/> failure-domain.beta.kubernetes.io/zone,<br/> failure-domain.beta.kubernetes.io/regionIndicate 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 int1RequiredDuringScheduling 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 value100Burst to use while talking with kubernetes apiserver (default 100)
--kube-api-content-type stringapplication/vnd.kubernetes.protobufContent type of requests sent to apiserver. (default "application/vnd.kubernetes.protobuf")
--kube-api-qps value50QPS to use while talking with kubernetes apiserver (default 50)
--kubeconfig string
Path to kubeconfig file with authorization and master location information.
--leader-electtrueStart 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 duration15sThe 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 duration10sThe 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 duration2sThe 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 value10251The port that the scheduler's http service runs on (default 10251)
--profilingtrueEnable profiling via web interface host:port/debug/pprof/ (default true)
--scheduler-name stringdefault-schedulerName 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 valuecomments
--address string0.0.0.0The 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 value10251The port that the scheduler's http service runs on (default 10251)
--profilingtrueEnable profiling via web interface host:port/debug/pprof/ (default true)

關于“kube-scheduler配置的示例分析”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

广东省| 京山县| 宜兰县| 卫辉市| 盐亭县| 九龙县| 绥棱县| 盘锦市| 芮城县| 包头市| 革吉县| 古交市| 隆昌县| 苗栗市| 张家港市| 海南省| 沈阳市| 嘉峪关市| 易门县| 巴林左旗| 缙云县| 日喀则市| 城固县| 东城区| 江源县| 永安市| 兖州市| 类乌齐县| 定日县| 玉屏| 隆回县| 清丰县| 滦南县| 镇原县| 浦城县| 林甸县| 墨脱县| 大田县| 宁南县| 富阳市| 佛山市|