Commit Graph

101210 Commits

Author SHA1 Message Date
Jan Safranek
2fcb5e9cf7 Add PodRemovedFromVolume
To know when a volume has been fully unmounted (incl. uncertain mounts).
2021-06-16 18:41:41 +02:00
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
Kubernetes Prow Robot
ff6f9e009a
Merge pull request #102511 from tkashem/issue-102016
apf: fix data race in test
2021-06-07 00:52:51 -07:00
Kubernetes Prow Robot
84eb8c5d10
Merge pull request #102491 from liggitt/seccomp-warning
Avoid warning on seccomp field usage
2021-06-07 00:52:39 -07:00
Kubernetes Prow Robot
dff5940ac3
Merge pull request #97534 from heqg/typo01
fix Spelling error for klog
2021-06-06 22:24:39 -07:00
Kubernetes Prow Robot
fca27ee5fb
Merge pull request #96374 from serathius/example
Create example component for integrating with component-base
2021-06-06 21:22:39 -07:00
Kubernetes Prow Robot
9d27400fe2
Merge pull request #102040 from njuptlzf/fix_conversion
Fix auditing failed of request: encoding failed
2021-06-05 19:58:38 -07:00
njuptlzf
7b0fbb7292 add audit log test cases for cross-group subresource 2021-06-06 09:52:05 +08:00
Marek Siarkowicz
aa9321f534 Add example showing impact on log output 2021-06-05 22:06:05 +02:00
Kubernetes Prow Robot
f27340ce90
Merge pull request #102617 from serathius/json-benchmark
Cleanup json logging benchmarks
2021-06-05 11:46:50 -07:00
Kubernetes Prow Robot
aaceb26ea3
Merge pull request #99080 from vinayakankugoyal/dockerfile3
Use docker buildx for the build-image.
2021-06-05 11:46:38 -07:00
Kubernetes Prow Robot
1b71cc567f
Merge pull request #102625 from serathius/klog-integration
Add klog integration tests
2021-06-05 10:41:21 -07:00
Kubernetes Prow Robot
0685959592
Merge pull request #102610 from liggitt/audit-non-root
Fix audit unit test file location
2021-06-05 10:41:13 -07:00
Kubernetes Prow Robot
a52571144f
Merge pull request #102597 from mengjiao-liu/rename-masterConfig
test/integration: Rename masterConfig to controlPlaneConfig
2021-06-05 10:41:05 -07:00
Kubernetes Prow Robot
1f363d7961
Merge pull request #102513 from freehan/net-tier-fix
only delete forwardingrule and address when net tier annotation is specified
2021-06-05 10:40:57 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Kubernetes Prow Robot
29a8105cec
Merge pull request #101272 from Jiawei0227/deprecateflag
Remove CSIMigrationvSphereComplete flag
2021-06-05 10:40:38 -07:00
Kubernetes Prow Robot
e6a8bc9fbe
Merge pull request #90368 from serathius/remove-legacy-metrics
Remove legacy metrics client from podautoscaler
2021-06-05 08:44:38 -07:00
Marek Siarkowicz
88174fc3f2 Add klog integration tests 2021-06-05 16:48:46 +02:00
Marek Siarkowicz
a9a2346e19 Cleanup json logging benchmarks
* Write logs to sink instead of stderr
* Remove json marshall tests
2021-06-05 13:16:38 +02:00
Jordan Liggitt
91e5d98b57 Fix audit unit test file location 2021-06-04 17:23:34 -04:00
Marek Siarkowicz
4ebc0c94a4 Remove legacy metrics client from podautoscaler 2021-06-04 23:06:32 +02:00
Kubernetes Prow Robot
8eff96dd12
Merge pull request #102608 from gnufied/remove-test-on-unknown-block-devices
Remove block device metrics unit test
2021-06-04 13:56:38 -07:00
Hemant Kumar
f5739a15d1 The test was not very useful and required elevated access 2021-06-04 15:48:35 -04:00
Kubernetes Prow Robot
7ed2ed1b45
Merge pull request #102412 from andrewsykim/kill-service-topology
Remove deprecated alpha Service topologyKeys field
2021-06-04 10:48:38 -07:00
Minhan Xia
fbf2d2df26 only delete forwardingrule and address when net tier annotation is specified 2021-06-04 10:04:42 -07:00
Kubernetes Prow Robot
3b71dac6ac
Merge pull request #102593 from CaoDonghui123/fix7
remove redundant code
2021-06-04 09:44:38 -07:00
Kubernetes Prow Robot
ed1a2b411d
Merge pull request #102463 from neolit123/1.22-add-usergroup-utils
kubeadm: add utilities to manage users and groups
2021-06-04 08:35:26 -07:00
Mengjiao Liu
6871b2b3c7 Rename masterConfig to controlPlaneConfig 2021-06-04 20:55:08 +08:00
Kubernetes Prow Robot
a4e5239bdc
Merge pull request #102591 from pohly/disable-health-monitor
storage e2e: disable health check containers
2021-06-04 05:37:26 -07:00
Kubernetes Prow Robot
62b5c28506
Merge pull request #102590 from BenTheElder/deb-ipt-script
update debian-iptables to v1.6.2
2021-06-04 03:33:35 -07:00
Kubernetes Prow Robot
e4448f2117
Merge pull request #102584 from liggitt/attachdetach-race
Fix race in attachdetach tests
2021-06-04 03:33:27 -07:00
caodonghui
812a04539c remove redundant code 2021-06-04 17:56:46 +08:00
Kubernetes Prow Robot
5c137f1af9
Merge pull request #100939 from wzshiming/feat/subresource-match
Feature support FakeClientset match subresource
2021-06-04 02:25:26 -07:00
Kubernetes Prow Robot
5a59a43957
Merge pull request #102581 from liggitt/revert-watch-retry
Revert "client-go: add retry logic for Watch and Stream"
2021-06-04 01:21:38 -07:00
Kubernetes Prow Robot
81b9789eaa
Merge pull request #102467 from pacoxu/json-patch-5.5.0
upgrade json-patch to v4.11.0
2021-06-04 01:21:26 -07:00
Benjamin Elder
45179bb989 update debian-iptables to v1.6.2
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Patrick Ohly
c26c423b1c storage e2e: disable health check containers
They are not needed for any of the tests and may be causing too much
overhead (see
https://github.com/kubernetes/kubernetes/issues/102452#issuecomment-854452816).

We already disabled them earlier and then re-enabled them again
because it wasn't clear how much overhead they were causing. A recent
change in how the sidecars get
deployed (https://github.com/kubernetes/kubernetes/pull/102282) seems
to have made the situation worse again. There's no logical explanation
for that yet, though.

(cherry picked from commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f)
2021-06-04 09:57:02 +02:00
Kubernetes Prow Robot
635f2c7c2a
Merge pull request #99575 from navist2020/fix/logs_info
Simply modify the Kubectl logs information
2021-06-03 23:25:25 -07:00
pacoxu
ceaf9b9d16 add ut for preventing dropping null from arrays
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-04 14:11:19 +08:00
Jordan Liggitt
ca279bbcc1 Fix race in attachdetach tests 2021-06-04 01:59:32 -04:00
pacoxu
6e0650e3e1 upgrade gopkg.in/evanphx/json-patch to v4.11.0
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-04 13:15:09 +08:00
Jordan Liggitt
e35af41a12 Revert "client-go: add retry logic for Watch and Stream"
This reverts commit 607d381949.
2021-06-04 01:11:25 -04:00
Kubernetes Prow Robot
b24b7d5a20
Merge pull request #102489 from saschagrunert/http-stream-nil
Fix regression for timed-out stream cleanups
2021-06-03 21:59:45 -07:00
Kubernetes Prow Robot
38783bfeb7
Merge pull request #102059 from jsafrane/fix-consistentread
Retry reading /proc/mounts when unable to get a consistent read
2021-06-03 21:59:37 -07:00
Kubernetes Prow Robot
3a2092345e
Merge pull request #101082 from jsafrane/translate-aws-allowAutoIOPSPerGBIncrease
Add allowAutoIOPSPerGBIncrease to translated AWS EBS StorageClasses
2021-06-03 21:59:25 -07:00
Kubernetes Prow Robot
271f54632b
Merge pull request #102533 from aojea/lb_flakes
Lb flakes
2021-06-03 20:53:38 -07:00
Kubernetes Prow Robot
adf8df7b73
Merge pull request #102477 from yuzhiquan/master
FIx failing tests: [sig-storage] Test_ADC_VolumeAttachmentRecovery/Deleted_Pod_with_migrated_PV
2021-06-03 20:53:26 -07:00