Commit Graph

101708 Commits

Author SHA1 Message Date
Jan Safranek
ca934b8f5c Add GetPossiblyMountedVolumesForPod to let kubelet know all volumes were unmounted
podVolumesExist() should consider also uncertain volumes (where kubelet
does not know if a volume was fully unmounted) when checking for pod's
volumes. Added GetPossiblyMountedVolumesForPod for that.

Adding uncertain mounts to GetMountedVolumesForPod would potentially break
other callers (e.g. `verifyVolumesMountedFunc`).
2021-06-16 18:39:12 +02:00
Jan Safranek
f4b41c0a17 Fix UnmountDevice error cases
When UnmountDevice fails, kubelet treat the volume mount as uncertain,
because it does not know at which stage UnmountDevice failed. It may be
already partially unmonted / destroyed.

As result, MountDevice will be performer when a new Pod is started on the
node after UnmountDevice faiure.
2021-06-16 18:39:04 +02:00
Jan Safranek
54ad7e40f1 Add e2e test for NodeUnstage error cases 2021-06-16 18:39:03 +02:00
SataQiu
a47afdded0 cmd/kubelet: replace KEP link with the documentation one as it is available now 2021-06-16 23:38:58 +08:00
Kubernetes Prow Robot
625597425b
Merge pull request #102879 from cpanato/pub-bot-go-1-15
publishing: Use go1.15.13 for 1.20 and 1.19 release branches
2021-06-16 08:38:11 -07:00
Kubernetes Prow Robot
a4c1698f86
Merge pull request #102866 from SergeyKanzhelev/skipMoreTestsUnlessExecProbeTimeoutSet
skipping more tests in case when ExecProbeTimeout set to false
2021-06-16 08:37:59 -07:00
Dan Lorenc
0bfd1cb7c7 Update gomock to 1.4.4, removing a few extra dependencies.
This re-removes rsc.io/quote and rsc.io/sampler from the go.mod.
They never made it into the vendor/ tree, but still contribute
to dependency resolution complexity.

These were originally removed in #97337 but slipped back in.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
2021-06-16 10:24:17 -05:00
Davanum Srinivas
7fcdbbef06
Switch to github.com/coreos/go-systemd/v22 and drop older package
- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-16 11:14:16 -04:00
Abdullah Gharaibeh
265ef1741f Move scheduler plugin set and configuration defaulting to component config 2021-06-16 10:15:29 -04:00
Jan Safranek
057422504a Run volume cloning tests in the same topology segment
Some CSI drivers can't clone a volume into other topology segment (e.g. a
cloud availability zone). The scheduler does not know about these
restrictions and schedules pods with PVCs that clone a volume mostly
randomly.

