Skip to content

Instantly share code, notes, and snippets.

@benmoss
Created July 12, 2022 21:11
Show Gist options
  • Save benmoss/deea6b60ffada137c96f005e50e30dba to your computer and use it in GitHub Desktop.
Save benmoss/deea6b60ffada137c96f005e50e30dba to your computer and use it in GitHub Desktop.
Target cluster 'https://192.168.49.2:8443' (nodes: minikube)
kapp-controller | starting build (using Docker buildx): . -> kbld:rand-1657660239543202722-1855444247139-kapp-controller
kapp-controller | #1 [internal] load build definition from Dockerfile
kapp-controller | #1 transferring dockerfile: 32B done
kapp-controller | #1 DONE 0.0s
kapp-controller |
kapp-controller | #2 [internal] load .dockerignore
kapp-controller | #2 transferring context: 34B done
kapp-controller | #2 DONE 0.0s
kapp-controller |
kapp-controller | #3 [internal] load metadata for docker.io/library/golang:1.18.3
kapp-controller | #3 DONE 0.3s
kapp-controller |
kapp-controller | #4 [internal] load metadata for docker.io/library/photon:4.0
kapp-controller | #4 DONE 0.3s
kapp-controller |
kapp-controller | #5 [stage-1 1/6] FROM docker.io/library/photon:4.0@sha256:eda7701c8c132956af6cb10f06d643bb1e76f372c750422f2975688ca1f9b3d1
kapp-controller | #5 DONE 0.0s
kapp-controller |
kapp-controller | #6 [deps 1/9] FROM docker.io/library/golang:1.18.3@sha256:a4198105fa93307af7518b497fc703ebbc6693ee5455ccf34e263cc545c38aa6
kapp-controller | #6 resolve docker.io/library/golang:1.18.3@sha256:a4198105fa93307af7518b497fc703ebbc6693ee5455ccf34e263cc545c38aa6 done
kapp-controller | #6 DONE 0.0s
kapp-controller |
kapp-controller | #7 [internal] load build context
kapp-controller | #7 transferring context: 559.25kB 0.3s done
kapp-controller | #7 DONE 0.3s
kapp-controller |
kapp-controller | #8 [deps 2/9] WORKDIR /workspace
kapp-controller | #8 CACHED
kapp-controller |
kapp-controller | #9 [deps 3/9] COPY ./hack/dependencies.* ./hack/
kapp-controller | #9 CACHED
kapp-controller |
kapp-controller | #10 [deps 4/9] COPY go.* ./
kapp-controller | #10 CACHED
kapp-controller |
kapp-controller | #11 [deps 5/9] COPY vendor vendor
kapp-controller | #11 CACHED
kapp-controller |
kapp-controller | #12 [deps 6/9] RUN mkdir out
kapp-controller | #12 CACHED
kapp-controller |
kapp-controller | #13 [deps 7/9] RUN go run ./hack/dependencies.go install -d out --arch amd64 --os linux
kapp-controller | #13 CACHED
kapp-controller |
kapp-controller | #14 [deps 8/9] COPY . .
kapp-controller | #14 DONE 0.5s
kapp-controller |
kapp-controller | #15 [deps 9/9] RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=linux GOSARCH=amd64 go build -mod=vendor -ldflags="-X 'main.Version=develop'" -trimpath -o out/kapp-controller ./cmd/controller
kapp-controller | #15 DONE 2.6s
kapp-controller |
kapp-controller | #16 [stage-1 2/6] RUN tdnf install -y git openssh-clients
kapp-controller | #16 CACHED
kapp-controller |
kapp-controller | #17 [stage-1 3/6] RUN echo "kapp-controller:x:1000:0:/home/kapp-controller:/usr/sbin/nologin" > /etc/passwd
kapp-controller | #17 CACHED
kapp-controller |
kapp-controller | #18 [stage-1 4/6] RUN chmod g+w /etc/pki/tls/certs
kapp-controller | #18 CACHED
kapp-controller |
kapp-controller | #19 [stage-1 5/6] RUN cp /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt.orig
kapp-controller | #19 CACHED
kapp-controller |
kapp-controller | #20 [stage-1 6/6] COPY --from=deps /workspace/out/* ./
kapp-controller | #20 DONE 0.3s
kapp-controller |
kapp-controller | #21 exporting to image
kapp-controller | #21 exporting layers
kapp-controller | #21 exporting layers 0.8s done
kapp-controller | #21 writing image sha256:eb7ca4aff7facbb083d10c48283f17388cb5478f1042bf0794c951fa1e6a3dd2 done
kapp-controller | #21 naming to docker.io/library/kbld:rand-1657660239543202722-1855444247139-kapp-controller done
kapp-controller | #21 DONE 0.8s
kapp-controller | Untagged: kbld:rand-1657660239543202722-1855444247139-kapp-controller
kapp-controller | finished build (using Docker buildx)
resolve | final: kapp-controller -> kbld:kapp-controller-sha256-eb7ca4aff7facbb083d10c48283f17388cb5478f1042bf0794c951fa1e6a3dd2
@@ update deployment/kapp-controller (apps/v1) namespace: kapp-controller @@
...
13, 13 sha: 8409bab24e7337ac3fd7527edd8fdb03f58b0c59
14 - url: kbld:kapp-controller-sha256-2c5aee5e26765cb2f84aa8d1deb627990a0120303437efb8e7fe8a6fead4029c
14 + url: kbld:kapp-controller-sha256-eb7ca4aff7facbb083d10c48283f17388cb5478f1042bf0794c951fa1e6a3dd2
15, 15 creationTimestamp: "2022-07-12T19:53:07Z"
16, 16 generation: 28
...
251,251 value: "10350"
252 - image: kbld:kapp-controller-sha256-2c5aee5e26765cb2f84aa8d1deb627990a0120303437efb8e7fe8a6fead4029c
252 + image: kbld:kapp-controller-sha256-eb7ca4aff7facbb083d10c48283f17388cb5478f1042bf0794c951fa1e6a3dd2
253,253 name: kapp-controller
254,254 ports:
...
278,278 value: /etc/kappctrl-mem-tmp/sidecarexec.sock
279 - image: kbld:kapp-controller-sha256-2c5aee5e26765cb2f84aa8d1deb627990a0120303437efb8e7fe8a6fead4029c
279 + image: kbld:kapp-controller-sha256-eb7ca4aff7facbb083d10c48283f17388cb5478f1042bf0794c951fa1e6a3dd2
280,280 name: kapp-controller-sidecarexec
281,281 resources:
Changes
Namespace Name Kind Age Op Op st. Wait to Rs Ri
kapp-controller kapp-controller Deployment 1h update - reconcile ok -
Op: 0 create, 0 delete, 1 update, 0 noop, 0 exists
Wait to: 1 reconcile, 0 delete, 0 noop
5:10:46PM: ---- applying 1 changes [0/1 done] ----
5:10:47PM: update deployment/kapp-controller (apps/v1) namespace: kapp-controller
5:10:47PM: ---- waiting on 1 changes [0/1 done] ----
5:10:47PM: ongoing: reconcile deployment/kapp-controller (apps/v1) namespace: kapp-controller
5:10:47PM: ^ Waiting for generation 30 to be observed
5:10:47PM: L ok: waiting on replicaset/kapp-controller-8d444864d (apps/v1) namespace: kapp-controller
5:10:47PM: L ok: waiting on replicaset/kapp-controller-67699fdf44 (apps/v1) namespace: kapp-controller
5:10:47PM: L ongoing: waiting on pod/kapp-controller-8d444864d-b7p64 (v1) namespace: kapp-controller
5:10:47PM: ^ Pending: ContainerCreating
5:10:47PM: L ok: waiting on pod/kapp-controller-67699fdf44-cvvn6 (v1) namespace: kapp-controller
5:10:48PM: ok: reconcile deployment/kapp-controller (apps/v1) namespace: kapp-controller
5:10:48PM: ---- applying complete [1/1 done] ----
5:10:48PM: ---- waiting complete [1/1 done] ----
Succeeded
Skipping secretgen-controller deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment