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

Using a proxy with containerd runtime #10874

Open
dkadetov opened this issue Mar 19, 2021 · 3 comments
Open

Using a proxy with containerd runtime #10874

dkadetov opened this issue Mar 19, 2021 · 3 comments
Labels
co/runtime/containerd co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@dkadetov
Copy link

dkadetov commented Mar 19, 2021

Now I use the default container runtime (docker) in minikube. And at the start, I specify the option to use a proxy:

minikube start --docker-env HTTP_PROXY=<my proxy>

But what about using containerd? How can I specify the environment setting in this case?

minikube start --container-runtime=containerd

In production we are already using a containerd. Therefore, I need to use it in minikube too.
I only found solution when it is used without minikube.

@afbjorklund
Copy link
Collaborator

afbjorklund commented Mar 19, 2021

We need to make the docker-env more generic, and use something like --runtime-env and --runtime-opt

      --docker-env=[]: Environment variables to pass to the Docker daemon. (format: key=value) DEPRECATED
      --docker-opt=[]: Specify arbitrary flags to pass to the Docker daemon. (format: key=value) DEPRECATED
      --runtime-env=[]: Environment variables to pass to the container runtime. (format: key=value)
      --runtime-opt=[]: Specify arbitrary flags to pass to the container runtime. (format: key=value)

For now, you will have to edit the configuration using minikube ssh (or from the bootup script perhaps)

@afbjorklund afbjorklund added co/runtime/containerd co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. labels Mar 19, 2021
@spowelljr spowelljr added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Mar 19, 2021
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

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 Jun 18, 2021
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

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 Jul 18, 2021
@spowelljr spowelljr added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/runtime/containerd co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

5 participants