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

默认设置的特性门控不适用部分版本的k8s #110

Open
t1Kun opened this issue Jun 9, 2022 · 0 comments
Open

默认设置的特性门控不适用部分版本的k8s #110

t1Kun opened this issue Jun 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@t1Kun
Copy link

t1Kun commented Jun 9, 2022

你好,我在使用./metarget cnv install cve-2019-1002101 --verbose --domestic命令安装cve-2019-1002101漏洞场景时,安装后k8s没有成功启动,出现了下图报错,经过排查发现kubelet配置文件中设置了特性门控:--feature-gates SupportNodePidsLimit=false
image

这个漏洞环境安装的k8s版本为1.11.1,而这个设置适用开始于1.14版本,低版本下没有办法设置,导致kubelet服务暂停
参考链接:https://kubernetes.io/zh/docs/reference/command-line-tools-reference/feature-gates/#using-a-feature
删除这个配置后,重启kubelet,服务正常。

@brant-ruan brant-ruan self-assigned this Jun 9, 2022
@brant-ruan brant-ruan added the bug Something isn't working label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants