-
Notifications
You must be signed in to change notification settings - Fork 715
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
kubeadm init not working and kubelet not running #761
Comments
@BumwooPark The error in the logs is here
Few questions;
|
1 [Service]
my kubeadm version is
and use Physical machine not VM |
What is the output of I don't see any |
The |
command |
I installed kubeadm & kubelet again today thanks to your help 😀 |
@BumwooPark Could you please describe how did you solve this issue? |
Reboot well wonderfully.........😌 |
Check if Docker service is running: |
in my case it was issue with change in hostname. |
apt-get update && apt-get install -y apt-transport-https curl kubeadm init error The kubelet is not runninginstall kubelet.serviceapt-get install -y kubelet kubeadm kubectl |
Note: This dropin only works with kubeadm and kubelet v1.11+[Service] This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamicallyEnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should usethe .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file.EnvironmentFile=-/etc/default/kubelet |
I also faced this issu. solved using https://kubernetes.io/docs/setup/independent/install-kubeadm/ |
@BumwooPark commented on Fri Apr 20 2018
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
command
kubeadm init
then showing
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
kubeadm reset and after kubeadm init
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):Linux 3.10.0-693.21.1.el7.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
allowing to https://kubernetes.io/docs/setup/independent/install-kubeadm/
i had
swapoff -a
and add
Environment="KUBELET_EXTRA_ARGS=--fail-swap-on=false"
in 10-kubeadm.confand docker & kubelet cgroup set systemd same and other checking cgroupfs
but not starting kubelet
i had set after command
systemctl daemon-reload
systemctl restart kubelet
but not working
my
systemctl status kubelet
@k8s-ci-robot commented on Fri Apr 20 2018
@BumwooPark: There are no sig labels on this issue. Please add a sig label.
A sig label can be added by either:
mentioning a sig:
@kubernetes/sig-<group-name>-<group-suffix>
e.g.,
@kubernetes/sig-contributor-experience-<group-suffix>
to notify the contributor experience sig, ORspecifying the label manually:
/sig <group-name>
e.g.,
/sig scalability
to apply thesig/scalability
labelNote: Method 1 will trigger an email to the group. See the group list.
The
<group-suffix>
in method 1 has to be replaced with one of these: bugs, feature-requests, pr-reviews, test-failures, proposalsInstructions 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.
The text was updated successfully, but these errors were encountered: