Commit Graph

472 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e1d3cc74e5 Merge pull request #84329 from jingyih/update_etcd_server_to_3.4
Update default etcd server to 3.4.3
2019-10-30 02:30:52 -07:00
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07:00
Kubernetes Prow Robot
09f453ff83 Merge pull request #83987 from wenjiaswe/etcd_client_3_4_2
Update etcd client to v3.4.3 in k8s v1.17
2019-10-25 08:29:39 -07:00
Kubernetes Prow Robot
08237c703c Merge pull request #84221 from wuyafang/remove_promhttp_from_etcd
remove reference to promhttp in etcd-version-monitor
2019-10-24 22:56:05 -07:00
Kubernetes Prow Robot
6237c00652 Merge pull request #84166 from johnSchnake/conformanceNoEarlyExit
Ensure script saves results even when tests fail
2019-10-24 22:55:53 -07:00
Wenjia Zhang
660b17d0ae Pin dependencies and update vendors 2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a Replace github.com/coreos/etcd by go.etcd.io/etcd 2019-10-24 14:09:24 -07:00
Matt Matejczyk
686245b876 Fix base image discrepancy when building kubemark.
There are two ways of building kubemark: 1) via Dockerfile and 2) via
bazel.

In CI/CD tests we use the 1) way and use debian:jessie as the base
image.

But if you build kubemark via bazel it will use the discouraged busybox
base image.

This PR fixes that by using debian:jessie everywehre and pinning exact
sha version to make the kubemark image hermetic.
2019-10-24 10:50:10 +02:00
wuyafang
6f0e74a8a1 remove reference to promhttp in etcd-version-monitor 2019-10-24 09:27:10 +08:00
John Schnake
9a3a051d1c Ensure script saves results even when tests fail
When we run commands that may exit non-zero during normal operation
we need to ensure the script does not exit early and avoid
saving the results.

Signed-off-by: John Schnake <jschnake@vmware.com>
2019-10-21 15:16:11 -05:00
Kubernetes Prow Robot
7cc611b7e0 Merge pull request #83283 from RainbowMango/pr_migrate_etcd_version_monitor_to_metrics
Migrate etcd version monitor to metrics stability framework
2019-10-15 23:04:24 -07:00
Joe Betz
c92bd5e7b5 Upgrade to etcd server 3.3.17 2019-10-13 17:17:15 -07:00
RainbowMango
7cbd6bf9ea Update bazel by hack/update-bazel.sh 2019-09-29 15:57:27 +08:00
RainbowMango
fe6c700146 Migrate etcd version monitor to metrics stability framework 2019-09-29 15:39:24 +08:00
chenyaqi01
66be69bb0e replace bytes.Compare() with bytes.Equal() 2019-09-27 10:08:49 +08:00
hwdef
951aa8e69a add-err-handling-in-images/etcd/migrate 2019-09-15 00:11:35 +08:00
Kubernetes Prow Robot
9592869783 Merge pull request #82064 from RainbowMango/pr_cleanup_testtar_testdata
Cleanup cluster/images/conformance/go-runner test data after test done
2019-09-11 10:39:00 -07:00
Davanum Srinivas
8ca2436bdb Fix failure running make build test in cluster/images/etcd
Change-Id: I5072d06402d211c17c8c5fb952e193bd1e57c07d
2019-08-30 22:06:41 -04:00
Davanum Srinivas
8fbfdf8267 Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Gyuho Lee
93b9545f48 vendor: update with "update-vendor.sh" script
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:46:02 -07:00
Gyuho Lee
3ad4fedede cluster/.../etcd/migrate: block etcd client creation until connection is up
The new etcd balancer (>3.3.14, 3.4.0) uses an asynchronous resolver for
endpoints. Without "WithBlock", the client may return before the
connection is up.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:38:29 -07:00
RainbowMango
6c46135ff5 Cleanup UT test data after test done. 2019-08-28 15:16:17 +08:00
hwdef
296705b9c0 fix cluster/images/conformance/go-runner/tar_test.go 2019-08-22 11:32:18 +08:00
Kubernetes Prow Robot
133f37814c Merge pull request #79722 from randomvariable/etcd-world-executable
Make etcd world-executable in Docker image
2019-08-12 12:11:04 -07:00
Erik Wilson
2242718e17 Run ginkgo in foreground, elminiate wait & pgrep
Use bash process substitution for sending ginkgo output through tee,
allowing easy capture of the ginkgo exit code and avoiding use of wait
or pgrep.

For #78699
2019-07-31 00:53:08 -07:00
David Xia
fabfd950b1 cleanup: fix some log and error capitalizations
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Davanum Srinivas
88b0be7355 Update revision number for the image 2019-07-11 21:20:37 -04:00
Davanum Srinivas
f58f126715 Remove support for etcd2 from cluster/images/etcd image
Removes etcd2 code and images.
Etcd2 is no longer supported as of 1.13, so rollback and management
tools for etcd2 should not be shipped any longer. If it is still desired
the older versions of the image can be used.

Change-Id: I516c40067f0a57c42d2a6ab4612071c5e556a005
2019-07-11 21:20:24 -04:00
Naadir Jeewa
b1b7ea3229 etcd: Add comment re: SELinux
Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
2019-07-04 10:13:37 +01:00
Naadir Jeewa
8c27ac488a etcd: Change perms in Makefile, not Dockerfile 2019-07-04 10:06:34 +01:00
Naadir Jeewa
bdcea67730 etcd: Ensure etcd binaries are world executable
Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
2019-07-04 10:05:18 +01:00
Naadir Jeewa
3783aa5051 etcd: Allow Makefile to be used on SELinux systems
Adds check for SELinux and then adds the :z parameter to the volume
mounts in order to work on SELinux enabled systems such as Fedora.

Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
2019-07-03 23:28:18 +01:00
Naadir Jeewa
42f566ae58 etcd: Ensure etcd binaries are world executable
Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
2019-07-03 16:49:25 +01:00
Dave Chen
c60181317e Address couple of issue on image build for ARM arch
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Kubernetes Prow Robot
e79dcc2174 Merge pull request #79284 from johnSchnake/conformanceGoRunner
Adds an optional golang runner to the conformance test image
2019-07-02 15:41:11 -07:00
Kubernetes Prow Robot
da0f51ffed Merge pull request #78820 from haosdent/fix_typos
Fix typos.
2019-07-01 15:09:20 -07:00
John Schnake
b3f5a086ab Adds an optional golang runner to the conformance test image
Adds a go app which runs the e2e tests with ginkgo.

 - Supports all the existing env vars of the bash script
 - Improved flow control to avoid and better report issues
regarding the process PID
 - Adds flags for modifying where to find the test binary and
ginkgo binary so that you can run it locally
 - Adds 3 flags for specifying extra args before the double-dash,
extra args after the double-dash, and the seperator to use between
values in those env vars. This allows setting arbitrary, complex
values for use on the command such as flags which include spaces
or other characters.
2019-07-01 16:26:13 -05:00
Kubernetes Prow Robot
ee4776d7ec Merge pull request #78889 from qingsenLi/k8s-190611
use klog.Info instead of klog.Infof when had no format
2019-06-19 13:02:20 -07:00
Haosdent Huang
7ce6e71891 Fix typos. 2019-06-11 01:52:14 +08:00
qingsenLi
872da8a467 use klog.Info instead of klog.Infof when had no format 2019-06-08 03:04:01 +08:00
Kenichi Omichi
bb95ec0f68 Enable API operation log on conformance job
To verify all conformance tests call GA APIs only without alpha,
beta APIs, this enables API operation log on the conformance job.
One concern is this makes e2e.log huge. So to consider it, the
original size of e2e.log is 112,909[1] before applying this.

[1]: https://gcsweb.k8s.io/gcs/kubernetes-jenkins/pr-logs/pull/70639/pull-kubernetes-conformance-image-test/1116565046130905089/artifacts/
2019-06-03 20:47:15 +00:00
Yuwen Ma
1f0f050fde Update etcd* version to use latest released images. 2019-05-13 17:28:40 -07:00
Yuwen Ma
23469d6b04 Rebase etcd-empty-dir-cleanup to debian-base
Busybox has more severe CVE issues.
This is part of the effort described in kep kubernetes/enhancements#900, we can't change the ibase image to distroless directly since a bash script is used.
Moved to debian-base and put it as a temp exception for now.
2019-04-12 15:59:23 -07:00
Kubernetes Prow Robot
f1acf4ad94 Merge pull request #75514 from tedyu/master
Use go idiomatic to replace loop
2019-04-04 00:40:50 -07:00
John Schnake
4fec7c7568 Finish saving test results on failure
The conformance image should be saving its results
regardless of the results of the tests. However,
with errexit set, when ginkgo gets test failures
it exits 1 which prevents saving the results
for Sonobuoy to pick up.

Fixes: #76036
2019-04-03 08:38:43 -05:00
yuwenma
529b20aadd rebase etcd to k8s debian-base 2019-03-29 18:59:55 -07:00
Kubernetes Prow Robot
8af1bf313e Merge pull request #75317 from jihoon-seo/patch-1
Update cluster/images/hyperkube/README.md
2019-03-20 20:35:37 -07:00
Ted Yu
793fd74a42 Use go idiomatic to replace loop 2019-03-20 11:40:26 -07:00
Kubernetes Prow Robot
66bb1215c7 Merge pull request #75310 from chi-xu/20190313
Correct a spelling error
2019-03-20 09:53:11 -07:00
Jihoon Seo
f5a66f8c13 Update cluster/images/hyperkube/README.md
Add missing period between 'components' and `hyperkube`.
Add line separation between 2 sentences.
2019-03-13 12:01:30 +09:00