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

Minikube + Containerd driver? #17882

Closed
shinebayar-g opened this issue Jan 2, 2024 · 12 comments
Closed

Minikube + Containerd driver? #17882

shinebayar-g opened this issue Jan 2, 2024 · 12 comments
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@shinebayar-g
Copy link

shinebayar-g commented Jan 2, 2024

What Happened?

Hi. Does Minikube support containerd as a standalone driver? It's mentioned as one of the possible runtimes, but not driver.
I was wondering if Minikube could support containerd as a driver alternative for Docker.

Attach the log file

N/A

Operating System

macOS (Default)

Driver

Docker

@afbjorklund
Copy link
Collaborator

Minikube supports Docker and Podman, but not containerd. Neither does kind, with the same type of arguments:

The standard now is running containerd-in-docker, with crio-in-podman as some kind of experimental alternative...

Support cri-dockerd (for runtime) and supporting nerdctl (for driver) is becoming more of a maintenance burden.

@afbjorklund afbjorklund added the kind/support Categorizes issue or PR as a support question. label Jan 2, 2024
@shinebayar-g
Copy link
Author

Thanks for the answer. Container based options are not looking good.. Podman is experimental and Docker is restricted with license changes. Looks like I should look into other VM based alternatives for the time being.

@afbjorklund
Copy link
Collaborator

Especially the minikube docker-env is hard to support in the long run, even if we have a short term workaround.

There are also more people using Docker Desktop and Podman Desktop, instead of the more open alternatives.
It is possible to use Rancher Desktop for better containerd support, but then the default is to use k3s instead.

@afbjorklund
Copy link
Collaborator

Podman is experimental and Docker is restricted with license changes.

Note that there are no license changes for Docker Engine, it is still Open Source. Same goes for Podman Engine.

@shinebayar-g
Copy link
Author

Yeah but that's only available on Linux OS right?

@afbjorklund
Copy link
Collaborator

Minikube uses Docker Machine, for the others.

@shinebayar-g
Copy link
Author

I am confused. What does that mean? How can I use that if I don't have Docker desktop installed on my MacOS for example?

❯ minikube start --driver=docker
😄  [minikube-v1.25] minikube v1.32.0 on Darwin 14.2.1 (arm64)
🆕  Kubernetes 1.28.3 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.28.3
✨  Using the docker driver based on existing profile

💣  Exiting due to PROVIDER_DOCKER_NOT_RUNNING: "docker version --format <no value>-<no value>:<no value>" exit status 1: Cannot connect to the Docker daemon at unix:///Users/home/.docker/run/docker.sock. Is the docker daemon running?
💡  Suggestion: Start the Docker service
📘  Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 2, 2024

As you mention, it is mostly used as the runtime for the Kubernetes cluster. Not as the engine for the node.

But in theory it is possible to run minikube-in-minikube, just that it is not a primary setup (out-of-the-box)

minikube start --vm --no-kubernetes (for podman it would be crio runtime)

https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 1, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 1, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants