You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a duplicate of #961, but I am seeing this issue independently of basel artifacts or helm deployments so seemed like a good idea to report as a new issue.
Expected behavior
I should be able to use skaffold dev to watch my source repo directory and automatically deploy changes.
Actual behavior
skaffold dev immediately exits with an error. I am able to deploy changes manually using skaffold run. This seems to happen consistently with every project I've tried.
Here's some console output when I try this with the setup in examples/helm-deployment:
$ skaffold run
Starting build...
Found [minikube] context, using local docker daemon.
Building [gcr.io/k8s-skaffold/skaffold-helm]...
2018/09/11 10:13:11 No matching credentials found for index.docker.io, falling back on anonymous
Sending build context to Docker daemon 2.048kB
Step 1/1 : FROM nginx:stable
stable: Pulling from library/nginx
802b00ed6f79: Pulling fs layer
ed418bf9bf60: Pulling fs layer
94fedb7de3b4: Pulling fs layer
94fedb7de3b4: Verifying Checksum
94fedb7de3b4: Download complete
802b00ed6f79: Verifying Checksum
802b00ed6f79: Download complete
ed418bf9bf60: Verifying Checksum
ed418bf9bf60: Download complete
802b00ed6f79: Pull complete
ed418bf9bf60: Pull complete
94fedb7de3b4: Pull complete
Digest: sha256:2fa968a4b4013c2521115f6dde277958cf03229b95f13a0c8df831d3eca1aa61
Status: Downloaded newer image for nginx:stable
---> 86898218889a
Successfully built 86898218889a
Successfully tagged 7f1dc414a8d3350fda5f71e15321cb98:latest
Build complete in 9.631506389s
Starting deploy...
Error: release: "skaffold-helm" not found
Helm release skaffold-helm not installed. Installing...
No requirements found in skaffold-helm/charts.
NAME: skaffold-helm
LAST DEPLOYED: Tue Sep 11 10:13:19 2018
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
skaffold-helm-skaffold-helm ClusterIP 10.103.26.183 <none> 80/TCP 1s
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
skaffold-helm 1 1 1 0 1s
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
skaffold-helm-594bb494b9-69t66 0/1 ContainerCreating 0 0s
Deploy complete in 933.794901ms
$ skaffold dev
Cleaning up...
release "skaffold-helm" deleted
Cleanup complete in 1.282362725s
FATA[0002] watching files for deployer: listing files: unable to stat file : stat : no such file or directory
Information
Skaffold version: v0.13.0
Operating system: macOS High Sierra 10.13.6
Contents of skaffold.yaml: examples/helm-deployment/skaffold.yml
Steps to reproduce the behavior
Clone this repo and go to examples/helm-deployment
skaffold run successfully builds and deploys the app
skaffold dev exits with error
The text was updated successfully, but these errors were encountered:
#930 seems to describe a similar issue, so I set up a dummy values file to use as a valuesFilePath in skaffold.yaml. Once configured, skaffold dev works as expected.
$ cat helm-skaffold-values.yaml
# Need this to prevent a bug
statWorkaround: true
Expected behavior
I should be able to use
skaffold dev
to watch my source repo directory and automatically deploy changes.Actual behavior
skaffold dev
immediately exits with an error. I am able to deploy changes manually usingskaffold run
. This seems to happen consistently with every project I've tried.Here's some console output when I try this with the setup in
examples/helm-deployment
:Information
Steps to reproduce the behavior
examples/helm-deployment
skaffold run
successfully builds and deploys the appskaffold dev
exits with errorThe text was updated successfully, but these errors were encountered: