K8S_v1.12.1提示failed to get azure cloud in GetVolumeLimits, plugin.host: master

v1.12.1日志提示failed to get azure cloud in GetVolumeLimits, plugin.host: master

Jun 22 22:36:55 master1 kubelet[101868]: E0622 22:36:55.127881  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:05 master1 kubelet[101868]: E0622 22:37:05.152821  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:15 master1 kubelet[101868]: E0622 22:37:15.175145  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:25 master1 kubelet[101868]: E0622 22:37:25.201988  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:35 master1 kubelet[101868]: E0622 22:37:35.213974  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:45 master1 kubelet[101868]: E0622 22:37:45.226483  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:37:55 master1 kubelet[101868]: E0622 22:37:55.245219  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:05 master1 kubelet[101868]: E0622 22:38:05.259761  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:15 master1 kubelet[101868]: E0622 22:38:15.280365  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:25 master1 kubelet[101868]: E0622 22:38:25.299713  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:35 master1 kubelet[101868]: E0622 22:38:35.314685  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:45 master1 kubelet[101868]: E0622 22:38:45.326017  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1
Jun 22 22:38:55 master1 kubelet[101868]: E0622 22:38:55.335919  101868 azure_dd.go:147] failed to get azure cloud in GetVolumeLimits, plugin.host: master1

解决方法

  1. 编辑/etc/sysconfig/kubelet,加上–feature-gates=AttachVolumeLimit=false
vi /etc/sysconfig/kubelet
KUBELET_EXTRA_ARGS=--feature-gates=AttachVolumeLimit=false
  1. 重启kubelet
systemctl restart kubelet
  1. 再次查看日志,发现不再有此提示
journalctl -f -u kubelet
Jun 22 22:39:04 master1 kubelet[114960]: I0622 22:39:04.235254  114960 reconciler.go:154] Reconciler: start to sync state

附上github地址:https://github.com/kubernetes/kubernetes/issues/69503

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值