Commit Graph

96619 Commits

Author SHA1 Message Date
Claudiu Belu
31101408d3 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 12:43:22 -08:00
Kubernetes Prow Robot
4351e4dd47
Merge pull request #97371 from aojea/sctpfix
fix sctp hostPort test
2020-12-17 10:31:08 -08:00
Antonio Ojea
bbfed8a7db fix sctp hostPort test
The test create a pod with a hostPort to expose an SCTP port, then
it checks if the iptables rules were installed correctly in the host.

The iptables rules MUST be checked in the same host where the pod
is running :)
2020-12-17 18:31:35 +01:00
Kubernetes Prow Robot
fa2787acb5
Merge pull request #96375 from smarterclayton/daemonset_surge
api: Allow MaxSurge to be set on DaemonSets during update
2020-12-17 08:47:09 -08:00
Clayton Coleman
c37c93f47a
validation: Handle presence of MaxSurge on DaemonSet
When the maxsurge daemonset gate is disabled, the registry and validation
must properly handle stripping the field. In the special case where that
would leave the MaxUnavailable field set to 0, we must set it to 1 which
is the default value.
2020-12-17 09:00:56 -05:00
Clayton Coleman
4a23269778
feature: Add DaemonSetUpdateSurge feature gate 2020-12-17 09:00:56 -05:00
Clayton Coleman
ac77b3835b
generated: Changes for DaemonSet max surge 2020-12-17 09:00:56 -05:00
Clayton Coleman
5aa53f885c
api: Add DaemonSet MaxSurge
The MaxSurge field on DaemonSet rolling updates allows a daemonset
workload to have two pods running simultaneously on a node during
an update in order to perform zero-disruption handoffs of client
traffic.
2020-12-17 09:00:55 -05:00
qini
55fd3685d9 fix nil vmss name 2020-12-17 20:07:51 +08:00
Kubernetes Prow Robot
8b8de03168
Merge pull request #97353 from MikeSpreitzer/testable-config
Define TestableConfig in k/apiserver/pkg/util/flowcontrol
2020-12-17 01:45:09 -08:00
Kubernetes Prow Robot
e11e9d4c6c
Merge pull request #97033 from patrickshan/pshan/bump/Azure/go-autorest/autorest
Bump github.com/Azure/go-autorest/autorest to v0.11.12
2020-12-17 00:47:09 -08:00
Weiping Cai
51d563824d
fix typo err
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-12-17 15:19:45 +08:00
Kubernetes Prow Robot
0580273e5f
Merge pull request #96353 from latteczy/add_helper_test
add unit test for helper.go
2020-12-16 21:41:09 -08:00
caozhiyuan
9b19dfca2c add unit test for helper.go 2020-12-17 12:40:29 +08:00
Kubernetes Prow Robot
b9ce4ac212
Merge pull request #97346 from linux-on-ibm-z/issue-97318
Bump agnhost and nonewprivs versions
2020-12-16 19:19:08 -08:00
Mike Spreitzer
10df6d459b Define TestableConfig in k/apiserver/pkg/util/flowcontrol
Collect the parameters of newTestableController into a named type.

Also tolerate the surprising situation in which a request's user
groups include neither `system:authenticated` nor
`system:unauthenticated` --- because this is observed to happen in
some tests.

