Skip to content

Instantly share code, notes, and snippets.

@wppurking
Created December 15, 2019 17:34
Show Gist options
  • Save wppurking/2cb81d88e34b38a1450fb6f83cc639dd to your computer and use it in GitHub Desktop.
Save wppurking/2cb81d88e34b38a1450fb6f83cc639dd to your computer and use it in GitHub Desktop.
集群构建日志
wyatt@mbp:examples/kaniko ‹master*›$ skaffold run --tail
Generating tags...
- wppurking/skaffold-example -> wppurking/skaffold-example:00b8d53-dirty
Checking cache...
- wppurking/skaffold-example: Not found. Building
Creating kaniko secret [default/kaniko-secret]...
Creating docker config secret [docker-cfg]...
Building [wppurking/skaffold-example]...
Uploading sources to wp-skaffold-kaniko GCS bucket
INFO[0001] Resolved base name golang:1.12.9-alpine3.10 to golang:1.12.9-alpine3.10
INFO[0001] Resolved base name alpine:3.10 to alpine:3.10
INFO[0001] Resolved base name golang:1.12.9-alpine3.10 to golang:1.12.9-alpine3.10
INFO[0001] Resolved base name alpine:3.10 to alpine:3.10
INFO[0001] Downloading base image golang:1.12.9-alpine3.10
INFO[0001] Error while retrieving image from cache: getting file info: stat /cache/sha256:39f9d94d45e404c98c3aa3c9b2406185f46ffddefeb45cdd9b778024626302fc: no such file or directory
INFO[0001] Downloading base image golang:1.12.9-alpine3.10
INFO[0002] Downloading base image alpine:3.10
INFO[0002] Error while retrieving image from cache: getting file info: stat /cache/sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a: no such file or directory
INFO[0002] Downloading base image alpine:3.10
INFO[0002] Built cross stage deps: map[0:[/app]]
INFO[0002] Downloading base image golang:1.12.9-alpine3.10
INFO[0003] Error while retrieving image from cache: getting file info: stat /cache/sha256:39f9d94d45e404c98c3aa3c9b2406185f46ffddefeb45cdd9b778024626302fc: no such file or directory
INFO[0003] Downloading base image golang:1.12.9-alpine3.10
INFO[0003] Using files from context: [/kaniko/buildcontext/main.go]
INFO[0003] Checking for cached layer skaffold-example-cache:69fd5efd7a1027794798235d0eb06efb89e380ca7f1347b19e4b0668b1ffd540...
INFO[0004] No cached layer found for cmd RUN go build -o /app main.go
INFO[0004] Unpacking rootfs as cmd RUN go build -o /app main.go requires it.
INFO[0012] Taking snapshot of full filesystem...
INFO[0015] Using files from context: [/kaniko/buildcontext/main.go]
INFO[0015] COPY main.go .
INFO[0015] Taking snapshot of files...
INFO[0015] RUN go build -o /app main.go
INFO[0015] cmd: /bin/sh
INFO[0015] args: [-c go build -o /app main.go]
INFO[0015] Taking snapshot of full filesystem...
INFO[0017] Pushing layer skaffold-example-cache:69fd5efd7a1027794798235d0eb06efb89e380ca7f1347b19e4b0668b1ffd540 to cache now
WARN[0017] error uploading layer to cache: failed to push to destination index.docker.io/library/skaffold-example-cache:69fd5efd7a1027794798235d0eb06efb89e380ca7f1347b19e4b0668b1ffd540: unsupported status code 401
INFO[0017] Saving file /app for later use.
INFO[0017] Deleting filesystem...
INFO[0017] Downloading base image alpine:3.10
INFO[0018] Error while retrieving image from cache: getting file info: stat /cache/sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a: no such file or directory
INFO[0018] Downloading base image alpine:3.10
INFO[0018] Skipping unpacking as no commands require it.
INFO[0018] Taking snapshot of full filesystem...
INFO[0018] CMD ["./app"]
INFO[0018] No files changed in this command, skipping snapshotting.
INFO[0018] COPY --from=builder /app .
INFO[0018] Taking snapshot of files...
Tags used in deployment:
- wppurking/skaffold-example -> wppurking/skaffold-example:00b8d53-dirty@sha256:e6cf9989fbe89bd65158042cd2836f14ffe62850e92170b8755832f2ab2c71b5
Starting deploy...
- pod/getting-started-kaniko configured
[getting-started-kaniko getting-started] Hello world! 999999999
[getting-started-kaniko getting-started] Hello world! 999999999
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment