Commit Graph

96685 Commits

Author SHA1 Message Date
Anago GCB
0f2b2a688e CHANGELOG: Update directory for v1.17.16 release 2020-12-18 13:12:31 +00:00
Kubernetes Prow Robot
979c644df2
Merge pull request #97171 from deads2k/deprecate-psp
deprecate PSP in 1.21, but leave removal at 1.25
2020-12-17 22:16:25 -08:00
Kebe
f725ca1616 Fix BoundObjectRef APIVersion proto name 2020-12-18 11:52:17 +08:00
Kubernetes Prow Robot
e7d23042e1
Merge pull request #97354 from chrishenzie/separate-volume-hosts
Split the test VolumeHosts type into one per interface
2020-12-17 19:26:24 -08:00
Kubernetes Prow Robot
2c12dbc1bc
Merge pull request #97340 from 249043822/br-scheduler-apis
cleanup unused constants for removed deprecated flags
2020-12-17 18:28:25 -08:00
Kubernetes Prow Robot
bc404af504
Merge pull request #97359 from Cweiping/fix/fix_typo_error
fix typo err for disk to pid
2020-12-17 17:04:24 -08:00
Chris Henzie
9d8f994d4e Separate test Kubelet and AttachDetach VolumeHost types
fakeVolumeHost previously implemented both the KubeletVolumeHost and
AttachDetachVolumeHost interfaces. This design makes it difficult to test the
CSIAttacher since it behaves differently depending on what type of
VolumeHost is supplied.
2020-12-17 15:17:04 -08:00
Chris Henzie
53cae84aea Move fakeVolumeHost logic into a separate file 2020-12-17 15:17:04 -08:00
Indeed
de5a30a786 migration configuration: parsing & validation. 2020-12-17 14:49:14 -08:00
Kubernetes Prow Robot
7da7d2084c
Merge pull request #96918 from aojea/agnhostbump
bump agnhost base image
2020-12-17 13:54:24 -08:00
Claudiu Belu
64934518fd test images: Allows sample-apiserver to be built without a TTY
Currently, the image's postsubmit job fails because of the docker run -t
in the image's Makefile. We don't need it in order to build the image.

Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952
2020-12-17 13:02:19 -08:00
Kubernetes Prow Robot
974cf4c9c2
Merge pull request #89828 from wojtek-t/suggestions_for_delete
Try to avoid etcd.Get as part of Delete operation
2020-12-17 12:54:26 -08:00
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
Riaan Kleinhans
de9dd82c54 Extend APIService e2e testing of endpoints
e2e test validates the following 3 extra endpoints
- readApiregistrationV1APIServiceStatus
- patchApiregistrationV1APIService
- listApiregistrationV1APIService
2020-12-18 09:25:13 +13: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