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

kubeadm 1.7.1 cannot start due to bug #23

Open
sandor-nemeth opened this issue Jul 27, 2017 · 1 comment
Open

kubeadm 1.7.1 cannot start due to bug #23

sandor-nemeth opened this issue Jul 27, 2017 · 1 comment

Comments

@sandor-nemeth
Copy link
Contributor

Kubeadm 1.7.1 is broken, when the init would run one'll get an error:

$ kubeadm init --config /etc/kubernetes/kubeadm.yml                                                                                                                 
[kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters.            
[init] Using Kubernetes version: v1.7.1         
[init] Using Authorization modes: [Node RBAC]   
[preflight] Running pre-flight checks           
can not mix '--config' with other arguments  

The solution is to downgrade to 1.7.0 with the following change in roles/kubernetes/tasks/apt.yml:

- name: Install Packages
  apt:
    name: "{{ item }}"
    force: yes
    state: present
  with_items:
    - kubelet=1.7.0-00
    - kubeadm=1.7.0-00
    - kubectl=1.7.0-00
    - kubernetes-cni

After this it works.

The corresponding kubernetes bug is: kubernetes/kubeadm#345

This affects Kubernetes 1.7.1, should be resolved when that update hits the repos.

@sandor-nemeth sandor-nemeth changed the title kubeadm 1.7.1 is broken kubeadm 1.7.1 cannot start due to bug Jul 27, 2017
@robertpeteuil
Copy link

robertpeteuil commented Aug 25, 2017

FYI - this kubeadm bug was fixed in v1.7.2 released on 19 July, 2017. So there should be no need to keep your install pinned to 1.7.0. anymore.

The current version, as of this posting, is 1.7.4

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

No branches or pull requests

2 participants