Commit graph

2327 commits

Author SHA1 Message Date
Benjamin Elder
86d0697319 remove blank line between comments and entry 2025-10-13 10:33:27 -07:00
Benjamin Elder
19311b932f reorder kube-cross to be under go version and dedupe it from the go version 2025-10-13 10:31:50 -07:00
Davanum Srinivas
e8d512d822 extract build vars setup into reusable function
pulled out all the build variable setup stuff from verify_prereqs into its own function since we need those vars in other places too (like make-clean)
2025-10-12 14:22:40 -04:00
Kubernetes Prow Robot
63389c2374
Merge pull request #134532 from BenTheElder/clean-no-tools
don't require build tools to clean
2025-10-10 15:53:00 -07:00
Benjamin Elder
d5ae324fb6 don't require build tools to clean
removing the output already only uses docker opportunistically cleanup after docker builds, the rest of cleanup should not require any of these

previously on a clean mac install you can install docker + `bash` and building like `make WHAT=cmd/kubectl` will work but `make clean` will fail due to lack of gnu-tar
2025-10-10 14:12:28 -07:00
Benjamin Elder
efda517d93 speed up make clean by narrowing recursive chmod 2025-10-09 16:55:36 -07:00
Kubernetes Prow Robot
4db43d1321
Merge pull request #134251 from joshjms/update-etcd-3.6.5
etcd: Update etcd to v3.6.5
2025-10-03 07:00:58 -07:00
joshjms
070d4c1846 bump etcd to v3.6.5
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-03 18:19:15 +08:00
Kubernetes Prow Robot
8f372d2ac0
Merge pull request #133972 from pohly/build-data-race-detection-image
build: automatically choose a suitable base image
2025-09-30 12:32:16 -07:00
Ciprian Hacman
2b3f1877be Update NPD to v1.34.0 2025-09-27 19:57:47 +03:00
Carlos Panato
48d5664430
update kube-cross image
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-09-23 15:25:21 +02:00
Davanum Srinivas
6dbc13fd13 Bump to go1.25.1 based images 2025-09-16 22:42:29 -04:00
Davanum Srinivas
3fc0498d6e Bump distroless-iptables to v0.7.8 2025-09-16 17:16:06 -04:00
Patrick Ohly
bbf896c35b build: automatically choose a suitable base image
When building some command dynamically through KUBE_CGO_OVERRIDES, the base
image for that command must provide a libc which matches what the command was
compiled against. If the runtime libc is too old, then it might not have the
right ABI (missing symbols or wrong version of those symbols).

A user or job shouldn't need to know which of the different Kubernetes images
is the right one, therefore the build scripts now use the same image that was
previously only used for kube-proxy also for other commands if they get build
dynamically. This does not increase the maintenance effort because a single
image bump remains sufficient and for e.g. a kind cluster it doesn't matter
that the kube-proxy base image is slightly larger than necessary for the other
commands - it only needs to be present once in the node image.
2025-09-12 12:12:26 +02:00
Yevhen Dubovskoi
3da372354d add fake-registry-server command to agnhost
* command run the limited subset of OCI API and serve static
images from the registry (which are pre-loaded when building an image)
* add pause version to zeitgeist rule for agnhost
* bump version of agnhost to 2.57
2025-09-10 23:31:22 +00:00
Kubernetes Prow Robot
5dff07fdf9
Merge pull request #133837 from saschagrunert/cni-plugins
Update CNI plugins to v1.8.0
2025-09-03 07:53:15 -07:00
Patrick Ohly
23362e001c build: support -race in binaries
Since a few releases, Go supports `go build -race` and then produces
binaries which do data race detection when invoked. Some changes are needed to
enable using this in a kind cluster:

- `-race` must be passed when building dynamically linked binaries.
  Only those support -race because CGO is required.
  To avoid adding yet another env variables, the existing KUBE_RACE
  gets used to convey the intent.
- KUBE_RACE must be passed into the dockerized build.
- Logging the base image of a release image makes it easier
  to figure out whether the binary has a chance to run.

The base image is important because dynamically linked binaries need a base
image with libc. By default, control plane components are linked statically,
so users need to explicitly override the defaults:

    KUBE_RACE=-race KUBE_CGO_OVERRIDES="kube-apiserver kube-controller-manager kube-scheduler" KUBE_GORUNNER_IMAGE=gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250815-171060767f-master kind build node-image ...

KUBE_GORUNNER_IMAGE changes the base image for kube-apiserver,
kube-controller-manager and kube-scheduler. The kubekins image was picked for
this example because a Prow job definition already uses it. Reusing
it in a job avoids the need to maintain another image definition.

Running conformance tests against such a cluster with alpha+beta features
enabled revealed one new data race:

    $ kubectl logs -n kube-system kube-controller-manager-kind-control-plane
    ...
    WARNING: DATA RACE
    Write at 0x00c00019a730 by goroutine 216:
    k8s.io/client-go/tools/leaderelection.(*LeaderElector).setObservedRecord()
         k8s.io/client-go/tools/leaderelection/leaderelection.go:529 +0x179
    k8s.io/client-go/tools/leaderelection.(*LeaderElector).tryCoordinatedRenew()
         k8s.io/client-go/tools/leaderelection/leaderelection.go:367 +0x5ca
    ...
2025-09-02 16:32:09 +02:00
Sascha Grunert
f0be916f7a
Update CNI plugins to v1.8.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-09-02 08:39:57 +02:00
Kubernetes Prow Robot
546519987d
Merge pull request #132288 from thevilledev/chore/coredns-v1.12.2
chore: update CoreDNS to v1.12.3
2025-08-28 06:55:10 -07:00
Kubernetes Prow Robot
2cbd5a6a92
Merge pull request #133718 from BenTheElder/codegen-rsync
build: discourage expanding dependency on rsync, eliminate some unnecessary filters
2025-08-27 20:24:42 -07:00
Benjamin Elder
5a718ca28c remove stale Godeps filter from rsync 2025-08-26 18:24:24 -07:00
Benjamin Elder
d4e1d13480 add note about not adding to rsync invocations 2025-08-26 18:10:33 -07:00
Benjamin Elder
33a58e4bef stop excluding GOPATH from rsync
we aim to eliminate the rsync in favor of a bind mount eventually, adding new filters makes this harder
2025-08-26 18:10:32 -07:00
Sascha Grunert
e792dcb810
Update cri-tools to v1.34.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-08-21 10:11:08 +02:00
Carlos Panato
020b7052ca
Bump dependencies, images and versions used to Go 1.24.6 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-08-14 09:46:06 +02:00
Ville Vesilehto
aa819af85a
chore: update CoreDNS to v1.12.3
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-08-13 08:52:10 +03:00
Ivan Valdes
e8dc272c53
Update etcd to 3.6.4 2025-07-27 21:45:02 -07:00
Ivan Valdes
b562335cb3
Build etcd v3.6.4 image 2025-07-25 13:51:25 -07:00
Kubernetes Prow Robot
b3d00a026d
Merge pull request #132756 from ylink-lfs/ci/redis_removal
ci: redis removal for e2e test dependency simplicity
2025-07-24 09:38:42 -07:00
Ivan Valdes
db9b9b5a42
Build etcd v3.6.3 image 2025-07-22 16:48:31 -07:00
Sergey Kanzhelev
6e77bff18b pod sandbox image is not being used by kubelet any longer 2025-07-21 18:51:07 +00:00
Kubernetes Prow Robot
c44bf18b9b
Merge pull request #130713 from ArkaSaha30/bump-pause-version
dependency: update pause version to registry.k8s.io/pause:3.10.1
2025-07-20 20:16:26 -07:00
Carlos Panato
a06b3d356c
Bump dependencies, images and versions used to Go 1.24.5 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-11 20:30:39 +02:00
bzsuni
b1a35c640e Build etcd image v3.6.2
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2025-07-11 05:36:16 +00:00
ArkaSaha30
621482d68b
update pause version to 3.10.1
This commit will update the pause version to 3.10.1 as per thread: https://kubernetes.slack.com/archives/CJH2GBF7Y/p1741674313893029

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-07-09 16:38:14 +05:30
ylink-lfs
075abb07a9 ci: redis removal for e2e test dependency simplicity 2025-07-08 09:14:54 +08:00
Kubernetes Prow Robot
c6539bc785
Merge pull request #132284 from ArkaSaha30/bump-etcd-3.6.1
Bump etcd to v3.6.1
2025-06-30 11:00:35 -07:00
Kubernetes Prow Robot
ec1803cab8
Merge pull request #132509 from yongruilin/fix-make-vet
chore: Remove vet target and associated script from Makefile and hack directory
2025-06-26 00:26:34 -07:00
Kubernetes Prow Robot
b3e438aef9
Merge pull request #132220 from BenTheElder/a-little-owners-cleanup
emeritus spiffxp and backfill OWNERS
2025-06-25 19:16:28 -07:00
yongruilin
8b2eb9090e chore: Remove vet target and associated script from Makefile and hack directory 2025-06-25 17:39:14 +00:00
ArkaSaha30
44b4682a32
Use jq docker image for pause windows build
This commit will use jq docker image to parse
`windows-pause-image-base` manifest for windows pause build.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-17 22:38:10 +05:30
ArkaSaha30
e09b042d34
Bump etcd to v3.6.1
This commit will bump etcd to v3.6.1
Release: https://github.com/etcd-io/etcd/releases/tag/v3.6.1
Issue: https://github.com/etcd-io/etcd/issues/20047

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-13 16:28:35 +05:30
Kubernetes Prow Robot
d2ab26a5c5
Merge pull request #132222 from cpanato/update-go-main
[go] Bump dependencies, images and versions used to Go 1.24.4 and distroless iptables
2025-06-12 03:34:55 -07:00
ArkaSaha30
348ff7497c
Build etcd image v3.6.1
This commit will build etcd image v3.6.1
Ref: https://github.com/etcd-io/etcd/releases/tag/v3.6.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-11 14:53:35 +05:30
Carlos Panato
e5f36796e3
Bump dependencies, images and versions used to Go 1.24.4 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-06-11 08:24:35 +02:00
Benjamin Elder
ad68a4b4cd emeritus spiffxp
spiffxp moved on from the project years ago, he is still missed
2025-06-10 20:05:40 -07:00
Kubernetes Prow Robot
230b9f470a
Merge pull request #131258 from ArkaSaha30/fix-pause-windows-tag
Fix `windows-pause-image-base:<tag>@<digest>` invalid reference format
2025-06-06 00:26:40 -07:00
ArkaSaha30
249801b7cc
Fix windows-pause-image-base:<tag>@<digest> invalid reference format
This commit will fix the windows pause image build logic to be able to build from `windows-pause-image-base:<tag>@<digest>`,
which currently only accepts `windows-pause-image-base:<tag>` due to which build is failing with `invalid reference format`.

Ref: https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/post-kubernetes-push-image-pause/1889748429312102400
Discussion: https://kubernetes.slack.com/archives/CCK68P2Q2/p1742839354591189?thread_ts=1742832454.449449&cid=CCK68P2Q2

Updates the pause windows build logic to remove hardcoded values:
OSVERSION ?= 1809 ltsc2022
And dynamically resolve the OSVERSIONS from `windows-pause-image-base`
which separate manifests per os.version and corresponding digests.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-06 00:42:58 +05:30
bzsuni
b9d9dea03f Update npd from v0.8.20 to v0.8.21
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2025-06-03 16:08:29 +08:00
joshjms
b461d80f3d etcd: update etcd image to v3.6.0
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-05-26 15:06:50 +08:00