欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

kubelet配置詳解及簡(jiǎn)單實(shí)例

 更新時(shí)間:2017年05月26日 10:28:08   投稿:lqh  
這篇文章主要介紹了kubelet配置詳解及簡(jiǎn)單實(shí)例的相關(guān)資料,需要的朋友可以參考下

kubelet配置詳解及簡(jiǎn)單實(shí)例

摘要: 這兩天試著重新去理解kubelet的每一個(gè)配置,并整理出我們最有可能要配置的項(xiàng)作為我們上生產(chǎn)的要考慮的kubelet最佳配置。

author: garnett.wang@gmail.com

kubernetes version: 1.6.2

Kubelet Configurations We Should Care About

下面是我梳理的,我認(rèn)為必須關(guān)注的flag。

flag value
--address 0.0.0.0
--allow-privileged false
--cadvisor-port int32 4194
--cgroup-driver string cgroupfs
--cluster-dns stringSlice 10.0.0.10 //todo
--cluster-domain string caas.vivo.com
--cni-bin-dir string /opt/cni/bin
--cni-conf-dir string /etc/cni/net.d
--docker-endpoint string unix:///var/run/docker.sock
--eviction-hard string memory.available<4Gi,<br/> nodefs.available<20Gi,<br/> imagefs.available<5Gi
--eviction-max-pod-grace-period int32 30
--eviction-minimum-reclaim string memory.available=500Mi,<br/> nodefs.available=2Gi,,<br/> imagefs.available=2Gi
--eviction-pressure-transition-periodduration 5m0s
--eviction-soft string memory.available<8Gi,<br/> nodefs.available<100Gi,<br/> imagefs.available<20Gi
--eviction-soft-grace-period string memory.available=30s,<br/> nodefs.available=2m,<br/> imagefs.available=2m
--experimental-fail-swap-on +
--experimental-kernel-memcg-notification +
--feature-gates string AllAlpha=false
--file-check-frequency duration 20s
--hairpin-mode string promiscuous-bridge
--healthz-port int32 10248
--image-gc-high-threshold int32 60
--image-gc-low-threshold int32 40
--image-pull-progress-deadline duration 2m0s
--kube-api-qps int32 5
--kube-reserved mapStringString cpu=200m,memory=16G
--kubeconfig string /var/lib/kubelet/kubeconfig
--max-pods int32 50
--minimum-image-ttl-duration duration 1h
--network-plugin string cni
--pod-infra-container-image string vivo.registry.com/google_containers/pause-amd64:3.0
--pod-manifest-path string /var/lib/kubelet/pod_manifest
--port int32 10250
--protect-kernel-defaults +
--read-only-port int32 10255
--require-kubeconfig +
--root-dir string /var/lib/kubelet
--runtime-request-timeout duration 2m0s
--serialize-image-pulls false
--sync-frequency duration 1m0s
--system-reserved mapStringString cpu=100m,memory=32G
--volume-plugin-dir string /usr/libexec/kubernetes/kubelet-plugins/volume/exec/
--volume-stats-agg-period duration 1m0s

下面是我最終梳理的,認(rèn)為需要真正顯示設(shè)置的flag,如下:

/usr/bin/kubelet —address=0.0.0.0 
--port=10250 
--allow-privileged=false 
--cluster-dns=10.0.0.1 
--cluster-domain=caas.vivo.com
--max-pods=50 
--network-plugin=cni 
--require-kubeconfig 
--pod-manifest-path=/etc/kubelet.d/
--pod-infra-container-image=vivo.registry.com/google_containers/pause-amd64:3.0 
--eviction-hard=memory.available<4Gi,nodefs.available<20Gi,imagefs.available<5Gi 
--eviction-max-pod-grace-period=30 
--eviction-minimum-reclaim=memory.available=500Mi,nodefs.available=2Gi,imagefs.available=2Gi 
--eviction-pressure-transition-period=5m0s 
--eviction-soft=memory.available<8Gi,nodefs.available<100Gi,imagefs.available<20Gi 
--eviction-soft-grace-period=memory.available=30s,nodefs.available=2m,imagefs.available=2m 
--experimental-kernel-memcg-notification 
--experimental-fail-swap-on 
--system-reserved=cpu=100m,memory=8G 
--kube-reserved=cpu=200m,memory=16G
--hairpin-mode=promiscuous-bridge 
--image-gc-high-threshold=60 
--image-gc-low-threshold=40 
--serialize-image-pulls=false 
--protect-kernel-defaults 
--feature-gates=AllAlpha=false

