GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development
https://skaffold.dev/
Apache License 2.0
15.08k stars 1.63k forks source link

Cannot deploy with Helm #8021

Closed KoltesDigital closed 2 years ago

KoltesDigital commented 2 years ago

I've been trying for the past days to deploy / dev with Helm manifests. Although the steps are different, it may be a duplicate of #8020.

This occurs even on https://github.com/GoogleContainerTools/skaffold/tree/main/examples/helm-deployment!

Expected behavior

With the above example folder, skaffold dev should work.

Actual behavior

Well it doesn't, see log below.

I believe the error lies in these two lines:

time="2022-11-02T12:26:26+01:00" level=debug msg="Running command: [helm --kube-context k3d-something template skaffold-helm charts --post-renderer /usr/local/bin/skaffold --namespace something]" subtask=0 task=Render
time="2022-11-02T12:26:27+01:00" level=error subtask=0 task=Render

skaffold does not respect the contract Helm is expecting from a post-renderer, which is, a command which takes YAML in STDIN and generates YAML on STDOUT. skaffold doesn't care about STDIN, it only shows Skaffold's help text.

I think the actual command to use as post-renderer is skaffold render.

Information

Steps to reproduce the behavior

git clone https://github.com/GoogleContainerTools/skaffold.git
cd skaffold/examples/helm-deployment
skaffold dev -vtrace > out.log 2>&1

out.log:

time="2022-11-02T12:26:21+01:00" level=debug msg="skaffold API not starting as it's not requested" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=info msg="Skaffold &{Version:v2.0.1 ConfigVersion:skaffold/v3 GitVersion: GitCommit:214fbbf644a98a1de31636e3e3a7c3d6f54e98ea BuildDate:2022-10-27T14:46:30Z GoVersion:go1.19.1 Compiler:gc Platform:linux/amd64 User:}" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=info msg="Loaded Skaffold defaults from \"/home/someone/.skaffold/config\"" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=debug msg="found config for context \"k3d-something\"" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=debug msg="parsed 1 configs from configuration file /home/someone/projects/skaffold/examples/helm-deployment/skaffold.yaml" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=debug msg="Defaulting build type to local build" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=debug msg="Defaulting deploy type to kubectl" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=info msg="map entry found when executing locate for &{skaffold-helm . <nil> {0xc000b93290 <nil> <nil> <nil> <nil> <nil> <nil>} [] {[] []} []} of type *latest.Artifact and pointer: 824635524992" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct SkaffoldConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct Metadata" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct Pipeline" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct BuildConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct Artifact" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct ArtifactType" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct DockerArtifact" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct BuildHooks" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct TagPolicy" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct GitTagger" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct BuildType" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct LocalBuild" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct RenderConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct Generate" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct Helm" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct HelmDeployFlags" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct HelmRelease" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct HelmOverrides" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct RenderHooks" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct DeployConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct DeployType" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct KubectlDeploy" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct KubectlFlags" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct DeployHooks" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct LogsConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct JSONParseConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=trace msg="validating yamltags of struct ResourceSelectorConfig" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=info msg="Using kubectl context: k3d-something" subtask=-1 task=DevLoop
time="2022-11-02T12:26:21+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=info msg="Using local-cluster=true from config" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=trace msg="latest skaffold version: v2.0.1" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [minikube version --output=json]" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=trace msg="Minikube cluster not detected: starting command minikube version --output=json: exec: \"minikube\": executable file not found in $PATH" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="setting Docker user agent to skaffold-v2.0.1" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=info msg="manifests hydration will take place in /home/someone/projects/skaffold/examples/helm-deployment/.kpt-pipeline\n" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Running command: [kubectl config view --minify -o jsonpath='{..namespace}']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Command output: ['something']" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="CLI platforms provided: \"\"" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="platforms detected from active kubernetes cluster nodes: \"linux/amd64\"" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="platforms selected for artifact \"skaffold-helm\": \"linux/amd64\"" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="Using builder: local" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=debug msg="push value not present in NewBuilder, defaulting to false because cluster.PushImages is false" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=info msg="build concurrency first set to 1 parsed from *local.Builder[0]" subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=info msg="final build concurrency value is 1" subtask=-1 task=DevLoop
Listing files to watch...
 - skaffold-helm
time="2022-11-02T12:26:22+01:00" level=trace msg="Checking base image golang:1.18 for ONBUILD triggers." subtask=-1 task=DevLoop
time="2022-11-02T12:26:22+01:00" level=trace msg="Checking base image alpine:3.10 for ONBUILD triggers." subtask=-1 task=DevLoop
time="2022-11-02T12:26:25+01:00" level=trace msg="--> GET https://index.docker.io/v2/"
time="2022-11-02T12:26:25+01:00" level=trace msg="GET /v2/ HTTP/1.1"
time="2022-11-02T12:26:25+01:00" level=trace msg="Host: index.docker.io"
time="2022-11-02T12:26:25+01:00" level=trace msg="User-Agent: Go-http-client/1.1"
time="2022-11-02T12:26:25+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:25+01:00" level=trace msg="<-- 401 https://index.docker.io/v2/ (349.494342ms)"
time="2022-11-02T12:26:25+01:00" level=trace msg="HTTP/1.1 401 Unauthorized"
time="2022-11-02T12:26:25+01:00" level=trace msg="Content-Length: 87"
time="2022-11-02T12:26:25+01:00" level=trace msg="Content-Type: application/json"
time="2022-11-02T12:26:25+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:25+01:00" level=trace msg="Docker-Distribution-Api-Version: registry/2.0"
time="2022-11-02T12:26:25+01:00" level=trace msg="Strict-Transport-Security: max-age=31536000"
time="2022-11-02T12:26:25+01:00" level=trace msg="Www-Authenticate: Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\""
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:25+01:00" level=trace msg="{\"errors\":[{\"code\":\"UNAUTHORIZED\",\"message\":\"authentication required\",\"detail\":null}]}"
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:25+01:00" level=trace msg="--> GET https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io [body redacted: basic token response contains credentials]"
time="2022-11-02T12:26:25+01:00" level=trace msg="GET /token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io HTTP/1.1"
time="2022-11-02T12:26:25+01:00" level=trace msg="Host: auth.docker.io"
time="2022-11-02T12:26:25+01:00" level=trace msg="User-Agent: go-containerregistry/v0.8.1-0.20220209165246-a44adc326839"
time="2022-11-02T12:26:25+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:25+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="<-- 200 https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io (348.737513ms) [body redacted: basic token response contains credentials]"
time="2022-11-02T12:26:26+01:00" level=trace msg="HTTP/1.1 200 OK"
time="2022-11-02T12:26:26+01:00" level=trace msg="Transfer-Encoding: chunked"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Type: application/json; charset=utf-8"
time="2022-11-02T12:26:26+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Strict-Transport-Security: max-age=31536000"
time="2022-11-02T12:26:26+01:00" level=trace msg="X-Trace-Id: 57d9dff536c95b852963e6166657b4b5"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="--> GET https://index.docker.io/v2/library/alpine/manifests/3.10"
time="2022-11-02T12:26:26+01:00" level=trace msg="GET /v2/library/alpine/manifests/3.10 HTTP/1.1"
time="2022-11-02T12:26:26+01:00" level=trace msg="Host: index.docker.io"
time="2022-11-02T12:26:26+01:00" level=trace msg="User-Agent: go-containerregistry/v0.8.1-0.20220209165246-a44adc326839"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept: application/vnd.docker.distribution.manifest.v1+json,application/vnd.docker.distribution.manifest.v1+prettyjws,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.oci.image.index.v1+json"
time="2022-11-02T12:26:26+01:00" level=trace msg="Authorization: <redacted>"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="<-- 200 https://index.docker.io/v2/library/alpine/manifests/3.10 (126.997575ms)"
time="2022-11-02T12:26:26+01:00" level=trace msg="HTTP/1.1 200 OK"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Length: 1638"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Type: application/vnd.docker.distribution.manifest.list.v2+json"
time="2022-11-02T12:26:26+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Content-Digest: sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Distribution-Api-Version: registry/2.0"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Ratelimit-Source: 130.180.215.55"
time="2022-11-02T12:26:26+01:00" level=trace msg="Etag: \"sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98\""
time="2022-11-02T12:26:26+01:00" level=trace msg="Ratelimit-Limit: 100;w=21600"
time="2022-11-02T12:26:26+01:00" level=trace msg="Ratelimit-Remaining: 96;w=21600"
time="2022-11-02T12:26:26+01:00" level=trace msg="Strict-Transport-Security: max-age=31536000"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="{\"manifests\":[{\"digest\":\"sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"amd64\",\"os\":\"linux\"},\"size\":528},{\"digest\":\"sha256:84e8addd56c3503fb47f09a15b43d86941edbde01be564c1539a245323fdad84\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"arm\",\"os\":\"linux\",\"variant\":\"v6\"},\"size\":528},{\"digest\":\"sha256:b59695fbd1b1a31fe1a39a771b38f2637fa19090bb97e9eb8e80d53292ea55d1\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"arm\",\"os\":\"linux\",\"variant\":\"v7\"},\"size\":528},{\"digest\":\"sha256:f73072b1ae04902f4d7511b834a1ea2d0475ddf6f87bd81f06e2b4590974a2e5\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"arm64\",\"os\":\"linux\",\"variant\":\"v8\"},\"size\":528},{\"digest\":\"sha256:591118c9bc1ccd06bc6f91a3949d63b3a5a3f09d4650c86e362a851645d2895d\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"386\",\"os\":\"linux\"},\"size\":528},{\"digest\":\"sha256:a9c83f261a7701298b71372746160558f9dfdb8290938c4e6ffd57fa3a0690c8\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"ppc64le\",\"os\":\"linux\"},\"size\":528},{\"digest\":\"sha256:25a240f2ac2dd7f7267b6e93d0c291b7e05ca63a3d455e57bc414a048ec8c3f3\",\"mediaType\":\"application\\/vnd.docker.distribution.manifest.v2+json\",\"platform\":{\"architecture\":\"s390x\",\"os\":\"linux\"},\"size\":528}],\"mediaType\":\"application\\/vnd.docker.distribution.manifest.list.v2+json\",\"schemaVersion\":2}"
time="2022-11-02T12:26:26+01:00" level=trace msg="--> GET https://index.docker.io/v2/library/alpine/manifests/sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c"
time="2022-11-02T12:26:26+01:00" level=trace msg="GET /v2/library/alpine/manifests/sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c HTTP/1.1"
time="2022-11-02T12:26:26+01:00" level=trace msg="Host: index.docker.io"
time="2022-11-02T12:26:26+01:00" level=trace msg="User-Agent: go-containerregistry/v0.8.1-0.20220209165246-a44adc326839"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept: application/vnd.docker.distribution.manifest.v2+json"
time="2022-11-02T12:26:26+01:00" level=trace msg="Authorization: <redacted>"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="<-- 200 https://index.docker.io/v2/library/alpine/manifests/sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c (123.926669ms)"
time="2022-11-02T12:26:26+01:00" level=trace msg="HTTP/1.1 200 OK"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Length: 528"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Type: application/vnd.docker.distribution.manifest.v2+json"
time="2022-11-02T12:26:26+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Content-Digest: sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Distribution-Api-Version: registry/2.0"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Ratelimit-Source: 130.180.215.55"
time="2022-11-02T12:26:26+01:00" level=trace msg="Etag: \"sha256:e515aad2ed234a5072c4d2ef86a1cb77d5bfe4b11aa865d9214875734c4eeb3c\""
time="2022-11-02T12:26:26+01:00" level=trace msg="Ratelimit-Limit: 100;w=21600"
time="2022-11-02T12:26:26+01:00" level=trace msg="Ratelimit-Remaining: 95;w=21600"
time="2022-11-02T12:26:26+01:00" level=trace msg="Strict-Transport-Security: max-age=31536000"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="{"
time="2022-11-02T12:26:26+01:00" level=trace msg="   \"schemaVersion\": 2,"
time="2022-11-02T12:26:26+01:00" level=trace msg="   \"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\","
time="2022-11-02T12:26:26+01:00" level=trace msg="   \"config\": {"
time="2022-11-02T12:26:26+01:00" level=trace msg="      \"mediaType\": \"application/vnd.docker.container.image.v1+json\","
time="2022-11-02T12:26:26+01:00" level=trace msg="      \"size\": 1472,"
time="2022-11-02T12:26:26+01:00" level=trace msg="      \"digest\": \"sha256:e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a\""
time="2022-11-02T12:26:26+01:00" level=trace msg="   },"
time="2022-11-02T12:26:26+01:00" level=trace msg="   \"layers\": ["
time="2022-11-02T12:26:26+01:00" level=trace msg="      {"
time="2022-11-02T12:26:26+01:00" level=trace msg="         \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\","
time="2022-11-02T12:26:26+01:00" level=trace msg="         \"size\": 2798338,"
time="2022-11-02T12:26:26+01:00" level=trace msg="         \"digest\": \"sha256:396c31837116ac290458afcb928f68b6cc1c7bdd6963fc72f52f365a2a89c1b5\""
time="2022-11-02T12:26:26+01:00" level=trace msg="      }"
time="2022-11-02T12:26:26+01:00" level=trace msg="   ]"
time="2022-11-02T12:26:26+01:00" level=trace msg="}"
time="2022-11-02T12:26:26+01:00" level=trace msg="--> GET https://index.docker.io/v2/library/alpine/blobs/sha256:e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a"
time="2022-11-02T12:26:26+01:00" level=trace msg="GET /v2/library/alpine/blobs/sha256:e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a HTTP/1.1"
time="2022-11-02T12:26:26+01:00" level=trace msg="Host: index.docker.io"
time="2022-11-02T12:26:26+01:00" level=trace msg="User-Agent: go-containerregistry/v0.8.1-0.20220209165246-a44adc326839"
time="2022-11-02T12:26:26+01:00" level=trace msg="Authorization: <redacted>"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="<-- 307 https://index.docker.io/v2/library/alpine/blobs/sha256:e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a (92.014009ms)"
time="2022-11-02T12:26:26+01:00" level=trace msg="HTTP/1.1 307 Temporary Redirect"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Type: application/octet-stream"
time="2022-11-02T12:26:26+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Docker-Distribution-Api-Version: registry/2.0"
time="2022-11-02T12:26:26+01:00" level=trace msg="Location: https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e7/e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a/data?verify=1667391386-0pWn7dJoxdnaPUh%2BDMfLk2nWT0Q%3D"
time="2022-11-02T12:26:26+01:00" level=trace msg="Strict-Transport-Security: max-age=31536000"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Length: 0"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="--> GET https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e7/e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a/data?verify=1667391386-0pWn7dJoxdnaPUh%2BDMfLk2nWT0Q%3D"
time="2022-11-02T12:26:26+01:00" level=trace msg="GET /registry-v2/docker/registry/v2/blobs/sha256/e7/e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a/data?verify=1667391386-0pWn7dJoxdnaPUh%2BDMfLk2nWT0Q%3D HTTP/1.1"
time="2022-11-02T12:26:26+01:00" level=trace msg="Host: production.cloudflare.docker.com"
time="2022-11-02T12:26:26+01:00" level=trace msg="User-Agent: go-containerregistry/v0.8.1-0.20220209165246-a44adc326839"
time="2022-11-02T12:26:26+01:00" level=trace msg="Referer: https://index.docker.io/v2/library/alpine/blobs/sha256:e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept-Encoding: gzip"
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="<-- 200 https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e7/e7b300aee9f9bf3433d32bc9305bfdd22183beb59d933b48d77ab56ba53a197a/data?verify=1667391386-0pWn7dJoxdnaPUh%2BDMfLk2nWT0Q%3D (72.731934ms)"
time="2022-11-02T12:26:26+01:00" level=trace msg="HTTP/2.0 200 OK"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Length: 1472"
time="2022-11-02T12:26:26+01:00" level=trace msg="Accept-Ranges: bytes"
time="2022-11-02T12:26:26+01:00" level=trace msg="Age: 26435"
time="2022-11-02T12:26:26+01:00" level=trace msg="Cache-Control: public, max-age=14400"
time="2022-11-02T12:26:26+01:00" level=trace msg="Cf-Cache-Status: HIT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Cf-Ray: 763c83e9aa4dd676-CDG"
time="2022-11-02T12:26:26+01:00" level=trace msg="Content-Type: application/octet-stream"
time="2022-11-02T12:26:26+01:00" level=trace msg="Date: Wed, 02 Nov 2022 11:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Etag: \"2649547e91981ea4e5f73a1a33d933d2\""
time="2022-11-02T12:26:26+01:00" level=trace msg="Expires: Wed, 02 Nov 2022 15:26:26 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Last-Modified: Wed, 14 Apr 2021 19:21:18 GMT"
time="2022-11-02T12:26:26+01:00" level=trace msg="Server: cloudflare"
time="2022-11-02T12:26:26+01:00" level=trace msg="Vary: Accept-Encoding"
time="2022-11-02T12:26:26+01:00" level=trace msg="X-Amz-Id-2: p6tDwea6Dgjt/VUxvZLMBwtYfytcry1Zy2ovY8i7wIbgI5hE6FIM0OEowE1l0NJb4B3kdXrQMVk="
time="2022-11-02T12:26:26+01:00" level=trace msg="X-Amz-Request-Id: B513XPBJDA46E9W6"
time="2022-11-02T12:26:26+01:00" level=trace msg="X-Amz-Version-Id: K4LeM5b7r9UuwmjmXG7Dh.7onnSGd._I"
time="2022-11-02T12:26:26+01:00" level=debug msg="Found dependencies for dockerfile: [{main.go /code true 3 3} {go.mod /code true 4 4}]" subtask=-1 task=DevLoop
time="2022-11-02T12:26:26+01:00" level=trace
time="2022-11-02T12:26:26+01:00" level=trace msg="{\"architecture\":\"amd64\",\"config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\"],\"Image\":\"sha256:eb2080c455e94c22ae35b3aef9e078c492a00795412e026e4d6b41ef64bc7dd8\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":null},\"container\":\"fdb7e80e3339e8d0599282e606c907aa5881ee4c668a68136119e6dfac6ce3a4\",\"container_config\":{\"Hostname\":\"fdb7e80e3339\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\",\"-c\",\"#(nop) \",\"CMD [\\\"/bin/sh\\\"]\"],\"Image\":\"sha256:eb2080c455e94c22ae35b3aef9e078c492a00795412e026e4d6b41ef64bc7dd8\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":{}},\"created\":\"2021-04-14T19:20:05.338397761Z\",\"docker_version\":\"19.03.12\",\"history\":[{\"created\":\"2021-04-14T19:20:04.987219124Z\",\"created_by\":\"/bin/sh -c #(nop) ADD file:c5377eaa926bf412dd8d4a08b0a1f2399cfd708743533b0aa03b53d14cb4bb4e in / \"},{\"created\":\"2021-04-14T19:20:05.338397761Z\",\"created_by\":\"/bin/sh -c #(nop)  CMD [\\\"/bin/sh\\\"]\",\"empty_layer\":true}],\"os\":\"linux\",\"rootfs\":{\"type\":\"layers\",\"diff_ids\":[\"sha256:9fb3aa2f8b8023a4bebbf92aa567caf88e38e969ada9f0ac12643b2847391635\"]}}"
time="2022-11-02T12:26:26+01:00" level=info msg="List generated in 4.112 seconds" subtask=-1 task=DevLoop
Generating tags...
 - skaffold-helm -> time="2022-11-02T12:26:26+01:00" level=debug msg="Running command: [git describe --tags --always]" subtask=-1 task=Build
