Questions using this tag should be about the command line tool for Kubernetes applications. Questions about installation and use are on topic. Bug reports and feature requests should be submitted as GitHub issues.
Questions tagged [skaffold]
263 questions
3
votes
1 answer
Skaffold not working with local docker image & docker-desktop kubernetes
I have a simple setup with docker-desktop for mac, with the Kubernetes cluster that comes with it.
Every time I run skaffold dev, with imagePullPolicy: Never, an image gets created, but I still get an error when deploying the dirty image to the…

Cosmin Atanasiu
- 2,532
- 3
- 21
- 26
3
votes
2 answers
Skaffold and create-react-app stopped working
Been working fine for months and quit working two days ago. Don't recall changing anything in the .yamls.
Basically, when I start up the create-react-app, the create-react-app client just starts, fails and restarts.
I've tried:
Reverting to a…

cjones
- 8,384
- 17
- 81
- 175
3
votes
2 answers
Skaffold 1.4.0: "Skipping deploy due to sync error: copying files:"
Using:
Skaffold 1.4.0
minikube 1.6.2
kubectl: client 1.15.5 and server 1.17.0
Django 3.0.3
Python 3.8.2
I just recently started receiving this error as I'm working on a Django API. Anytime I save after making a change I get a:
WARN[0234] Skipping…

cjones
- 8,384
- 17
- 81
- 175
3
votes
1 answer
Tie skaffold profile to namespace
Is there a way to tie a skaffold profile to a namespace? I'd like to make sure that dev, staging and prod deployments always go to the right namespace. I know that I can add a namespace to skaffold run like skaffold run -p dev -n dev but that's a…

Paymahn Moghadasian
- 9,301
- 13
- 56
- 94
3
votes
1 answer
Can't get response from Express API in k8s-Skaffold from Postman
Trying to do something that should be pretty simple: starting up an Express pod and fetch the localhost:5000/ which should respond with Hello World!.
I've installed ingress-nginx for Docker for Mac and minikube
Mandatory: kubectl apply -f…

cjones
- 8,384
- 17
- 81
- 175
3
votes
1 answer
Skaffold Kubernetes does not display React changes
The issue:
When running skaffold and update watched files, I see the file sync update occur and nodemon restart the server, but refreshing the page doesn't show the change. It's not until after I stop skaffold entirely and restart that I see the…

dizzy
- 1,177
- 2
- 12
- 34
2
votes
0 answers
Skaffold throws "error when deleting "STDIN": resource may not be empty". Why?
I'm using Kubernetes and skaffold to manage my microservices. This is a small snippet of my skaffold.yaml and k8s yaml:
infra/k8s
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-gamification-depl
spec:
replicas: 1
selector:
…

Nathan Bernardo
- 49
- 4
2
votes
0 answers
Is there a way to setup a debug a go application on kubernetes with skaffold and vscode?
My app is written in go and is packaged in a helm chart which is deployed on the k3s cluster.
I am able to use skaffold to deploy to the k3s cluster.
I am also able to deploy to the cluster using Google Cloud Code VS Code Extension.
However, if I…

Moses
- 611
- 5
- 20
2
votes
0 answers
invalid skaffold config: proxy: unknown scheme: http : VSCode Cloud Code
I tried to follow the instructions on Youtube https://www.youtube.com/watch?v=EtMIEtLQNa0
to run a Cloud Run service locally.
I created a sample Python hello-world application. When I choose the option "Run On Cloud Run Emulator", it gives me an…

Ashok KS
- 659
- 5
- 21
2
votes
3 answers
Skaffold: Cannot connect to the Docker daemon on Docker Desktop for macOS
I get the following message when I run the skaffold dev command:
Build Failed. Cannot connect to the Docker daemon at unix:
///var/run/docker.sock. Check if docker is running.
Tools versions:
MacOS Desktop Docker: 4.13.0 (89412)
Kubernetes:…

Davide
- 107
- 5
2
votes
0 answers
Issue with running skaffold dev on Ubuntu
Trying to use skaffold to run an app on Ubuntu. The exact same project runs just fine on MacOS but fails to run on Ubuntu 20.04. It's worth mentioning that if I simply run kubectl apply -f... everything works as expected. It's only when using…

user19979582
- 21
- 2
2
votes
0 answers
Can't delete containers
I started to learn Skaffold (https://codelabs.developers.google.com/skaffold-deep-dive#2).
Now I ran got stuck trying his examples (https://github.com/GoogleContainerTools/skaffold/tree/main/examples/microservices).
After I ran microservices example…

Danubius
- 59
- 5
2
votes
0 answers
skaffold not modyfying image tag in custom resource yaml file
I am trying to build a sidecar image from skaffold and then push it onto my minikube cluster.
My skaffold.yaml file looks like this :
apiVersion: skaffold/v2beta28
kind: Config
metadata:
name: sidecar
build:
artifacts:
…

amolgautam
- 897
- 10
- 20
2
votes
1 answer
Why does skaffold build work but not skaffold run or skaffold dev?
I have a local NPM/Yarn repository "verdaccio" running in a docker container, bound to my host machine at http://0.0.0.0:4873/.
I am trialling skaffold with minikube.
My Dockerfile config requires two build args:
ARG NPM_TOKEN
ARG…

Fred Johnson
- 2,539
- 3
- 26
- 52
2
votes
0 answers
next js failing to route to page in a subfolder using default next js routing in a kubernetes cluster
Am following a micro service tutorial , we are using docker and kubernetes for the services.one of the services is a client app in next,in the app we are using default next routing rules in which we have the pages in the pages folder,we made a…

David Tembo
- 79
- 3
- 10