感謝閱讀,希望能幫助到大家,謝謝大家對(duì)本站的支持!

相關(guān)文章

  • Centos7中添加、刪除Swap交換分區(qū)的方法

    Centos7中添加、刪除Swap交換分區(qū)的方法

    Swap空間的作用是當(dāng)系統(tǒng)的物理內(nèi)存不夠用的時(shí)候,就需要將物理內(nèi)存中的一部分空間釋放出來(lái),以供當(dāng)前運(yùn)行的程序使用。這篇文章主要給大家介紹了關(guān)于Centos7中添加、刪除Swap交換分區(qū)的相關(guān)資料,以及Centos7下增加swap分區(qū)大小的方法,需要的朋友可以參考下。
    2018-04-04
  • windows apache多端口虛擬主機(jī)配置方法

    windows apache多端口虛擬主機(jī)配置方法

    有很多朋友喜歡在windows下使用apache作為web服務(wù)器,有時(shí)候想用非80端口提供服務(wù),因?yàn)槲磦浒赣蛎际欠饬?0端口,提供下載的時(shí)候可以用別的端口了,這里簡(jiǎn)單分享下,方便需要的朋友
    2013-03-03
  • C語(yǔ)言中 malloc,calloc,realloc的區(qū)別

    C語(yǔ)言中 malloc,calloc,realloc的區(qū)別

    這篇文章主要介紹了C語(yǔ)言中 malloc、calloc、realloc的區(qū)別的相關(guān)資料,需要的朋友可以參考下
    2017-02-02
  • Cpanel下Cron Jobs定時(shí)執(zhí)行PHP的方法

    Cpanel下Cron Jobs定時(shí)執(zhí)行PHP的方法

    PHP代碼需要定時(shí)執(zhí)行,如果你有Linux或unix系統(tǒng)權(quán)限或網(wǎng)站使用的是Cpanel后臺(tái),那么可以使用Cron JOBS來(lái)完成PHP的定時(shí)執(zhí)行功能。飄易簡(jiǎn)單介紹一下cpanel下的使用方法
    2021-07-07
  • centos7.2搭建nginx的web服務(wù)器部署uniapp項(xiàng)目

    centos7.2搭建nginx的web服務(wù)器部署uniapp項(xiàng)目

    這篇文章主要介紹了centos7.2搭建nginx的web服務(wù)器部署uniapp項(xiàng)目,本文給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2019-10-10
  • Linux C++ 使用condition實(shí)現(xiàn)阻塞隊(duì)列的方法

    Linux C++ 使用condition實(shí)現(xiàn)阻塞隊(duì)列的方法

    下面小編就為大家?guī)?lái)一篇Linux C++ 使用condition實(shí)現(xiàn)阻塞隊(duì)列的方法。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2017-01-01
  • Centos7修改主機(jī)名hostname的三種方法

    Centos7修改主機(jī)名hostname的三種方法

    今天小編就為大家分享一篇關(guān)于Centos7修改主機(jī)名hostname的三種方法,小編覺(jué)得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來(lái)看看吧
    2019-01-01
  • Vim 強(qiáng)制保存只讀類型文件的方法

    Vim 強(qiáng)制保存只讀類型文件的方法

    你是否會(huì)和我一樣經(jīng)常碰到這樣的情景:在VIM中編輯了一個(gè)系統(tǒng)配置文件,當(dāng)需要保存時(shí)才發(fā)現(xiàn)當(dāng)前的用戶對(duì)該文件沒(méi)有寫(xiě)入的權(quán)限。這個(gè)時(shí)候就需要強(qiáng)制保存只讀類型文件的方法了,這篇文章就介紹了Vim強(qiáng)制保存只讀類型文件的方法,需要的朋友可以參考借鑒,下面來(lái)一起看看吧。
    2017-01-01
  • Ubuntu16.04上安裝CUDA9.0 詳細(xì)教程

    Ubuntu16.04上安裝CUDA9.0 詳細(xì)教程

    這篇文章主要介紹了Ubuntu16.04上安裝CUDA9.0 詳細(xì)教程,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧
    2020-08-08
  • PHP程序員玩轉(zhuǎn)Linux系列 自動(dòng)備份與SVN

    PHP程序員玩轉(zhuǎn)Linux系列 自動(dòng)備份與SVN

    這篇文章主要為大家詳細(xì)介紹了PHP程序員玩轉(zhuǎn)Linux系列文章,學(xué)習(xí)自動(dòng)備份與SVN教程,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-04-04

最新評(píng)論