Questions tagged [skaffold]

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.

263 questions
4
votes
3 answers

How to use Skaffold with kubernetes volumes?

I have an python application whose docker build takes about 15-20 minutes. Here is how my Dockerfile looks like more or less FROM ubuntu:18.04 ... COPY . /usr/local/app RUN pip install -r /usr/local/app/requirements.txt ... CMD ... Now if I use…
4
votes
1 answer

How to handle database migrations with Kubernetes and Skaffold

The issue: Locally, I use Skaffold (Kubernetes) to hot reload both the client side and server side of my code. When I shut it down, it deletes my server pod, including my /migrations/ folder and thus gets out of sync with my database…
dizzy
  • 1,177
  • 2
  • 12
  • 34
4
votes
1 answer

Problem with escaping password with special characters in Kubernetes cloudsql

I was following this tutorial for deploying Django App to Kubernetes Cluster. I've created cloudsql credentials and exported them as in the tutorial export DATABASE_USER= export DATABASE_PASSWORD= However…
Josef Korbel
  • 1,168
  • 1
  • 9
  • 32
3
votes
0 answers

Basic skaffold run giving proxy error to run a Flask hello world

I'm new to Kubernetes and Skaffold. Tried to follow the blog article to run a Python Flask application using…
Ashok KS
  • 659
  • 5
  • 21
3
votes
0 answers

How is managed deletion of K8s objects in skaffold deploy

I am starting to play with skaffold to handle continuous deployment in my Kubernetes cluster. I have a bunch of yaml files that just wait to be applied with kubectl, at one point a.yaml and b.yaml: apiVersion: skaffold/v2beta29 kind:…
Stéphane Janel
  • 326
  • 1
  • 10
3
votes
1 answer

Cloud Run Run/Debug has stopped working - Exited with code 127

The cloudrun debug in cloud shell was working. It is no longer working for me with the following output. I have 1) rebooted the VM and 2) I have tried another project that was also working previously. I suspect something has changed in my…
3
votes
3 answers

How do I set the build output platform x86_64 in a Skaffold configuration?

Since I'm developing on an M1 mac, my Docker builds will build ARM. I want to build x86_64 images which I know I can build with the --platform flag but I want to do that with my Skaffold configuration.
3
votes
1 answer

Why does Skaffold maintain two tags when building to the local docker daemon?

Asked in a different question: why does skaffold need two tags to the same image?
Brian de Alwis
  • 2,814
  • 2
  • 18
  • 32
3
votes
1 answer

Pulling private npm repository to docker container through kubernetes/skaffold

I am new to skaffold, k8s, docker set and I've been having trouble building my application on a cluster locally. I have a code repository that is trying to pull a private NPM package but when building it loses the .npmrc file or the npm secret. npm…
3
votes
2 answers

Skaffold to deploy an existing image already built

I have a use case where I build the image once using Github Actions to Github container repository. I would then like to use Skaffold to deploy that image already built to multiple Kubernetes clusters. The build and deploy need to be separate so we…
Saul Frank
  • 395
  • 5
  • 15
3
votes
1 answer

no space left on device on docker desktop for macos and skaffold

I had tried following the advice here, specifically: run docker system prune, which freed about 6GB increased the Disk image size on docker desktop preferences to 64 GB (43 GB used) but am still seeing this when running skaffold: exiting dev mode…
reactor
  • 1,722
  • 1
  • 14
  • 34
3
votes
2 answers

How do I use spring boot maven plugin build-image with skaffold and dekorate?

I'm trying to use Skaffold, Dekorate and Spring Boot. I can't find any examples using the new buildpack feature of Spring Boot 2.3+ apiVersion: skaffold/v2beta9 kind: Config metadata: name: tellus-upgrade build: artifacts: - image:…
Rod McCutcheon
  • 201
  • 4
  • 21
3
votes
1 answer

Skaffold is not detecting js file changes

When I change inside index.js file inside auth directory then skaffold stuck on watching for changes... I restarted but every time when I change it stuck Syncing 1 files for…
3
votes
0 answers

NodeJS with Scaffold: How to set up dev environment?

I'm trying to set up a dev environment for my Nodejs project using Skaffold to handle k8s. I notice that sometime when there's an error (usually syntax error cause I'm using auto-save), the entire local server seem to stop working and the error…
Nam
  • 554
  • 4
  • 11
3
votes
2 answers

ignore folder/files from skaffold watch

I am using the skaffold to run my typescript application with the helm in Kubernetes. Below is my skaffold build configuration. apiVersion: skaffold/v2beta8 kind: Config build: local: push: false tagPolicy: gitCommit: variant:…
aryan
  • 163
  • 1
  • 1
  • 11
1 2
3
17 18