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

Add option to disable pushing images manually #4587

Closed
zaro opened this issue May 26, 2021 · 1 comment
Closed

Add option to disable pushing images manually #4587

zaro opened this issue May 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@zaro
Copy link

zaro commented May 26, 2021

Describe the Feature You Want

Right now tilt disables push only if k8s is minikube ( and few others). I've made a setup with k3s --docker which basically makes k3s to use the already installed docker daemon. This leads to a push which is not needed at all because after the build I always the get message Container image "..." already present on machine. This is normal as both k3s and tilt use the same docker daemon.

Current Behavior

Needless push if using tilt with k3s --docker as dev cluster.

Why Do You Want This?

I would like to skip waiting for a push which is not needed anyway.

@zaro zaro added the enhancement New feature or request label May 26, 2021
nicks added a commit that referenced this issue May 27, 2021
…diately"

We used to treat this as a property of the cluster type + the container runtime.

But this made it impossible to support things clusters
that sometimes use your docker runtime, and sometimes do not.

For examples, see:
- #4587
- #3654
- #1729
- #4544

This changes the data model so that "image builds show up in the cluster"
is a property of the Docker client, not of the cluster.

This should be much more flexible and correct, and help us support multiple
clusters.

Fixes #4544
nicks added a commit that referenced this issue May 27, 2021
…diately"

We used to treat this as a property of the cluster type + the container runtime.

But this made it impossible to support clusters that sometimes use your docker
runtime, and sometimes do not.

For examples, see:
- #4587
- #3654
- #1729
- #4544

This changes the data model so that "image builds show up in the cluster"
is a property of the Docker client, not of the cluster.

This should be much more flexible and correct, and help us support multiple
clusters.

Fixes #4544
@nicks
Copy link
Member

nicks commented Jun 7, 2021

thanks for the report! I'm going to mark this as a duplicate of #3654, since i think they're basically the same issue

@nicks nicks closed this as completed Jun 7, 2021
nicks added a commit that referenced this issue Jun 7, 2021
…diately" (#4598)

* docker: change how we model "image builds show up in the cluster immediately"

We used to treat this as a property of the cluster type + the container runtime.

But this made it impossible to support clusters that sometimes use your docker
runtime, and sometimes do not.

For examples, see:
- #4587
- #3654
- #1729
- #4544

This changes the data model so that "image builds show up in the cluster"
is a property of the Docker client, not of the cluster.

This should be much more flexible and correct, and help us support multiple
clusters.

Fixes #4544

* Update internal/docker/env.go

Co-authored-by: Maia McCormick <maia@windmill.engineering>

Co-authored-by: Maia McCormick <maia@windmill.engineering>
landism pushed a commit that referenced this issue Jun 9, 2021
…diately" (#4598)

* docker: change how we model "image builds show up in the cluster immediately"

We used to treat this as a property of the cluster type + the container runtime.

But this made it impossible to support clusters that sometimes use your docker
runtime, and sometimes do not.

For examples, see:
- #4587
- #3654
- #1729
- #4544

This changes the data model so that "image builds show up in the cluster"
is a property of the Docker client, not of the cluster.

This should be much more flexible and correct, and help us support multiple
clusters.

Fixes #4544

* Update internal/docker/env.go

Co-authored-by: Maia McCormick <maia@windmill.engineering>

Co-authored-by: Maia McCormick <maia@windmill.engineering>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants