Commit Graph

618 Commits

Author SHA1 Message Date
Wes Panther
6ac853fe60 Update Debian base images to latest
- debian-base:bullseye-v1.3.0
- debian-iptables:bullseye-v1.4.0
- setcap:bullseye-v1.3.0
2022-06-13 21:36:46 -07:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Manish Kumar
f1ed75bcd7 etcd: Build image 3.5.4-0 2022-05-13 13:02:40 +05:30
Marek Siarkowicz
b0f3f015d7
Build etcd v3.5.3 image
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:25:14 -04:00
Stephen Augustus
cddd83c997
Update Debian base images
- debian-base:bullseye-v1.2.0
- debian-iptables:bullseye-v1.3.0
- setcap:bullseye-v1.2.0

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:23:54 -04:00
Stephen Kitt
080c6c711e
Upgrade to blang/semver/v4 v4.0.0
This is the first version to be fully go-mod-compatible.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2022-03-28 09:33:23 +02:00
Marek Siarkowicz
8f5250e3fe Start building etcd v3.6.0-alpha.0 image for scalability tests 2022-02-28 13:58:18 +01:00
Marek Siarkowicz
5f7ff4d18b
Add serathius to etcd image owners 2022-02-17 10:25:47 +01:00
kerthcet
3734e05e14 fix not return when channel closed
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-14 10:47:01 +08:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 08:14:29 -05:00
Kubernetes Prow Robot
f97d3f9b38
Merge pull request #106019 from ahrtr/replace_ioutil_with_io_os_cluster_images_etcd
Replace ioutil with io and os for cluster/images/etcd
2022-01-06 12:50:27 -08:00
Kubernetes Prow Robot
95b4e46db0
Merge pull request #106593 from claudiubelu/windows/etcd-image2
Adds Windows support for etcd image
2021-12-21 15:59:35 -08:00
Carlos Panato
4bda9697ee
[go1.17] Update to go1.17.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 16:58:29 +01:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
ahrtr
f01ecfabf4 replace ioutil with io and os for cluster/images/etcd;
bump the REVISION in Makefile to 5
2021-12-10 03:13:17 +08:00
wpedrak
183793cb27 Update version.txt only when necessary
Follow up on https://github.com/kubernetes/kubernetes/pull/106653
2021-12-09 10:09:49 +01:00
Kubernetes Prow Robot
68bd9994ae
Merge pull request #106833 from cpanato/go117
[go1.17] Update to go1.17.4
2021-12-07 19:28:44 -08:00
Kubernetes Prow Robot
4c3bcf52db
Merge pull request #106653 from wpedrak/resilient-version.txt
Make writing version.txt more resilient
2021-12-07 18:27:14 -08:00
Carlos Panato
2adf0e116c
[go1.17] Update to go1.17.4
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-06 09:40:54 +01:00
wpedrak
d5e1ee4de8 Make writing version.txt more resilient
Writing file first truncate it and writes later on. During disk space pressure it may cause file to become empty. To mitigate above, we create file with new version first and then move it in place of old one (to make sure that disk space is available)
2021-11-26 12:44:50 +01:00
xuweiwei
9ab5c8a36f Fix typo
depenging -> depending
permssion -> permission

Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2021-11-23 16:18:13 +08:00
Claudiu Belu
c1656d1604 Adds Windows support for etcd image
We can use docker buildx in order to build and push Windows images from the same Linux node,
as long as the Dockerfile does not have any RUN commands in the Windows step.

We also need to create a non-default builder instance in order to be able to build and
push Windows images.

The Windows images have to be built and pushed directly to the registry.

For Windows containers without Hyper-V isolation, the host OS Version and the
Container OS Version need to match, which is why we added multiple Windows OS Versions
to the building process.

For the manifest list, we need to also annotate the Windows OS Version, so the Windows nodes
will be able to pull the proper image from the manifest list.

Adds support for Windows OS Versions: 1809, 2004, 20H2, ltsc2022.

Bumped etcd image revision.
2021-11-22 12:27:57 +00:00
Carlos Panato
abbf8c3bed
[go1.17] Update to go1.17.3
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-11-07 16:29:35 +01:00
Patrick Ohly
c3cd9a3902 kubemark: static binary, replace deprecated --log-file parameter
The --log-file parameter will be deprecated as of Kubernetes 1.23 and should be
avoided. The replacement for distroless images is the image with go-runner, a
tool that handles output redirection.

For kubemark to run in that image it must be built as static binary.
2021-11-04 20:52:56 +01:00
Kubernetes Prow Robot
1dd781ddca
Merge pull request #106065 from pacoxu/etcd-3.5.1-image-build
update etcd makefile to using 3.5.1 for building
2021-11-02 19:01:17 -07:00
Paco Xu
6bac4dcaf7 update etcd makefile to using 3.5.1 for building
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2021-11-02 09:56:21 +08:00
Kubernetes Prow Robot
657412713b
Merge pull request #102637 from charlesxsh/fix-migrate-sever
fix potential deadlock
2021-11-01 04:17:19 -07:00
Kubernetes Prow Robot
819b021ada
Merge pull request #92433 from claudiubelu/windows/etcd-image
Adds Windows support for etcd image
2021-10-18 15:49:34 -07:00
Mengjiao Liu
19e8852154 [go1.17] Update to go1.17.2 2021-10-14 16:15:51 +08:00
Sascha Grunert
9ae990e3d5
Use docker buildx for etcd image
This allows to choose the correct architecture in the image manifest,
which defaulted to the host system before applying this patch.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-10-05 13:38:02 +02:00
Aaron Crickenberger
d41f9339f6 Revert "Use docker buildx for etcd image"
This reverts commit ea1bc18bc1.

But bumps the REVISION var

This commit broke etcd image builds
2021-09-27 10:46:17 -07:00
Kubernetes Prow Robot
d385d0602a
Merge pull request #105158 from justaugustus/its-a-bullseye
releng: Update build images to Debian 11 (Bullseye)
2021-09-26 23:14:23 -07:00
Claudiu Belu
c4fc9bba6c Adds Windows support for etcd image
We can use docker buildx in order to build and push Windows images from the same Linux node,
as long as the Dockerfile does not have any RUN commands in the Windows step.

We also need to create a non-default builder instance in order to be able to build and
push Windows images.

The Windows images have to be built and pushed directly to the registry.

For Windows containers without Hyper-V isolation, the host OS Version and the
Container OS Version need to match, which is why we added multiple Windows OS Versions
to the building process.

For the manifest list, we need to also annotate the Windows OS Version, so the Windows nodes
will be able to pull the proper image from the manifest list.

Adds support for Windows OS Versions: 1809, 2004, 20H2, ltsc2022.

Bumped etcd image revision.
2021-09-24 18:28:00 +00:00
Aaron Crickenberger
42a955b3ae use k8s-staging-test-infra/gcb-docker-gcloud 2021-09-24 06:54:40 -07:00
Stephen Augustus
8dcaf8433b
cluster/images/etcd: Build 3.5.0-2 image
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-09-20 21:02:49 -04:00
Stephen Augustus
531eb712c2
releng: Update build images to Debian 11 (Bullseye)
- debian-base:bullseye-v1.0.0
- debian-iptables:bullseye-v1.0.0
- go-runner:v2.3.1-go1.17.1-bullseye.0
- kube-cross:v1.23.0-go1.17.1-bullseye.0
- setcap:bullseye-v1.0.0

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-09-20 20:51:32 -04:00
Carlos Panato
132c7066e0
[go1.17] Update to go1.17.1
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-14 13:04:25 +02:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Antonio Ojea
0cd75e8fec run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
Marek Siarkowicz
704628fde4 Update golang used in etcd image to 1.16.7 2021-08-12 10:28:01 +02:00
Kubernetes Prow Robot
a21a328a1a
Merge pull request #104116 from saschagrunert/etcd-buildx
Use docker buildx for etcd image
2021-08-11 00:54:49 -07:00
Mengjiao Liu
08d8f29a7a Update debian-base image to buster-v1.9.0 2021-08-07 09:44:59 +08:00
Sascha Grunert
ea1bc18bc1
Use docker buildx for etcd image
This allows to choose the correct architecture in the image manifest,
which defaulted to the host system before applying this patch.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-04 14:49:45 +02:00
Jordan Liggitt
024930df11 Move cluster/images/conformance to test/conformance/image 2021-07-23 11:23:55 -04:00
Dave Chen
b6b1674f56 Switch to the version instead of the latest 2021-07-06 10:58:57 +08:00
Dave Chen
26f223fa6e Bump distroless/base image to latest version
`distroless/base:latest` is a multi-arched image now, this will help the `kubemark` works properly
on the platforms other than `amd64`

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-07-05 13:55:51 +08:00
Joyce Kung
42f9333e7f Update debian-base image to buster-v1.8.0 2021-06-25 20:38:15 -04:00
tiloso
b22d0b13cc Fix verify staticcheck flake in cluster/images/etcd 2021-06-21 12:05:42 +02:00
Kubernetes Prow Robot
d89c11a0d4
Merge pull request #102629 from tiloso/staticcheck-cluster-apimachinery-apiserver
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-18 09:52:06 -07:00
pacoxu
4ee38f33d2 update etcd makefile to build v3.5.0 image 2021-06-16 14:41:44 +08:00