time="2022-11-02T12:26:26+01:00" level=debug msg="Command output: [v2.0.1-5-g3ac63ca3b\n]" subtask=-1 task=Build
time="2022-11-02T12:26:26+01:00" level=debug msg="Running command: [git status . --porcelain]" subtask=-1 task=Build
time="2022-11-02T12:26:26+01:00" level=debug msg="Command output: [ M examples/helm-deployment/skaffold.yaml\n?? examples/helm-deployment/out.log\n]" subtask=-1 task=Build
skaffold-helm:v2.0.1-5-g3ac63ca3b-dirty
time="2022-11-02T12:26:26+01:00" level=info msg="Tags generated in 21.835561ms" subtask=-1 task=Build
Checking cache...
time="2022-11-02T12:26:26+01:00" level=debug msg="push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false" subtask=-1 task=DevLoop
 - skaffold-helm: time="2022-11-02T12:26:26+01:00" level=debug msg="push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false" subtask=-1 task=DevLoop
Found Locally
time="2022-11-02T12:26:26+01:00" level=debug msg="push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false" subtask=-1 task=DevLoop
time="2022-11-02T12:26:26+01:00" level=info msg="Cache check completed in 21.552313ms" subtask=-1 task=Build
time="2022-11-02T12:26:26+01:00" level=info msg="Starting render..." subtask=-1 task=DevLoop
time="2022-11-02T12:26:26+01:00" level=info msg="rendering using helm" subtask=0 task=Render
time="2022-11-02T12:26:26+01:00" level=debug msg="Executing template &{envTemplate 0xc000e95200 0xc000b948c0  } with environment map[HOME:/home/someone HOSTTYPE:x86_64 LANG:C.UTF-8 LESSCLOSE:/usr/bin/lesspipe %s %s LESSOPEN:| /usr/bin/lesspipe %s LOGNAME:root LS_COLORS:rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: NAME:JGiroux OLDPWD:/home/someone/projects PATH:/home/someone/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/WINDOWS:/mnt/c/WINDOWS/system32:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/tools:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/ImageMagick-7.1.0-Q16-HDRI:/mnt/c/Program Files/Eclipse Adoptium/jre-18.0.2.9-hotspot/bin:/mnt/c/Python38/Scripts/:/mnt/c/Python38/:/mnt/c/Python310/Scripts/:/mnt/c/Python310/:/mnt/c/Python39/Scripts/:/mnt/c/Python39/:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files (x86)/GitExtensions/:/mnt/d/Projects/vcpkg:/mnt/c/ProgramData/chocolatey/lib/argyll/tools/Argyll_V2.3.0/bin:/mnt/c/Program Files (x86)/QuickTime/QTSystem/:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files (x86)/Yarn/bin/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Program Files/PostgreSQL/14/bin:/mnt/c/Program Files/SSHFS-Win/bin:/mnt/c/ProgramData/chocolatey/lib/dada-transcoder/tools/DADA-TRANSCODER:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/JonathanGiroux/scoop/shims:/mnt/c/Users/JonathanGiroux/.cargo/bin:/mnt/c/Users/JonathanGiroux/AppData/Local/Microsoft/WindowsApps:/mnt/c/tools/Cmder:/mnt/c/Program Files/kdiff3:/mnt/c/Users/JonathanGiroux/.dotnet/tools:/mnt/c/Users/JonathanGiroux/AppData/Local/Programs/Fiddler:/mnt/c/Program Files (x86)/Nmap:/mnt/c/Users/JonathanGiroux/AppData/Roaming/npm:/mnt/c/Users/JonathanGiroux/AppData/Local/Yarn/bin:/mnt/c/Users/JonathanGiroux/.dotnet/tools:/snap/bin PWD:/home/someone/projects/skaffold/examples/helm-deployment SHELL:/bin/bash SHLVL:1 SSH_AGENT_PID:85 SSH_AUTH_SOCK:/tmp/ssh-XXXXXXqg4xIq/agent.84 TERM:xterm-256color USER:root WSLENV: WSL_DISTRO_NAME:dada WSL_INTEROP:/run/WSL/22317_interop XDG_DATA_DIRS:/usr/local/share:/usr/share:/var/lib/snapd/desktop _:/usr/local/bin/skaffold]" subtask=-1 task=DevLoop
time="2022-11-02T12:26:26+01:00" level=debug msg="EnvVarMap: map[DIGEST:skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 DIGEST_ALGO:skaffold-helm DIGEST_HEX:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 IMAGE_DIGEST: IMAGE_DOMAIN: IMAGE_NAME:skaffold-helm IMAGE_REPO:skaffold-helm IMAGE_REPO_NO_DOMAIN:skaffold-helm IMAGE_TAG:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5]\n" subtask=-1 task=DevLoop
time="2022-11-02T12:26:26+01:00" level=debug msg="Running command: [helm --kube-context k3d-something template skaffold-helm charts --post-renderer /usr/local/bin/skaffold --namespace something]" subtask=0 task=Render
time="2022-11-02T12:26:27+01:00" level=error subtask=0 task=Render
time="2022-11-02T12:26:27+01:00" level=debug msg="manifests with labels apiVersion: apps/v1\nkind: Deployment\nmetadata:\n  labels:\n    app: skaffold-helm\n    skaffold.dev/run-id: f012a083-9e7e-4d28-85f3-f4a151025285\n  name: skaffold-helm\nspec:\n  replicas: 2\n  selector:\n    matchLabels:\n      app: skaffold-helm\n  template:\n    metadata:\n      labels:\n        app: skaffold-helm\n        skaffold.dev/run-id: f012a083-9e7e-4d28-85f3-f4a151025285\n    spec:\n      containers:\n      - image: skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5\n        name: skaffold-helm" subtask=-1 task=DevLoop
time="2022-11-02T12:26:27+01:00" level=info msg="Render completed in 712.855271ms" subtask=-1 task=DevLoop
Tags used in deployment:
 - skaffold-helm -> skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5
