-
-
Notifications
You must be signed in to change notification settings - Fork 462
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
[BUG] Cluster creation fails when specifying k3s image v1.19.16-k3s1 #890
Comments
If it helps, re-ran
|
Hi @jimthompson5802 , thanks for opening this issue! Cgroup Driver: cgroupfs
Cgroup Version: 2 And from the k3d logs: If I'm not wrong, cgroup v2 compatibility was just introduced in K3s v1.20.11 (or rather backported there) and is not available in K3s v1.19.x, which explains why the cgroup stuff fails with it 🤔 |
@iwilltry42 thank you for the quick response. I appreciate your insight into the problem. Since you pointed out the environment variable, |
@iwilltry42 I hope you don't mind me running this idea by you. I've been thinking about your write-up. It appears that the cause for the problem is that Docker for Desktop now supports If I fall back to Docker for Desktop 4.2.0, which I assume does not have Does this make sense? |
@iwilltry42 I wanted to provide an update. I uninstalled Docker for Desktop (Mac) 4.3.0 and installed 4.2.0. With this setup, I was able to use Thank you very much for your assistance. Without your help, I would still be floundering. The one impact of this particular solution is that I am frozen at Docker Desktop 4.2.0. In thinking about how to resolve, this I wanted to ask about the environment variable I'm wondering if I go back to Docker Desktop 4.3.0 and set
Any guidance will be appreciated. In any event, I have a solution for the problem reported above. This issue can be closed. Thank you again for your help. |
For completeness ... upgraded to Docker Desktop 4.3.1 and tried setting So falling back to Docker Desktop 4.2.0 to use As noted above, I have a work-around for the original issue, so I'll close this. I'm good right now. |
Hi again 👋 Glad that you found a workaround for your usecase! However, I'm interested in what were your problems with deploying kubeflow in newer versions of K3s? |
@iwilltry42 thank for your interest re: "...problems with deploying kubeflow in newer versions of k3s?". Right now the issues seem to center around the particular version of Docker Desktop. If I'm using Docker Desktop 4.2.0, I don't have a problem using OTOH, if I use Docker Desktop 4.3.1, I encounter problems just in defining the cluster. Let me gather some diagnostic output and I'll open a new issue for that. |
Ah sorry, I misunderstood you there and thought kubeflow didn't work with K3s >1.19. |
@iwilltry42 There are couple of nuances that I failed to make clear. Sorry for that. Let me summarize:
At this point I can see three possible sources for the situation described in the last bullet item:
At this point, I'm not sure where to address the problem. 😕 Right now I'm thinking of opening a new issue with |
What did you do
When I attempt to start a cluster with kubernetes 1.19.16, the cluster creation fails with the following series of messages.
The purpose for using kubernetes 1.19.16 is to test
kubeflow
setup.How was the cluster created?
k3d cluster create --config k3d/kubeflow-cluster.yaml
What did you do afterwards?
What did you expect to happen
Creation of a cluster with kubenetes version 1.19.16 distribution.
Screenshots or terminal output
Configuration file
kubeflow-cluster.yaml
Notes:
image: rancher/k3s:v1.19.16-k3s1-amd64
image:
parameter is removed and the defaultk3s
image is used. The cluster starts successfully.k3d cluster list
after failureoutput from
docker images | grep rancher
Which OS & Architecture
MacBook Pro 2019 (Intel), MacOS 11.6.1
Which version of
k3d
Which version of docker
Other Software version
If needed here is
kubectl version
The text was updated successfully, but these errors were encountered: