485 Commits

Author SHA1 Message Date
Benjamin Elder
8b6d8692c6 bump kindnetd image 2024-02-01 16:59:37 -08:00
Benjamin Elder
b8f7cfbccd bump local-path-provisioner image 2024-02-01 16:59:21 -08:00
Benjamin Elder
7c6a17b186 bump base image 2024-02-01 16:58:38 -08:00
Akihiro Suda
10c59fde3d kind build node-image: Support Docker v25.0.1
`docker save` in Docker v25 produces Docker/OCI dual-format archives:
- `repositories`, `manifest.json`: for legacy Docker format
- `oci-layout`, `index.json` (and blobs): for OCI format

However, `pkg/build/nodeimage/internal/container/docker.EditArchive` did not
support rewriting OCI Index.

This was resulting in producing broken images with Docker v25.
We can just drop `docker.EditArchive` and use `ctr images tag` instead.

See kubernetes/kubernetes issue 122894

NOTE: This is still incompatible with Docker v25.0.0 due to
moby/moby issue 47150. The issue was fixed in v25.0.1.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-25 09:03:56 +09:00
roman-kiselenko
56a52bacb8 node-image: add label pinned at the import action
Signed-off-by: roman-kiselenko <roman.kiselenko.dev@gmail.com>
2023-12-08 15:55:19 +03:00
Benjamin Elder
991ac8d4fa bump kindnetd 2023-08-31 12:44:28 -07:00
Benjamin Elder
30bcefa05e bump base image 2023-08-31 12:41:46 -07:00
Benjamin Elder
574e07aea1 bump base image 2023-05-25 16:28:22 -07:00
Benjamin Elder
7568bf7281 add workaround for misc controller on cgroups v1
refactor kind vs non kind bins and systemd files
2023-05-25 15:30:08 -07:00
Benjamin Elder
d13f301d36 make FindSource work even in CI without path_alias and without shelling out to go
go build context may shell out to go binary since go modules
2023-05-23 13:50:47 -07:00
Benjamin Elder
7cc81bec65 bump base image with containerd 1.7.1 2023-05-23 10:29:27 -07:00
Benjamin Elder
9959fca4e0 update base image 2023-05-19 14:44:44 -07:00
Benjamin Elder
65c9e71231 bump base image to latest 2023-05-11 17:57:35 -07:00
Benjamin Elder
b63ab8825a bump local-path images to latest 2023-05-11 14:19:20 -07:00
Benjamin Elder
cc5f3b6ef9 upgrade kindnetd image to latest 2023-05-11 14:19:20 -07:00
yanggang
6a7169806f Delete ioutil as it is Deprecated since Go 1.16
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-04-19 04:51:34 +08:00
Benjamin Elder
c7c65c41d7 don't use digests for preloaded images
the architecture specific digest will be recorded and they will need live access to the remote registry.
2023-04-18 12:47:12 -07:00
Benjamin Elder
bc2cacfed5 use ctr content fetch and capture errors 2023-04-07 23:25:05 -07:00
Benjamin Elder
f5e707b16d bump base image 2023-03-31 18:02:13 +00:00
Benjamin Elder
8273c83250 fix multi-arch builds 2023-03-29 23:32:27 -07:00
Benjamin Elder
5dd6ce3393 upgrade to latest storage provisioner images 2023-03-29 22:18:03 -07:00
Benjamin Elder
dcb18ceeeb bump kindnetd 2023-03-29 22:18:03 -07:00
Benjamin Elder
7da72e0cd6 update to latest base image 2023-03-29 18:57:33 -07:00
Benjamin Elder
787d0fb1c2 drop platforms we cannot test (s390x, ppc64le)
these are seriously slowing down builds, adding build flakes in CI due to emulation bugs, and we cannot locally test them nor do we have CI.

with very limited user demand, we're removing them.
2023-03-16 22:29:24 -07:00
Benjamin Elder
de373c5fc4 bump base image 2023-03-10 21:07:53 +00:00
Antonio Ojea
d46f45b63c bump local-path-helper kindest/local-path-helper:v20230227-8863bcd1 2023-02-27 20:56:31 +00:00
Antonio Ojea
323ec6d18e bump kindnet image 2023-02-27 19:38:19 +00:00
Antonio Ojea
ed2c0892cd bump base image v20230227-c3ecf85b 2023-02-27 14:41:22 +00:00
John Howard
684c5f3709 kindnet: add nodeSelector
Currently, it is impossible to create a Node object and not have kindnet
scheduled there. There is a blanket toleration for *any* taint, and no
node selector.

This adds a nodeSelector for it, matching the one on kube-proxy. For
most users this should have no impact, as kind nodes are linux.

however, for some cases where we are manually creating `Node`s like
https://kwok.sigs.k8s.io/, it is useful to be able to prevent
scheduling.
2023-02-15 11:40:43 -08:00
Mengjiao Liu
f966d3a489 test: update image registry from k8s.gcr.io to registry.k8s.io 2023-02-09 16:35:52 +08:00
ktKongTong
2765f060ee fix getArchiveTags error when using containerd
Co-Authored-By: Akihiro Suda <suda.kyoto@gmail.com>
2023-01-14 11:57:56 +08:00
Benjamin Elder
12eeeed7b1 bump base image 2022-12-19 19:31:49 -08:00
Benjamin Elder
56bc181acb bump base image 2022-12-14 14:36:10 -08:00
Benjamin Elder
24022fc3d9 bump base image 2022-11-01 20:20:26 -07:00
Daman
197b656021 comments-update-buildcontext 2022-10-29 16:10:55 +05:30
Benjamin Elder
413e1f3be8 bump base image 2022-10-25 11:58:28 -07:00
Benjamin Elder
ec5fc05753 bump kindnetd 2022-10-04 04:42:46 +00:00
Benjamin Elder
eb00dc0014 bump kindnetd 2022-09-27 12:07:33 -07:00
Benjamin Elder
fe56e6accc bump base image 2022-09-21 21:04:11 -07:00
Benjamin Elder
b1f5141fe2 bump base image 2022-09-22 00:13:41 +00:00
Benjamin Elder
5ed1ff1eb8 bump base image 2022-09-21 00:22:20 +00:00
Benjamin Elder
341cb6a5b6 drop codepaths for Kubernetes versions < 1.15 2022-09-06 21:42:07 -07:00
Benjamin Elder
cf1bcbdb71 bump base image 2022-08-11 15:42:55 -07:00
Benjamin Elder
c9f6a1ed2c go 1.19 gofmt 2022-08-08 14:31:50 -07:00
Benjamin Elder
6d22a7e214 bump base to v20220808-a2dcbb47 2022-08-08 13:53:33 -07:00
Antonio Ojea
161c45636f bump kindnetd image 2022-07-26 08:33:27 +02:00
Antonio Ojea
4279091cd2 bump base image 2022-07-24 15:40:12 +02:00
Benjamin Elder
727e80895e bump base image 2022-06-23 22:13:47 +00:00
Benjamin Elder
f6acfe91eb bump base image 2022-06-23 20:35:49 +00:00
Benjamin Elder
bea91a8405 bump local-path-helper 2022-06-07 14:45:24 -07:00