Run all volume cloning tests in the same topology segment, if such segment
is available and has at least one schedulable node.
2021-06-16 15:41:33 +02:00
jay vyas
cf2a3c3230 Kube proxy for windows userspace, remove dns Mangling, vendor updates 2021-06-16 08:55:18 -04:00
Kubernetes Prow Robot
0bc75afcf2
Merge pull request #102260 from ii/deployment-status-test
Write Patch, Read and Replace DeploymentStatus test +1
2021-06-16 05:50:10 -07:00
Kubernetes Prow Robot
13ccdfa726
Merge pull request #102256 from ii/statefulset-status-test
Write StatefulSet Patch, Read and Replace Status test +3
2021-06-16 05:49:58 -07:00
Pengfei Ni
b98824c55d Update Azure Go SDK to v55.0.0 2021-06-16 12:26:45 +00:00
Andrew Sy Kim
480093bd1f test/e2e/network: mark network_tiers.go tests with GCE tag
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-16 07:27:53 -04:00
Kubernetes Prow Robot
f363322d4a
Merge pull request #102909 from pacoxu/etcd-3.5.0
update etcd makefile to build v3.5.0 image
2021-06-16 03:45:59 -07:00
Jan Safranek
3e0269ce6e Move common code to ensureTopologyRequirements
Every call to ensureTopologyRequirements has the same setup + checks.
Therefore move this common code into the call to reduce redundancy.
2021-06-16 11:24:29 +02:00
Kubernetes Prow Robot
71d6a48d3e
Merge pull request #102431 from serathius/loggingconfig
Use LoggingConfig within LogOptions
2021-06-16 02:21:59 -07:00
Kubernetes Prow Robot
0d1dcca73b
Merge pull request #102900 from BenTheElder/tagged-goflow
switch go-flow-levee to tagged version
2021-06-16 00:00:00 -07:00
pacoxu
4ee38f33d2 update etcd makefile to build v3.5.0 image 2021-06-16 14:41:44 +08:00
Kubernetes Prow Robot
7b9c335826
Merge pull request #98869 from liuxu623/master
fix kubelet flag description: --event-qps and --event-burst
2021-06-15 22:55:59 -07:00
Kubernetes Prow Robot
f5cf74ddff
Merge pull request #102897 from liggitt/etcd-ga
Update to etcd v3.5.0 client
2021-06-15 21:27:59 -07:00
Jordan Liggitt
6448181d95 Update to etcd v3.5.0 client 2021-06-15 22:50:46 -04:00
Kubernetes Prow Robot
6298e1fe6a
Merge pull request #102895 from jingxu97/june/skipmatrics
Skip migrated metrics for Windows CSI tests
2021-06-15 19:50:11 -07:00
Kubernetes Prow Robot
d5e37cf9b6
Merge pull request #102346 from ii/promote-daemonset-list-deletecollection
Promote Daemonset list and deleteCollection e2e test to Conformance +2 Endpoints
2021-06-15 19:49:59 -07:00
Benjamin Elder
207f9e8b71 switch go-flow-levee to tagged version
this is actually a no-op source wise, but we want to prefer tagged versions
2021-06-15 19:37:20 -07:00
刁浩 10284789
84112d3690 refactor cmd/kubeadm/app/preflight/checks_test.go()
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn>
2021-06-16 01:46:27 +00:00
Kubernetes Prow Robot
f880187573
Merge pull request #102896 from liggitt/quiet-etcd-logs
Quiet grpc info logs in apiserver
2021-06-15 18:46:07 -07:00
Kubernetes Prow Robot
100e993141
Merge pull request #102347 from ii/promote-replicaset-list-deletecollection
Promote Replicaset list and deleteCollection e2e test to Conformance +2 endpoints
2021-06-15 18:45:59 -07:00
Stephen Heywood
5ca47deb0a Promote DaemonSet Status e2e test to Conformance 2021-06-16 13:08:22 +12:00
Stephen Heywood
f7d02f4d25 Promote ReplicaSet Status e2e test to Conformance 2021-06-16 12:52:56 +12:00
Kubernetes Prow Robot
95a62217ca
Merge pull request #102888 from BenTheElder/more-timeout-sad
bump KUBE_TIMEOUT to 180s
2021-06-15 17:04:23 -07:00
Kubernetes Prow Robot
a72296f112
Merge pull request #102873 from soltysh/deprecate_record
Start deprecation of --record flag
2021-06-15 17:04:15 -07:00
Kubernetes Prow Robot
9e373ac590
Merge pull request #102843 from tkashem/apf-fix-102299
apf: always include seats in virtual time
2021-06-15 17:04:06 -07:00
Kubernetes Prow Robot
2fe712e803
Merge pull request #102711 from jiahuif/feature/leader-migration/wildcard
Leader Migration: wildcard and default value
2021-06-15 17:03:58 -07:00
Kubernetes Prow Robot
a552df85d3
Merge pull request #102554 from wzshiming/fix/close-file
Close the used file
2021-06-15 17:03:45 -07:00
Jordan Liggitt
503f5e1b52 Quiet grpc info logs in apiserver 2021-06-15 18:52:46 -04:00
jay vyas
dd5f67d23c Kube proxy for windows userspace, remove dns Mangling 2021-06-15 18:46:48 -04:00
Jing Xu
8fb909291f Skip migrated metrics for Windows CSI tests
The Windows CSI migration test are failing due to issue https://github.com/kubernetes/kubernetes/issues/102893

Change-Id: I8c4c1b376a915f1a0982a9be5e35960886cc77bf
2021-06-15 15:21:35 -07:00
Chris Henzie
f02948e776 Use container-storage-interface spec v1.5.0
Includes support for the SINGLE_NODE_SINGLE_WRITER and
SINGLE_NODE_MULTI_WRITER volume capability access modes
2021-06-15 15:11:19 -07:00
Kubernetes Prow Robot
3a47ddccdf
Merge pull request #100488 from liggitt/protobuf
update etcd, grpc, protobuf dependencies
2021-06-15 14:49:42 -07:00
Indeed
6ba7b3d26b allow enabling Leader Migration without config flag. 2021-06-15 14:24:21 -07:00
Indeed
bade96ed78 implement wildcard component. 2021-06-15 14:24:21 -07:00
Kubernetes Prow Robot
b43e4ec89b
Merge pull request #102857 from ingvagabund/drop-kube-scheduler-insecure-port-bits
kube-scheduler: stop using insecure serving bits
2021-06-15 13:42:12 -07:00
Kubernetes Prow Robot
f6f9738ec8
Merge pull request #102834 from rikatz/endport-beta
Promote endPort field in netpolicies to beta
2021-06-15 13:42:04 -07:00
Kubernetes Prow Robot
81aaeee8a6
Merge pull request #102731 from sharmarajdaksh/lastappliedconfig-annotation-no-mirror
fix: mirroring of last-applied-configuration annotation in EndpointSlices
2021-06-15 13:41:55 -07:00
Kubernetes Prow Robot
a5be86fee7
Merge pull request #101316 from ravisantoshgudimetla/add-minReadySeconds-impl
Add min ready seconds impl
2021-06-15 13:41:43 -07:00
Hemant Kumar
eadfe46e03 Do not throw error when we can't get canonical path 2021-06-15 16:01:32 -04:00
Benjamin Elder
14085c50d3 bump KUBE_TIMEOUT to 180s
observed some timeouts with 170s still
2021-06-15 12:25:00 -07:00
Abu Kashem
2f7456076e
apf: always include seats in virtual time 2021-06-15 15:02:30 -04:00