Commit Graph

547 Commits

Author SHA1 Message Date
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
f4801a7c85
Merge pull request #98799 from claudiubelu/images/cleanup-run
images: Removes containers after they've run
2021-02-22 22:24:11 -08:00
Kubernetes Prow Robot
1f27dcf70c
Merge pull request #99059 from vinayakankugoyal/dockerfile2
Use ARG and --build-arg instead of sed for etcd image.
2021-02-19 15:33:41 -08:00
Bob Killen
ffcb4b953c
cluster/images/kubemark: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit moves gmarek from an
approver to an emeritus_approver.
2021-02-14 14:17:52 -05:00
Vinayak Goyal
81df4d7dc4 Use ARG and --build-arg instead of sed for etcd image. 2021-02-13 01:07:27 -08:00
Vinayak Goyal
a83519b5bf Use ARG instead of sed in the conformance image. 2021-02-12 02:55:33 -08:00
Claudiu Belu
41cdd40a2e images: Removes containers after they've run
Not all instances of docker run has the --rm argument, which means that they'll
persist after they've finished. This can cause storage to remain occupied needlessly.
2021-02-05 10:07:26 +00:00
hasheddan
20679f31d1
Build conformance image with DOCKER_CLI_EXPERIMENTAL enabled
In order to use buildx with docker versions prior to v20.10 experimental
features must be enabled. Setting at build time ensures that they are
in case they have not already been at the environment scope.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-01 13:17:28 -06:00
Sascha Grunert
e9fbdff7c6
Switch to docker buildx for conformance image
The conformance test image previously used the `FROM --platform …`
syntax which is something we (SIG Release) consider as deprecated.

Therefore we now switch to `docker buildx`, which can specify the
`--platform` directly.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-29 11:36:52 +01:00
Sascha Grunert
1acaf32cff
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
Both images are now sane multi-architecture images and should fix the
kube-proxy container image in the same way.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 13:47:09 +01:00
pacoxu
6a795f5f51 update etcd revision to 2 for next build 3.4.13-2 2021-01-26 15:29:26 +08:00
pacoxu
f76be691a2 update debian-base to buster-v1.3.0 for CVEs
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-26 14:10:20 +08:00
hasheddan
baccf02ab0
Switch to debian:stable-slim for conformance image base
The currently used debian:stretch-slim does not support s390x arch in
its multi-arch build. We opt to use stable-slim instead of pulling in
different base images for each platform build.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:49:27 -06:00
hasheddan
bc262d6e85
Specify BASEIMAGE platform for conformance image
Updates conformance image Dockerfile to specify platform for BASEIMAGE
and sets correct ARCH in Makefile.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:46:01 -06:00
Maciej Borsz
7f09d59215 Migrate etcd's livenessProbe to etcdctl endpoint health.
Change-Id: Ie19c844050c75e3d1c4b431d09ba0ac851c5317b
2020-12-11 12:43:02 +01:00
Sean McGinnis
be131457ef
Remove stale analytics links from docs
Many README files and other docs contained a link to a an appspot
tracking app that is no longer active. Following the links leads to an
error about Go 1.9 no longer being supported. Go 1.9 support was dropped
in appspot in 2019 and disabled June 2020.

This also resulted in a broken image link displaying when viewing these
files on GitHub. Since the app is no longer functioning, and since it
causes a potentially (but granted, minor) confusing error to display,
this just removes those links as I don't believe they are needed
anymore.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-11-18 07:04:48 -06:00
Ben Hu
e8fcc44286 Add client listening URLs flag to etcd migrate. 2020-10-16 23:10:54 +00:00
Stephen Augustus
c67713a1ef cluster/images/etcd: Build etcd:3.4.13-1 image
- Uses debian-base:buster-v1.2.0

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Stephen Augustus
06b0570444 build: Update to debian-base:buster-v1.2.0
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Stephen Augustus
cca9a8c320 cluster/images: Add justaugustus as reviewer
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:09:05 -04:00
Mike Danese
d182ecc1f9 output go_binary rule directly from go_binary_conditional_pure
And same for go_test_conditional_pure.

Instead of aliasing. Aliases are annoying in a number of ways. This is
specifically bugging me now because they make the action graph harder to
analyze programmatically. By using aliases here, we would need to handle
potentially aliased go_binary targets and dereference to the effective
target.

The comment references an issue with `pure = select(...)` which appears
to be resolved considering this now builds.
2020-09-11 13:19:37 -07:00
Kubernetes Prow Robot
2e59a17dc1
Merge pull request #92288 from zhijianli88/cleanup-tempfiles
Cleanup tempfiles
2020-08-27 17:56:54 -07:00
jingyih
45318e8190 Update etcd makefile to build 3.4.13 image 2020-08-27 03:33:51 +08:00
Stephen Augustus
21863237a7 cluster/images/etcd: Build etcd@3.4.9-3 using debian-base@v2.1.3
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:20:06 -04:00
Stephen Augustus
876a6c85ed cluster/images/etcd: Build etcd@3.4.9-2 using debian-base@v2.1.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:16:57 -04:00
Stephen Augustus
87e13f7665 build: Update to debian-base@v2.1.0 and debian-iptables@v12.1.1
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:15:24 -04:00
Jordan Liggitt
f33dc28094 generated: hack/update-hack-tools.sh && hack/update-vendor.sh 2020-07-25 16:45:02 -04:00
Kubernetes Prow Robot
7348ab957c
Merge pull request #93356 from justaugustus/vdf
[VDF] Normalize container image references to k8s.gcr.io
2020-07-25 02:58:17 -07:00
Nikhita Raghunath
c00dae0607 Revert "Merge pull request #93156 from logicalhan/triage-api-machinery"
This reverts commit 32438cf269, reversing
changes made to bb6a6aa391.
2020-07-24 13:01:02 +05:30
Stephen Augustus
90c223fa5c [VDF] Remove references to us.gcr.io/k8s-artifacts-prod
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:08:30 -04:00
Han Kang
9129dbc98b automatically assign triage labels to api-machinery tagged PRs
Change-Id: Ifcc8a85d190d6370423af27f6e6c4c90b8472981
2020-07-16 13:13:59 -07:00
Jeff Grafton
089a1af421 Move ixdy to emeritus 2020-07-06 10:39:56 -07:00
wojtekt
c0e930f176 Bump etcd revision after changes to migrate script 2020-06-25 07:56:29 +02:00
Li Zhijian
02eaa4f354 cleanup tempfiles in unit test
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-06-23 11:47:18 +08:00
wojtekt
2a7978e2be Merge migrate-if-needed etcd bash script 2020-06-22 20:45:58 +02:00
Kubernetes Prow Robot
219c856ce2
Merge pull request #91555 from daixiang0/scr
*.sh: cleanup all white noise
2020-06-20 05:26:53 -07:00
Kubernetes Prow Robot
bfa6eb1772
Merge pull request #91964 from wenjiaswe/etcdNameComment
Add a comment to keep etcd name in sync and change `hostname` to `HOSTNAME`
2020-06-18 19:05:40 -07:00
Wenjia Zhang
0da9c3e379 Add a comment to keep etcd name in sync and change hostname to HOSTNAME 2020-06-18 11:11:12 -07:00
jingyih
303273d0e9 Update etcd makefile to build 3.4.9 image 2020-06-12 09:20:33 -07:00
Carlos Tadeu Panato Junior
305d65837d
Revert "fix cross build conformance image error" 2020-06-11 18:01:40 +02:00
Wenjia Zhang
d162e09a26 -a 2020-06-08 19:59:32 -07:00
wojtekt
7a9d46a8bc Remove etcd-empty-dir-cleanup image 2020-06-05 08:41:31 +02:00
Xiang Dai
e09bc312cb *.sh: cleanup all white noise
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Davanum Srinivas
c1c2b663f0
Add cloudbuild.yaml for etcd
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 17:05:24 -04:00
Davanum Srinivas
c225d13abc
Switch to static bash for etcd
- use bash-static and avoid dragging in all of debian-base
- use distroless as the base image
- the shell script needs a `cp` utility, add a go based one for just
  files (no support for directories!)
- Rework the calls to `mv` and recursive `cp` in the code
- we don't need to support windows in this container image
- the test case was slightly off as it was assuming that the old
  directory was copied into the new directory, but the desired
  functionality is that all files in the old directory should be in the
  new directory.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 17:05:24 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Stephen Augustus
d95dcc61f3 cluster/images/etcd: Bump etcd image tags for new debian-base
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-05 15:16:38 -04:00
Stephen Augustus
64300d8fff deps: Update dependents to use debian-base:v2.1.0
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-02 23:09:09 -04:00