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

Engineer pls advise on compatibility issue between Docker-Kubernetes #239

Closed
mvincerx opened this issue Oct 16, 2018 · 5 comments
Closed
Labels
Projects

Comments

@mvincerx
Copy link

Is your feature request related to a problem? Please describe.
See: https://clearlinux.org/documentation/clear-linux/tutorials/kubernetes
Section: Run Kubernetes for the first time; Step 2a)

sudo -E kubeadm init --pod-network-cidr 10.244.0.0/16 --ignore-preflight-errors=SystemVerification

Either remove the --ignore-preflight-errors... flag or explain why it’s used. [Currently, I believe that our Docker version is one ahead of what Kubernetes allows by default.] If the above flag is omitted, then Kubernetes with Docker runc will fail to start. The current full command, in a sense, partially masks this incompatibility.

Describe the solution you'd like
We need to know the correct way to resolve compatibility issue between Docker and Kubernetes. We request that an Engineer determines how to assure that the correct and compatible Docker version—used with Kubernetes –appears in the bundle. In the end, if the compatibility issue were resolved (or at least noted), we can keep the documentation clean and accurate -- given that future versions may necessitate a similar review.

Additional context
For history on current PRs for the Kubernetes Tutorial, see:
clearlinux/clear-linux-documentation#255

@bryteise
Copy link
Member

I have forgotten what specific problem I was having that this flag came to be included for X(. If k8s works now without it it can be removed and I will not be at all bothered.

@joselamego
Copy link

@bryteise: currently, k8s with Docker + runc does not work without the flag, because the Docker version in Clear Linux is not recognized as compatible (although it does work). I believe this request can be split into two steps:

  1. Request k8s upstream to recognize Clear Linux Docker version (18.06.1?) as compatible to get rid of the Verification Error
  2. Remove the flag from the tutorial instructions once step 1 is done

Thoughts?

@bryteise
Copy link
Member

@joselamego My happiness that you are here and can be the expert is very high =). I'm perfectly fine with this though I imagine this will be a rolling problem so to speak on upstream k8s being slower than Clear Linux in updating docker and so we would be requiring to either add the flag back, patch k8s or require k8s to move before Clear Linux can update docker.

@mvincerx
Copy link
Author

Closed. Resolved per clearlinux/clear-linux-documentation#255.

@mythi
Copy link

mythi commented Oct 31, 2018

Ahem...

nothing was yet done to fix this. --ignore-preflight-error is still in the tutorial. However, with kubernetes 1.12 (we hope to get it in Clear soon), kubeadm accepts 18.06. Also, Docker has dropped the "edge" releases we were pulling previously so it's likely we get to stay better in sync with the version check (not to mention the fact that the check might go away).

@iphutch iphutch added this to Open for contributions in Containers Nov 9, 2018
@mythi mythi closed this as completed Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Containers
  
Open for contributions
Development

No branches or pull requests

5 participants