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

kubernetes::cluster_roles - ignore CNI errors on kubeadm join #127

Merged
merged 3 commits into from
Jul 24, 2018

Conversation

tskirvin
Copy link
Contributor

k8s 1.10.2 has a bug in joining a cluster where /var/run/dockershim.sock doesn't yet exist but kubeadm join won't complete until it's there. So we work around it by ignoring that missing file via manifests/cluster_roles.pp.

Also fixes a version number error in README.md.

tskirvin and others added 2 commits July 17, 2018 10:33
k8s 1.10.2 has a bug in joining a cluster where `/var/run/dockershim.sock`
doesn't yet exist but `kubeadm join` won't go until it's there.  So we
work around it by ignoring that error via `manifests/cluster_roles.pp`.

Also fixes a version number error in README.md.
@scotty-c scotty-c requested a review from davejrt July 18, 2018 23:38
@davejrt
Copy link
Contributor

davejrt commented Jul 19, 2018

I just tried to test this in KREAM, and wasn't able to replicate the error. Is it specific to a version of docker or something else?

@tskirvin
Copy link
Contributor Author

Apparently? I'm running docker-engine-17.03.1.ce-1.el7.centos.x86_64 + flannel. I found the bug report and fix in a random thread somewhere; this may have been it:

kubernetes-sigs/cri-tools#153

I'd also settle for opening up a module parameter to list preflight errors to ignore, I suppose. It's hard to tell what's the best level of complexity for this kind of thing.

@davejrt
Copy link
Contributor

davejrt commented Jul 20, 2018

I think a parameter sounds like a good idea in this case.

Sometimes you need to ignore some extra parameters when running 'kubeadm init' or 'kubeadm join'.
@davejrt
Copy link
Contributor

davejrt commented Jul 24, 2018

LGTM, thanks for your contribution

@davejrt davejrt merged commit 5ac59f9 into puppetlabs:master Jul 24, 2018
@davejrt davejrt added this to the 3.0.0 milestone Jul 30, 2018
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

Successfully merging this pull request may close these issues.

2 participants