QingCloudAppcenter / QKE

KubeSphere is an open source container application platform by QingCloud based on Kubernetes.
https://www.qingcloud.com/products/kubesphereqke/
29 stars 15 forks source link

about kubelet configure #206

Open MrYourM opened 4 years ago

MrYourM commented 4 years ago

参数的指定方式可能需要做更改

Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --max-pods has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Aug 12 05:55:27 i-o5k5snqz kubelet[2949]: Flag --max-pods has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.

/etc/kubernetes/bootstrap-kubelet.conf 该文件是不存在

failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory
hlwanghl commented 4 years ago

Flag --cgroup-driver has been deprecated 这几个应该都是 kubeadm 自动生成的,先不管吧。

/etc/kubernetes/bootstrap-kubelet.conf 这个也是 kubeadm 管理的,应该也可以先不管。