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

sudo kubeadm init always fails #21

Closed
daniel0m0baker opened this issue Oct 22, 2019 · 2 comments
Closed

sudo kubeadm init always fails #21

daniel0m0baker opened this issue Oct 22, 2019 · 2 comments

Comments

@daniel0m0baker
Copy link

When running sudo kubeadm init --token-ttl=0 --pod-network-cidr=10.244.0.0/16 it always fatally errors out

Expected Behaviour

This should complete the init

Current Behaviour

sudo kubeadm init --token-ttl=0 --pod-network-cidr=10.244.0.0/16
This results in a timeout and fatal errors.
Applying the timeout API patch does not help at all:
sudo sed -i 's/failureThreshold: 8/failureThreshold: 20/g' /etc/kubernetes/manifests/kube-apiserver.yaml && \ sudo sed -i 's/initialDelaySeconds: [0-9]\+/initialDelaySeconds: 360/' /etc/kubernetes/manifests/kube-apiserver.yaml

Context

I am setting up a new Raspberry Pi Master node.
This is repeatable, following this guide and always 100% results in this error.

Your Environment

R-Pi 4
SanDisk Extreme Pro 128GB
All steps in the guide - no need to list that here.

  • What version of Kubernetes are you using? kubectl version:
    All steps in the guide - no need to list that here.

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Raspian Lite

  • What ARM or Raspberry Pi board are you using?
    Raspberry Pi 4

@protheusfr
Copy link

+1

@alexellis
Copy link
Owner

Please seek out technical support from the kubeadm maintainers on the Kubernetes Slack, if you work out a resolution feel free to send a PR. http://slack.kubernetes.io

My recommendation is clearly stated in the README - use k3s which works flawlessly on RPi and uses far fewer resources.

Repository owner locked and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants