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

Is it possible to config kubeadm by non-root user on K8s 1.21.1? #2474

Closed
younaman opened this issue May 17, 2021 · 2 comments
Closed

Is it possible to config kubeadm by non-root user on K8s 1.21.1? #2474

younaman opened this issue May 17, 2021 · 2 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@younaman
Copy link

Hello, I am a green hand of Kubernetes, Is it possible to config kubeadm by a non-root user on K8s 1.21.1? I read the official documents, it seems like the kubeadm init still run as root user? Looking forward to anyone's reply!

@neolit123
Copy link
Member

the kubeadm command will continue to require root for the time being and same goes for the kubelet.
kubeadm executes commands like sysctl start/stop and writes to folders that require root.

there is an effort to make the containers that are deployed for the control-plane to not run as root users, but that's separate:
#2473

/kind support
/close

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label May 17, 2021
@k8s-ci-robot
Copy link
Contributor

@neolit123: Closing this issue.

In response to this:

the kubeadm command will continue to require root for the time being and same goes for the kubelet.
kubeadm executes commands like sysctl start/stop and writes to folders that require root.

there is an effort to make the containers that are deployed for the control-plane to not run as root users, but that's separate:
#2473

/kind support
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants