Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about kubelet configure #206

Open
MrYourM opened this issue Aug 12, 2020 · 1 comment
Open

about kubelet configure #206

MrYourM opened this issue Aug 12, 2020 · 1 comment

Comments

@MrYourM
Copy link
Contributor

MrYourM commented Aug 12, 2020

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

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
Copy link
Contributor

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants