Commit Graph

86549 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e68d7be680
Merge pull request #85457 from BenTheElder/typecheck-fun
Typecheck support for verifying providerless build
2019-12-05 13:50:17 -08:00
Michelle Au
a8ba361fd6 expect node to be recreated with the same name 2019-12-05 13:32:17 -08:00
Sally O'Malley
909300b8be
When running kubectl drain in dry-run, list warnings and pods that would be deleted. 2019-12-05 16:16:10 -05:00
Jordan Liggitt
bacab3d457 Deflake kubectl custom printing test 2019-12-05 15:44:25 -05:00
Aaron Crickenberger
d924407ede Include cloud/gcp in e2e.test
Follows the pattern used by instrumentation to include
instrumentation/logging etc.
2019-12-05 12:42:30 -08:00
darshanime
f4d1674827 Refactor parsing logic for service IP and ranges, add tests
Signed-off-by: darshanime <deathbullet@gmail.com>
2019-12-05 15:35:20 -05:00
darshanime
fdd25ec968 Fix bug in apiserver service cluster cidr split
Signed-off-by: darshanime <deathbullet@gmail.com>
2019-12-05 15:35:20 -05:00
Kubernetes Prow Robot
864596f680
Merge pull request #85947 from jsafrane/privileged-hostpath
Run all csi-hostpath containers as privileged
2019-12-05 12:33:04 -08:00
Lubomir I. Ivanov
bc22d70e2b
Revert "kubeadm: don't check if image exists before pulling" 2019-12-05 21:42:12 +02:00
Patrick Ohly
8227b61022 bazel update 2019-12-05 20:10:25 +01:00
Patrick Ohly
87ccd41af2 e2e storage: add compile test for public TestSuite API
This will catch accidentally adding a new interface function which
isn't exported. For example, an attempt to implement a new unexported
"foobar()" function then leads to:

test/e2e/storage/testsuites/api_test.go:54:5: cannot use &fakeSuite literal (type *fakeSuite) as type testsuites.TestSuite in assignment:
	*fakeSuite does not implement testsuites.TestSuite (missing testsuites.foobar method)
		have foobar()
		want testsuites.foobar()
FAIL	k8s.io/kubernetes/test/e2e/storage/testsuites [build failed]
2019-12-05 20:10:25 +01:00
Patrick Ohly
160da35b23 e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
Implementing a test suite was impossible outside of the
k8s.io/kubernetes/test/e2e/storage/testsuites package because all
interfaces and structs used by them were private.

As part of revamping the API, genericVolumeTestResource also gets
exported because it is useful for other test suites. Because the
TestResource interface became obsolete a while ago and isn't used
anymore, the new name is just testsuites.VolumeResource.

testpatterns.CSIInlineVolume needs special handling in a few places.
It can now be used in a test pattern for a test suite that uses a
VolumeResource instance.
2019-12-05 20:10:25 +01:00
barney-s
dd7430134a
Removing conditional check
Addressing review comment. Removing conditional check for fluentd config file path.
2019-12-05 10:35:47 -08:00
Kubernetes Prow Robot
a3718d7653
Merge pull request #85872 from ahg-g/ahg-affinity-pref
Perf benchmarks for preferred (anti)pod affinity
2019-12-05 09:02:33 -08:00
Mike Danese
fb33b2f42a increase LRU cache size 8x for authorization webhook
1024 seems absurdly small for any normal deployment. At our 10000 byte
entry size limit, this will consume max ~80 MB of memory. More realistic
entry sizes are going to be less than a kB.
2019-12-05 08:48:17 -08:00
Abdullah Gharaibeh
da67bcbd35 added benchmarks for preferred (anti)pod affinity 2019-12-05 10:50:00 -05:00
hwdef
d81dd48e2c test/e2e/auth: Fix static check failures 2019-12-05 22:42:04 +08:00
Kubernetes Prow Robot
8290c85b95
Merge pull request #82315 from beautytiger/fix_staticcheck_azure
fix staticcheck errors in legacy-cloud-providers/azure
2019-12-05 06:36:32 -08:00
Kubernetes Prow Robot
23937db00d
Merge pull request #85756 from liu-cong/reviewer
Nominate liu-cong to be sig-scheduling reviewer.
2019-12-05 04:08:32 -08:00
Jan Safranek
d3c562f7e0 Run all csi-hostpath containers as privileged
On systems with SELinux enabled, non-privileged containers can't access
data of privileged containers. Since the CSI driver socket is exposed
by a privileged container, all sidecars must be privileged too.
2019-12-05 13:02:53 +01:00
obitech
bf92350b11 Refactor kubelet component config lenient path decoding
Use NewLenientSchemeAndCodec function provided in k8s.io/component-base/codec
instead of private package function.
2019-12-05 19:23:48 +08:00
Kubernetes Prow Robot
bcc6b22121
Merge pull request #85913 from jkaniuk/log-dump-fix
Fix waiting for logexporter log fetching processes
2019-12-05 01:48:32 -08:00
Kubernetes Prow Robot
2f58d2e3fe
Merge pull request #85890 from tanjunchen/fix-golint-test-e2e_node-ruuner
fix golint check in test/e2e_node/runner/remote
2019-12-05 00:36:32 -08:00
Benjamin Elder
b24dbac09a add hack/verify-typecheck-providerless.sh 2019-12-04 22:30:23 -08:00
Benjamin Elder
94cf731978 typecheck support setting tags, skipping test code, and ignoring directories 2019-12-04 22:30:23 -08:00
tanjunchen
d51b72d9e9 fix staticcheck in test/e2e/network/ 2019-12-05 13:58:28 +08:00
Kubernetes Prow Robot
b1766b707a
Merge pull request #85935 from yuzhiquan/patch-1
fix: typo Snapshoting to Snapshotting
2019-12-04 21:42:31 -08:00
Xuewei Zhang
c0db5b2562 Convert ExpectEqual(err, nil) to ExpectNoError(err) 2019-12-04 20:28:31 -08:00
Kubernetes Prow Robot
389c40540d
Merge pull request #85931 from Random-Liu/revert-#85787
Revert "Use ExpectEqual test/e2e_node"
2019-12-04 19:26:32 -08:00
yuzhiquan
e057bd4ad2 fix: typo Snapshoting to Snapshotting 2019-12-05 10:42:35 +08:00
tanjunchen
40911e74c1 fix staticcheck in pkg/printers 2019-12-05 10:24:42 +08:00
Lantao Liu
32850dc47d Revert "Use ExpectEqual test/e2e_node"
This reverts commit 561ee6ece9.
2019-12-04 18:14:13 -08:00
Kubernetes Prow Robot
d9ed6110e8
Merge pull request #85466 from pjh/gce-shielded-windows-master
Update GCE Windows startup scripts for plugin-based authentication
2019-12-04 18:02:33 -08:00
Kubernetes Prow Robot
e8bc121341
Merge pull request #85916 from ahg-g/ahg-e2e
remove max pods from e2e test
2019-12-04 15:44:31 -08:00
Peter Hornyack
cff9751112 Update GCE Windows startup scripts for TPM-based authentication
"Shielded" nodes have a virtual TPM attached which is used for
generating the client certificate, instead of using a bootstrap
kubeconfig. Determining which to use happens during node startup based
on the instance metadata.
2019-12-04 13:57:59 -08:00
Kubernetes Prow Robot
8f7f2ddced
Merge pull request #85915 from ingvagabund/jenkins-benchmark-dockerized-allow-to-override-bench-prefix
scheduler benchmark: allow to override bench prefix
2019-12-04 13:29:19 -08:00
Kubernetes Prow Robot
ed108e9a8b
Merge pull request #85907 from bogard1203/patch-1
Deleted extra 'phase' in command example
2019-12-04 13:29:10 -08:00
Kubernetes Prow Robot
72ff530e9a
Merge pull request #85290 from ialidzhikov/enh/calico-cluster-service-removal
Clean up cluster-service label from calico-policy-controller
2019-12-04 13:28:57 -08:00
Ted Yu
36784331eb Sync the status of static Pods 2019-12-04 13:28:42 -08:00
MorrisLaw
e981d1ea44 remove framework dependency from framework sub-package kubectl 2019-12-04 21:00:34 +00:00
MorrisLaw
b85adbf1fd moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 2019-12-04 20:31:57 +00:00
MorrisLaw
4b99e5305e remove CheckFileSizeViaContainer from framework 2019-12-04 20:30:51 +00:00
MorrisLaw
cd8da67b03 move KubectlCmd out of utils into its own package 2019-12-04 20:30:43 +00:00
Kubernetes Prow Robot
de63e573ca
Merge pull request #85875 from yutedz/gce-ctx-timeout-inst
Utilize Context with timeout in gce_instances.go
2019-12-04 12:11:14 -08:00
Kubernetes Prow Robot
b42f21982c
Merge pull request #85571 from mgugino-upstream-stage/drain-ignore-pdbs
kubectl/drain: add disable-eviction option
2019-12-04 12:11:00 -08:00
Abdullah Gharaibeh
8aa26a6ed6 remove max pods from e2e test 2019-12-04 13:38:08 -05:00
Kubernetes Prow Robot
570a4d11ab
Merge pull request #85905 from pierewoj/master
Create kubemark cluster as private
2019-12-04 10:06:57 -08:00
Jan Chaloupka
f967c544ad scheduler benchmark: allow to override bench prefix
Right now, hack/jenkins/dockerized.sh is solely utilized by scheduler perf jenkins job.
There's an effort to extend the scheduler performance suite. In order to run
individual subsuites separately, we need a way to select a subset of benchmark tests
to be run. Golang exposes -bench option which allows to specify a prefix
of benchmark tests to be run.
2019-12-04 18:45:48 +01:00
Jacek Kaniuk
2dc3684cf7 Fix waiting for logexporter log fetching processes
Fix bug found by shellcheck in logexporter log fetching
where last wait was not working properly.
Fix DumpClusterLogs hanging in 5k nodes clusters:
https://github.com/kubernetes/kubernetes/issues/85753

Change-Id: Id02bf9048b19e790940c7eac6d45d7fa7a3dfb2b
2019-12-04 18:13:09 +01:00
Kubernetes Prow Robot
f4caa62593
Merge pull request #85590 from yuzhiquan/master
handle registry merge error
2019-12-04 08:50:57 -08:00