time="2022-11-02T12:26:27+01:00" level=debug msg="push value not present in isImageLocal(), defaulting to false because cluster.PushImages is false" subtask=-1 task=DevLoop
time="2022-11-02T12:26:27+01:00" level=debug msg="Local images can't be referenced by digest.\nThey are tagged and referenced by a unique, local only, tag instead.\nSee https://skaffold.dev/docs/pipeline-stages/taggers/#how-tagging-works" subtask=-1 task=Deploy
Starting deploy...
time="2022-11-02T12:26:27+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
Loading images into k3d cluster nodes...
Images loaded in 116ns
time="2022-11-02T12:26:27+01:00" level=debug msg="Running command: [kubectl --context k3d-something --namespace something get -f - --ignore-not-found -ojson]" subtask=0 task=Deploy
time="2022-11-02T12:26:27+01:00" level=debug msg="Command output: []" subtask=0 task=Deploy
time="2022-11-02T12:26:27+01:00" level=debug msg="1 manifests to deploy. 1 are updated or new" subtask=0 task=Deploy
time="2022-11-02T12:26:27+01:00" level=debug msg="Running command: [kubectl --context k3d-something --namespace something apply -f -]" subtask=0 task=Deploy
 - deployment.apps/skaffold-helm created
time="2022-11-02T12:26:27+01:00" level=info msg="Deploy completed in 277.460651ms" subtask=-1 task=Deploy
Waiting for deployments to stabilize...
time="2022-11-02T12:26:27+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
time="2022-11-02T12:26:27+01:00" level=debug msg="getting client config for kubeContext: `k3d-something`" subtask=-1 task=DevLoop
time="2022-11-02T12:26:27+01:00" level=debug msg="checking status something:deployment/skaffold-helm" subtask=-1 task=Deploy
time="2022-11-02T12:26:28+01:00" level=debug msg="Running command: [kubectl --context k3d-something rollout status deployment skaffold-helm --namespace something --watch=false]" subtask=-1 task=Deploy
time="2022-11-02T12:26:28+01:00" level=debug msg="Command output: [Waiting for deployment \"skaffold-helm\" rollout to finish: 0 of 2 updated replicas are available...\n]" subtask=-1 task=Deploy
time="2022-11-02T12:26:28+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-8k6qd\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:28+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-2pdr7\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:29+01:00" level=debug msg="Running command: [kubectl --context k3d-something rollout status deployment skaffold-helm --namespace something --watch=false]" subtask=-1 task=Deploy
time="2022-11-02T12:26:29+01:00" level=debug msg="Command output: [Waiting for deployment \"skaffold-helm\" rollout to finish: 0 of 2 updated replicas are available...\n]" subtask=-1 task=Deploy
time="2022-11-02T12:26:29+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-8k6qd\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:29+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-2pdr7\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:30+01:00" level=debug msg="Running command: [kubectl --context k3d-something rollout status deployment skaffold-helm --namespace something --watch=false]" subtask=-1 task=Deploy
time="2022-11-02T12:26:30+01:00" level=debug msg="Command output: [Waiting for deployment \"skaffold-helm\" rollout to finish: 0 of 2 updated replicas are available...\n]" subtask=-1 task=Deploy
time="2022-11-02T12:26:30+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-2pdr7\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:30+01:00" level=debug msg="Pod \"skaffold-helm-67945dd5d4-8k6qd\" scheduled but not ready: checking container statuses" subtask=-1 task=DevLoop
time="2022-11-02T12:26:30+01:00" level=debug msg="marking resource failed due to error code STATUSCHECK_IMAGE_PULL_ERR" subtask=-1 task=Deploy
 - something:deployment/skaffold-helm: container skaffold-helm is waiting to start: skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 can't be pulled
    - something:pod/skaffold-helm-67945dd5d4-2pdr7: container skaffold-helm is waiting to start: skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 can't be pulled
    - something:pod/skaffold-helm-67945dd5d4-8k6qd: container skaffold-helm is waiting to start: skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 can't be pulled
 - something:deployment/skaffold-helm failed. Error: container skaffold-helm is waiting to start: skaffold-helm:0c531e689dba02eb7fc9ad56b96d3eaa448df48c4fc7fd11bd70fd8cfff82eb5 can't be pulled.
