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

如何更改kubelet进程的运行参数? #1265

Closed
AsonZhang opened this issue Apr 22, 2023 · 5 comments
Closed

如何更改kubelet进程的运行参数? #1265

AsonZhang opened this issue Apr 22, 2023 · 5 comments
Labels

Comments

@AsonZhang
Copy link

我想给kubeasz搭建集群的所有节点:3个master和2个worker都设置这个pid限制参数,请问是在哪里配置?
https://kubernetes.io/zh-cn/docs/concepts/policy/pid-limiting/

@AsonZhang
Copy link
Author

image

@gjmzj
Copy link
Collaborator

gjmzj commented Apr 25, 2023

集群安装前可以在:/etc/kubeasz/roles/kube-node/templates/kubelet-config.yaml.j2 修改podPidsLimit

集群安装后可以在:/var/lib/kubelet/config.yaml 中修改,然后重启kubelet

kubeasz pushed a commit that referenced this issue Apr 28, 2023
@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label May 25, 2023
@github-actions
Copy link

github-actions bot commented Jun 2, 2023

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Jun 2, 2023
@AsonZhang
Copy link
Author

集群安装前可以在:/etc/kubeasz/roles/kube-node/templates/kubelet-config.yaml.j2 修改podPidsLimit

集群安装后可以在:/var/lib/kubelet/config.yaml 中修改,然后重启kubelet

谢谢🙏,问题解决了

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

No branches or pull requests

2 participants