Also a few other minor fixups.
2020-12-16 20:05:08 -05:00
Kubernetes Prow Robot
c4aca30005
Merge pull request #94813 from dramich/nometrics
Don't start goroutine for noMetrics
2020-12-16 15:51:09 -08:00
Kubernetes Prow Robot
fc43c80ccd
Merge pull request #96689 from gnufied/fix-unknown-node-dangling-vsphere
Fix  dangling volumes from nodes not tracked by attach detach controller
2020-12-16 14:55:15 -08:00
Kubernetes Prow Robot
efb9489acb
Merge pull request #96617 from yuga711/dangling
Recover CSI volumes from dangling attachments
2020-12-16 14:54:30 -08:00
Kubernetes Prow Robot
81e82b8453
Merge pull request #97167 from geegeea/golint-cleanup-events
Fix golint issues in pkg/credentialprovider/plugin
2020-12-16 13:04:31 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Kubernetes Prow Robot
dc39ab2417
Merge pull request #97345 from mm4tt/service-test-disabled-for-large-clusters
Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
2020-12-16 07:12:21 -08:00
Kubernetes Prow Robot
970b532379
Merge pull request #97344 from towca/jtuznik/ca-e2e-fix
Update autoscaling e2e test after an event message was changed
2020-12-16 05:38:21 -08:00
Kubernetes Prow Robot
c5efee02ac
Merge pull request #89465 from shibataka000/84142-cm
Fix HPA bug about unintentional scale out during updating deployment when using PodMetric.
2020-12-16 04:44:21 -08:00
Mateusz Matejczyk
3affac239e Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
Ref. https://github.com/kubernetes/kubernetes/issues/90047
2020-12-16 13:26:42 +01:00
Kubernetes Prow Robot
609f46715b
Merge pull request #97151 from pacoxu/fix/97138
cleanup: remove dup key VolumeStatsUsedBytesKey in test
2020-12-16 03:14:21 -08:00
Jakub Tużnik
f9b66102de Update autoscaling e2e test after an event message was changed
The test no longer passes because it checks for a part of an event
message which has recently been removed from Cluster Autoscaler.
2020-12-16 11:17:01 +01:00
Kubernetes Prow Robot
60cfd74e6b
Merge pull request #97324 from claudiubelu/test-images/busybox-2004-20h2
test images: Adds Windows 2004 and 20H2 base images for busybox
2020-12-16 01:20:20 -08:00
Jan Safranek
357a8c3f55 Fix loopback device lookup
In case /var/lib/kubelet is a symlink, "losetup -j <device in
/var/lib/kubelet>" will show the device paths with symlinks fully
evaluated.

Fix the parsing routine and expand symlinks in the path that we want to
find in "losetup -j" output.
2020-12-16 09:33:51 +01:00
wojtekt
7bab6a9c6e Use current state from watchcache to avoid etcd get for deletions 2020-12-16 08:52:48 +01:00
Rajas Kakodkar
794080c8da bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:36:31 +00:00
Rajas Kakodkar
7a82831255 bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:35:59 +00:00
wojtekt
c2d61896f4 Add suggestion to storage interface Delete method 2020-12-16 08:12:57 +01:00
KeZhang
fca0636090 cleanup unused constants for deprecated flags 2020-12-16 15:00:52 +08:00
Kerstin08
dc86fb9390 Add e2e test for windows device manager 2020-12-16 00:30:05 -05:00
Anthony ARNAUD
8bdc3d8970 Port deviceManager in windows container manager 2020-12-16 00:25:26 -05:00
Kubernetes Prow Robot
46d481b455
Merge pull request #96883 from pacoxu/fix/96862
fix index test: multi index check for empty list
2020-12-15 19:32:20 -08:00
Kubernetes Prow Robot
8bfdd6a21b
Merge pull request #97311 from zzzkl/master
Fix typo in e2e test log
2020-12-15 17:20:20 -08:00
pacoxu
ae6360f6c7 fix index test: multi index check for empty list
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-16 07:51:01 +08:00
Sergey Kanzhelev
94adcd0498 Requesting reviewers status for SergeyKanzhelev 2020-12-15 22:59:57 +00:00
Kubernetes Prow Robot
a8e30f8860
Merge pull request #97274 from nicolehanjing/nicoleh-update-sample
Update cloud-controller-manager samples to read --cloud-config flag
2020-12-15 13:38:20 -08:00
Victor Timofei
bcc1c9a387
Move Delta definitions to the top 2020-12-15 22:07:33 +02:00
Victor Timofei
1a4ed5ea57
Update DeltaFIFO Documentation 2020-12-15 21:31:30 +02:00
Nicole Han
b80abf6d34 update cloud-controller-manager samples to read --cloud-config flag 2020-12-15 10:56:22 -08:00
Kubernetes Prow Robot
476afe93f1
Merge pull request #97276 from tengqm/fix-openapi-gen
Fix openapi generator for alpha features
2020-12-15 10:18:20 -08:00
Hemant Kumar
95852d7b8e Only skip unmount if path does not exist and there is no error 2020-12-15 12:03:31 -05:00
Hemant Kumar
379daa6aff Use force umount for nfs volumes 2020-12-15 11:50:57 -05:00
Kubernetes Prow Robot
6d43e2b3bb
Merge pull request #96834 from chendave/fix_race
Add performance benchmark for the preemption with volume
2020-12-15 07:13:49 -08:00
jinde.zgm
17b084938a
fix gofmt bug 2020-12-15 20:07:47 +08:00
Kubernetes Prow Robot
e439c95e55
Merge pull request #97315 from tosi3k/remove-old-env-var
Make log-dump's deprecation note up-to-date
2020-12-15 01:53:48 -08:00