Deploying to a local K8s

74 views
Skip to first unread message

Bernardo Garcia

unread,
Nov 11, 2022, 7:52:50 AM11/11/22
to skaffold-users
Hello skaffolders, my name is Bernardo, and I've recentIy joined to this channel.
I would like to share with you a situation I am dealing with

I am using skaffold to orchestrate a set of services in a local minikube cluster. After running skaffold dev --port-forward -v debug or even skaffold run --tail -p local -v debug
 I see the Dockerfiles I have to  build the images, they are executed, and everything looks as expected, but is just that the deployment never takes place in my minikube local cluster
(I even make sure that my current context is pointing to my minikube default profile)

All that I see is this:

DEBU[0161] push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false  subtask=-1 task=DevLoop
DEBU[0161] push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false  subtask=-1 task=DevLoop
DEBU[0161] Local images can't be referenced by digest.

They are tagged and referenced by a unique, local only, tag instead.
See https://skaffold.dev/docs/pipeline-stages/taggers/#how-tagging-works  subtask=-1 task=Deploy
Starting deploy...
INFO[0161] Deploy completed in 18.384µs


I see this similar issue (Images are not getting loaded on Kind Cluster - https://github.com/GoogleContainerTools/skaffold/issues/7992 )
and I see this already merged PR seems to solve the problem https://github.com/GoogleContainerTools/skaffold/pull/8007 but I see it still persist

I am using skaffold v2.0.2 since that one is that is currently downloadable from https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 in the docs.
I heard the above issue was presented on v2.0.0 and that v2.0.2 is expected to fix it, but not sure in my case what is happening. Should I downgrade to 1.39.2

Any help is appreciated. Thanks 

Bernardo Garcia

unread,
Nov 11, 2022, 4:25:51 PM11/11/22
to skaffold-users
I just downgrade to v1.39.3 version and the local deployment went well
Reply all
Reply to author
Forward
0 new messages