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
2
votes
1 answer

setup skaffold to deploy changes to google cloud build

i'm new to skaffold and have setup the yaml file as below which should sync any changes in the src folder in my project to goolge cloud build. Please note Im not using git. When I run skaffold dev any changes in the src folder on the local machine…
2
votes
1 answer

skaffold and microk8s -- container server is waiting to start: can't be pulled

I'm hitting this error on a unbuntu 20.04 installation, with microk8s and skaffold. container server is waiting to start: aliwatters/dkc-multi-server:7b9b7d87ab81483cdb9b1227780d68dec815fe271aea2f9fe3a0e65090d90909 can't be pulled I'm logged into…
Ali W
  • 366
  • 2
  • 7
2
votes
1 answer

How to run Skaffold with a bootstrapped .NET Core API Docker project?

I'm looking into using Skaffold.dev to improve my development experience with Kubernetes. I've created a default .NET API project and it's autogenerated my docker file: #See https://aka.ms/containerfastmode to understand how Visual Studio uses this…
penguinflip
  • 1,057
  • 1
  • 9
  • 19
2
votes
2 answers

Skaffold dev just hangs with first deploy message failure

I am adding a NextJS frontend to my Kubernetes cluster. I added the following file: apiVersion: apps/v1 kind: Deployment metadata: name: client-depl spec: replicas: 1 selector: matchLabels: app: client template: metadata: …
Daniel
  • 14,004
  • 16
  • 96
  • 156
2
votes
3 answers

Kubernetes - Ingress: Error: connect ECONNREFUSED 127.0.0.1:80

I am trying to run ingress on minikube. I am running on Ubnutu 18.04. I am interested in nginx-ingress from: https://kubernetes.github.io/ingress-nginx/deploy/ I have simple test service which is running on port 3000 inside docker container. This…
Mateusz Gebroski
  • 1,274
  • 3
  • 26
  • 57
2
votes
2 answers

GCP credentials with skaffold for local development

What is the standard approach to getting GCP credentials into k8s pods when using skaffold for local development? When I previously used docker compose and aws it was easy to volume mount the ~/.aws folder to the container and everything just…
Marty Young
  • 167
  • 10
2
votes
1 answer

skaffold init with helm charts

I'm trying to perform skaffold init. I'm getting this message: FATA[0000] one or more valid Kubernetes manifests is required to run skaffold I guess skaffold is looking for kubernetes manifests. However, I'm using helm charts in order to run and…
Jordi
  • 20,868
  • 39
  • 149
  • 333
2
votes
2 answers

Tie skaffold profile to cluster

Building off another one of my questions about tying profiles to namespaces, is there a way to tie profiles to clusters? I've found a couple times now that I accidentally run commands like skaffold run -p local -n skeleton when my current kubernetes…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
2
votes
2 answers

Building multi-architecture docker images with Skaffold

I've been able to get two awesome technologies to work independently. Skaffold BuildX Unfortunatly I don't know how to use them both at the same time. I'm currently building and testing on my laptop (amd), then deploying to a Raspberri Pi 4…
MaybeARabbit
  • 41
  • 1
  • 3
2
votes
0 answers

skaffold init using docker compose configuration fails with "Nil Pointer Dereference" error

I am trying to generate skaffold configuration for docker-compose configuration using the following init command + skaffold init --compose-file docker-compose.yml --verbosity=info Expected behavior: The command should generate k8s manifests based…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
2
votes
0 answers

skaffold init is not supporting helm config files

I am trying to generate skaffold config for docker-compose.yml file using the following command, skaffold init --compose-file docker-compose.yml --verbosity='info' This fails with "Invalid k8s yaml" error. Please find below the error…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
2
votes
0 answers

Unable to run docker-compose file through skaffold in Openshift

I am trying to run docker-compose file through skaffold using the following command in Openshift, skaffold init --compose-file docker-compose.yaml This fails while building the project in Jenkins with the following error, + skaffold init…
Bhavani Prasad
  • 1,079
  • 1
  • 9
  • 26
2
votes
1 answer

Kubernetes env variables not working in sequelize-cli

I'm trying to run the following command: npx sequelize-cli db:migrate sequelize-cli uses a ./config/config.js file that contains the following: module.exports = { username: process.env.PGUSER, host: process.env.PGHOST, database:…
cjones
  • 8,384
  • 17
  • 81
  • 175
1
vote
0 answers

skaffold dev does not start my react native application

Before I wrapped up my client folder inside of docker, kubernetes and skaffold i created an expo project and was able to run it using npm start and then pressed i to run the ios simulator. However, since everything is wrapped up inside of docker,…
1
vote
1 answer

Skaffold on Apple M1 with Docker: How to ensure Rosetta 2 is being used instead of QEMU emulator?

I have an M1 machine (arch arm64) and tI'mrying to build a docker-image with platform=linux/amd64. When I try to build from the terminal as follwoing: docker build --platform linux/amd64 . it works properly. When I try to build through Skaffold…
Shady Smaoui
  • 867
  • 9
  • 11