time="2022-11-02T12:26:30+01:00" level=debug msg="setting skaffold deploy status to STATUSCHECK_IMAGE_PULL_ERR." subtask=-1 task=Deploy
time="2022-11-02T12:26:30+01:00" level=trace msg="logAggregator: Stop() close channel" subtask=-1 task=DevLoop
Cleaning up...
time="2022-11-02T12:26:30+01:00" level=debug msg="Running command: [kubectl --context k3d-something --namespace something delete --ignore-not-found=true --wait=false -f -]" subtask=-1 task=DevLoop
 - deployment.apps "skaffold-helm" deleted
time="2022-11-02T12:26:30+01:00" level=info msg="Cleanup completed in 66.126967ms" subtask=-1 task=DevLoop
time="2022-11-02T12:26:30+01:00" level=debug msg="Running command: [tput colors]" subtask=-1 task=DevLoop
time="2022-11-02T12:26:30+01:00" level=debug msg="Command output: [256\n]" subtask=-1 task=DevLoop
1/1 deployment(s) failed
time="2022-11-02T12:26:30+01:00" level=debug msg="exporting metrics" subtask=-1 task=DevLoop
time="2022-11-02T12:26:31+01:00" level=debug msg="metrics uploading complete in 503.723274ms" subtask=-1 task=DevLoop
aaron-prindle commented 2 years ago

@KoltesDigital was this using k3d? There was a recent regression where Skaffold would not properly loading images into k3d and kind clusters. This root cause here is a dupe of https://github.com/GoogleContainerTools/skaffold/issues/7992, follow the issue there for more info/discussion. This should be resolved now @ HEAD with https://github.com/GoogleContainerTools/skaffold/pull/8007 and will be available in our next release to be released later this week

From the log lines -kube-context k3d-something

and the issue being related to unable to pull images (STATUSCHECK_IMAGE_PULL_ERR) I believe the cause here is identical to #8022. Closing this as this is resolve now @ HEAD