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

Skaffold remote deployment does not push to container registry

In the skaffold documentation it says it will auto-detect a local cluster based upon the kubernetes context and, if it is not a local-cluster, it will push to a container repo. I am running skaffold on a Mac, I do not see that behavior. When I run…
Mike Nishizawa
  • 1,410
  • 1
  • 14
  • 14
0
votes
1 answer

Skaffold and microk8s -- getting started -- x509: certificate signed by unknown authority

Try to get started with skaffold, hitting lots of issues. So I went back to basics and tried to get the examples running: cloned https://github.com/GoogleContainerTools/skaffold ran cd ~/git/skaffold/examples/getting-started/ and then tried to get…
Ali W
  • 366
  • 2
  • 7
0
votes
1 answer

Using Verdaccio Registry with Skaffold

** edit - important detail: verdaccio is also running in a docker container. Issue seems to be container to container communication. I have the npm registry set to localhost but I think it's trying to connect to localhost in the container's context…
0
votes
1 answer

How can I mount a docker config file with Skaffold?

I want to use the Prometheus image to deploy a container as part of the local deployment. Usually one has to run the container with volume and bind-mount to get the configuration file (prometheus.yml) into the container: docker run \ -p…
thinwybk
  • 4,193
  • 2
  • 40
  • 76
0
votes
2 answers

How can I access a local FastAPI service with deployed with Skaffold?

Until now I developed Python applications locally using docker and docker-compose. Now I'd like to change my development workflow to use skaffold with docker as builder, with kubectl as deployer and with minikube for managing the local kubernetes…
thinwybk
  • 4,193
  • 2
  • 40
  • 76
0
votes
1 answer

sudo: unable to resolve host slave-node: Name or service not known when need to install skaffold on ubuntu 20

i want to use the skaffold in ubuntu 20 . i using this command for install : curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/latest/skaffold-linux-amd64 && \ sudo install skaffold /usr/local/bin/ and it complete downloaded but…
Mr-Programer
  • 541
  • 3
  • 8
  • 21
0
votes
1 answer

Why is skaffold failing when rebuilding containers in skaffold dev?

I'm trying to learn more about Kubernetes and related tools. This time I'm trying to learn how I can set up a local dev environment using skaffold. However, I'm experiencing some errors during skaffold dev that happen on rebuild only, not on the…
Tomasz Gałkowski
  • 1,841
  • 4
  • 24
  • 39
0
votes
1 answer

Kubernetes Ingress Skaffold Documentation

I am trying to add ingress to my Kubernetes documentation. I was able to add the ingress.yaml file, and there is plenty of documentation on ingress.yaml, but I am using a skaffold.yaml to handle the nitty-gritty of the Kubernetes deployment. And I…
ZanyCactus
  • 79
  • 2
  • 10
0
votes
1 answer

Minikube node not ready after running skaffold dev - happens repeatedly

I'm running skaffold dev and minikube keeps getting stuck. I can stop and start minikube and it generally recovers. Is the warning ContainerGCFailed the issue, or should I be investigating: PLEG is not healthy: pleg was last seen active…
Rod McCutcheon
  • 201
  • 4
  • 21
0
votes
1 answer

Ambiguous warning : "WARN[0064] image [gcr.io/wired-benefit-XXXXX/demoapp] is not used by the deployment"

Expected behavior Stated warning should NOT be displayed. Actual behavior Every time I make a change and trigger a re-deployment, I get an error like: WARN[0064] image [gcr.io/wired-benefit-XXXXX/demoapp] is not used by the deployment Yet the…
Dhrubo
  • 705
  • 1
  • 14
  • 33
0
votes
2 answers

Extract pod logs during skaffold deploy

We run some automated tests against our app that's deployed locally (to a CI build agent) using k3s and skaffold. How can we view (stdout or file) the pod logs when we run skaffold deploy --status-check? (We've had errors during deployment that we…
Graham Russell
  • 997
  • 13
  • 24
0
votes
2 answers

Simultaneous deploying of replicas

With default settings, a deployment consisting of n replicas of a service will follow the below order during deploy: Start pod 1 -> Wait for pod 1 to be ready Once pod 1 is ready, start pod 2 -> Wait for pod 2 to be ready ... Once pod n-1 is…
Damian
  • 79
  • 1
  • 11
0
votes
2 answers

Using Kubernetes with Skaffold and running Next JS produces "Your connection is not private" under HTTPS in Chrome

I'm running Skaffold with a few apps in Development : Skaffold.yaml apiVersion: skaffold/v2alpha3 kind: Config deploy: kubectl: manifests: - ./infra/k8s/* build: local: push: false artifacts: - image: MYDOCKERID/client …
JAN
  • 21,236
  • 66
  • 181
  • 318
0
votes
1 answer

How to analyse Minikube leakage of storage?

I have a local cluster with 2 PV 1 For a mysql dump with a 20Gb 1 For Mongo db with around 10Gb A bunch of different services, mainly images around 400Mb or less, and 1 legacy of 2.1Gb image. I am running Skaffold + Minikube + VirtualBox I get the…
juan garcia
  • 1,326
  • 2
  • 23
  • 56
0
votes
1 answer

How to fix service PORT for minikube - skaffold local environment?

Currently I am using a local environment with Skaffold + Minikube and every time I start the cluster like this: skaffold dev -f='./skaffold-cluster.yaml' --no-prune=false --cache-artifacts=false --status-check=false I get a bunch of services that…
juan garcia
  • 1,326
  • 2
  • 23
  • 56