GoogleContainerTools/skaffold

Load images into minikube rather than replacing host's docker env

Ouverte

#4 654 ouverte le 12 août 2020

 (2 commentaires) (1 réaction) (0 personne assignée)Go (1 416 forks)batch import
area/buildhelp wantedkind/feature-requestplatform/minikubepriority/p2

Métriques du dépôt

Stars
 (12 822 étoiles)
Métriques de merge PR
 (Merge moyen 3j 6h) (16 PRs mergées en 30 j)

Description

currently in skaffold, if we detect a user has minikube as their active kubecontext, we run a minikube docker-env so that docker commands on the host machine build to minikube's docker daemon. this can cause issues if we're only trying to run a skaffold build while minikube is stopped - something that should be possible, but skaffold can't get around because it only knows to try and use minikube's docker daemon.

instead, we could use minikube cache add on images that are built locally, and do this on push, so builds will still work even when minikube's docker daemon is not accessible.

https://minikube.sigs.k8s.io/docs/handbook/pushing

Guide contributeur