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
0
votes
3 answers
Skaffold vs Spinnaker
I've read about two approaches (there are probably more) for implementing continuous delivery pipelines in GCP:
Skaffold
Spinnaker + Container Builder
I've worked with both a little bit in Quiklabs. If someone has real experience with both, could…

Peter
- 1,512
- 1
- 22
- 40
0
votes
1 answer
Skaffold: AMD64 dev machine (Mac), remote cluster ARM64 is picking AMD64 images
Following Building multi-architecture docker images with Skaffold, I've been able to successfully continue building my multi-architecture (AMD64 and ARM64) images.
However, it looks like the kubernetes cluster ends up pulling the AMD64 image, as I'm…

twilson
- 2,062
- 14
- 19
0
votes
1 answer
Skaffold dev works with minikube only. Other on-prem cluster fails
I have a Spring Boot app with jib-maven configured
POM
com.google.cloud.tools
jib-maven-plugin
2.1.0
openjdk:11-jre-slim
…

Navigator
- 2,871
- 4
- 17
- 27
0
votes
1 answer
skaffold with kaniko: registry address not resolved
I've deployed a registry service into a namespace registry:
$ helm install registry stable/docker-registry
Service:
$ kubectl get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
registry-docker-registry …

Jordi
- 20,868
- 39
- 149
- 333
0
votes
3 answers
skaffold/kaniko: Get access to service from another namespace
I've deployed a registry service into a namespace registry:
$ kubectl get service -n registry
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
registry-docker-registry ClusterIP 10.43.119.11 …

Jordi
- 20,868
- 39
- 149
- 333
0
votes
1 answer
Skaffold with non-blocking program
Say I want to deploy a pod with skaffold that will not contain a continuously running/blocking program. E.g. take the getting started example and change main.go to:
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello…

lsimmons
- 677
- 1
- 8
- 22
0
votes
1 answer
Does skaffold respect rolling updates?
Does skaffold respect rolling updates when the --force option is used? When I execute skaffold run --force with
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 3
It seems that surge…

Paymahn Moghadasian
- 9,301
- 13
- 56
- 94
0
votes
0 answers
Skaffold with minikube and local registry failed to get the image name
Since I have upgraded helm, Skaffold and Minikube to the latest version, my local project has been failed to get deployed to minikube with the following warning:
Listing files to watch...
- tect-cicd
Generating tags...
- tect-cicd ->…

Ali
- 1,759
- 2
- 32
- 69
0
votes
1 answer
Kubernetes cluster not pulling images created by Skaffold
This is my skaffold file:
apiVersion: skaffold/v1
kind: Config
metadata:
name: app-skaffold
build:
artifacts:
- image: myappservice
context: api-server
deploy:
helm:
releases:
- name: myapp
chartPath: chart/myapp
And in my…

RottenCheese
- 869
- 2
- 12
- 18
0
votes
1 answer
env vars in postgres deployment not working
First off, I'm pretty sure I know why this isn't working: I'm pulling the Docker postgres:11-alpine image, modifying it, but then trying to change the env: in the k8s deployment.yaml on a custom image. I think that is the issue.
Basically, I'm…

cjones
- 8,384
- 17
- 81
- 175
0
votes
2 answers
Setting postgres environmental variables running image
As the documentation shows, you should be setting the env vars when doing a docker run like the following:
docker run --name some-postgres -e POSTGRES_PASSWORD='foo' POSTGRES_USER='bar'
This sets the superuser and password to access the database…

cjones
- 8,384
- 17
- 81
- 175
0
votes
1 answer
GET to API works in browser, but doesn't with Postman
Setting up a Django API and running it with Skaffold in an Kubernetes environment.
minikube is running at the 192.168.99.105. Navigating to /api/auth/test/ should just respond with "Hello World!" as you see below.
However, when I try to do the same…

cjones
- 8,384
- 17
- 81
- 175
0
votes
1 answer
Kubernetes LoadBalancer Service not loadbalancing requests
I have a simple microservice setup running in a minikube cluster. It is inspired by this example.
My setup includes a simple router microservice that contains a golang webserver. What I want to test now is the loadbalancing when there is more then…

jrenk
- 1,387
- 3
- 24
- 46
0
votes
1 answer
How to name versioned images in skaffold.yml
I have a multi-module maven project (Spring Boot), I generate the docker images in using the JIB Maven Plugin but how should I name the images in scaffold? Im pushing to local docker repo and Skaffold afaik does not support templating. What is the…

Steven Smart
- 495
- 3
- 7
- 22
0
votes
2 answers
DNS in Kubernetes deployment not working as expected
I'm well versed in Docker, but must be doing something wrong here with K8. I'm running skaffold with minikube and trying to get DNS between containers working. Here's my deployment:
kind: Deployment
apiVersion: apps/v1
metadata:
name: my-api
…

Fmstrat
- 1,492
- 2
- 17
- 24