Kubernetes Prow Robot
ff27ccfabc
Merge pull request #116255 from danwinship/controller-manager-ipv6dualstack
...
Belatedly remove controller-manager IPv6DualStack feature gate
2023-03-06 08:19:05 -08:00
Kubernetes Prow Robot
6bfa9371cf
Merge pull request #115978 from seans3/discovery-empty-response
...
"empty response" not logged as error in memcache discovery client
2023-03-06 08:18:56 -08:00
Kubernetes Prow Robot
388ad23561
Merge pull request #115968 from stlaz/sc_accessors
...
add SeccompProfile to Pod and Container accessors/mutators
2023-03-06 08:18:41 -08:00
Kubernetes Prow Robot
d6e9cff212
Merge pull request #115838 from torredil/remove-aws
...
Remove AWS legacy cloud provider + EBS in-tree storage plugin
2023-03-06 08:18:29 -08:00
Kubernetes Prow Robot
778b24c97e
Merge pull request #116297 from p0lyn0mial/upstream-reflector-list-n-watch-refactor
...
reflector: extract watch and startResyncAsync methods
2023-03-06 07:10:41 -08:00
Kubernetes Prow Robot
890d39f976
Merge pull request #114640 from swatisehgal/handle-device-mgr-recovery
...
node: device-mgr: Handle recovery flow by checking if healthy devices exist
2023-03-06 07:10:28 -08:00
Kubernetes Prow Robot
4185bf7238
Merge pull request #116273 from sourcelliu/improveresource
...
Improve the performance when Resource Clone
2023-03-06 06:06:41 -08:00
Kubernetes Prow Robot
68eea2468c
Merge pull request #114572 from huyinhou/fix-concurrent-map-access
...
kubelet/deviceplugin: fix concurrent map iteration and map write
2023-03-06 06:06:29 -08:00
torredil
6aebda9b1e
Remove AWS legacy cloud provider + EBS in-tree storage plugin
...
Signed-off-by: torredil <torredil@amazon.com>
2023-03-06 14:01:15 +00:00
Lukasz Szaszkiewicz
34fe27355b
reflector: extract watch and startResyncAsync methods
2023-03-06 13:40:35 +01:00
Kubernetes Prow Robot
30df862563
Merge pull request #115119 from seans3/openapi-query-param-v3
...
Open API V3 version of QueryParamVerifier
2023-03-06 04:40:29 -08:00
Swati Sehgal
01a9148887
node: device-mgr: e2e: adapt to sample device plugin refactoring
...
These updates are to adapt to the sample device plugin
refactoring done here: 92e00203e0
.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 12:15:59 +00:00
Swati Sehgal
bae8a164e0
node: device-mgr: e2e: address e2e test review comments
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 12:15:58 +00:00
Swati Sehgal
674879a959
node: device-mgr: e2e: Update the e2e test to reproduce issue:109595
...
Breakdown of the steps implemented as part of this e2e test is as follows:
1. Create a file `registration` at path `/var/lib/kubelet/device-plugins/sample/`
2. Create sample device plugin with an environment variable with
`REGISTER_CONTROL_FILE=/var/lib/kubelet/device-plugins/sample/registration` that
waits for a client to delete the control file.
3. Trigger plugin registeration by deleting the abovementioned directory.
4. Create a test pod requesting devices exposed by the device plugin.
5. Stop kubelet.
6. Remove pods using CRI to ensure new pods are created after kubelet restart.
7. Restart kubelet.
8. Wait for the sample device plugin pod to be running. In this case,
the registration is not triggered.
9. Ensure that resource capacity/allocatable exported by the device plugin is zero.
10. The test pod should fail with `UnexpectedAdmissionError`
11. Delete the test pod.
12. Delete the sample device plugin pod.
13. Remove `/var/lib/kubelet/device-plugins/sample/` and its content, the directory
created to control registration
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 12:15:58 +00:00
Swati Sehgal
db7afc1cd8
node: device-mgr: e2e: Implement End to end test
...
This commit reuses e2e tests implmented as part of https://github.com/kubernetes/kubernetes/pull/110729 .
The commit is borrowed from the aforementioned PR as is to preserve
authorship. Subsequent commit will update the end to end test to
simulate the problem this PR is trying to solve by reproducing
the issue: 109595.
Co-authored-by: Francesco Romani <fromani@redhat.com>
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 11:52:23 +00:00
Swati Sehgal
5b2a3dbbdc
node: device-mgr: explicitly check if pre-allocated devices are healthy
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 11:52:23 +00:00
Swati Sehgal
a799ffb571
node: device-mgr: unit-tests: admission failure due to unhealthy devices
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 11:52:23 +00:00
Swati Sehgal
7ac399c205
node: device-mgr: Handle recovery by checking if healthy devices exist
...
In case of node reboot/kubelet restart, the flow of events involves
obtaining the state from the checkpoint file followed by setting
the `healthDevices`/`unhealthyDevices` to its zero value. This is
done to allow the device plugin to re-register itself so that
capacity can be updated appropriately.
During the allocation phase, we need to check if the resources requested
by the pod have been registered AND healthy devices are present on
the node to be allocated.
Also we need to move this check above `needed==0` where needed is
required - devices allocated to the container (which is obtained from
the checkpoint file) because even in cases where no additional devices
have to be allocated (as they were pre-allocated), we still need to
make the devices that were previously allocated are healthy.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-06 11:52:23 +00:00
Kubernetes Prow Robot
b6acf6f805
Merge pull request #116294 from p0lyn0mial/upstream-flaky-getcurrentrvfromstorage
...
cacher: deflake TestGetCurrentResourceVersionFromStorage
2023-03-06 03:36:30 -08:00
Lukasz Szaszkiewicz
8fd9d573f0
cacher: deflake TestGetCurrentResourceVersionFromStorage
2023-03-06 11:30:39 +01:00
Kubernetes Prow Robot
b8aaaf380a
Merge pull request #116083 from SataQiu/clean-20230227
...
kubelet: remove unused DockerID type
2023-03-06 02:22:58 -08:00
Kubernetes Prow Robot
931e07de16
Merge pull request #116284 from thockin/codegen_subprojects_cleanup_verify
...
Codegen: subprojects: clean up verify scripts
2023-03-06 00:14:59 -08:00
huyinhou
88274d96fc
update code style
...
Signed-off-by: huyinhou <huyinhou@bytedance.com>
2023-03-06 14:23:14 +08:00
Tim Hockin
357bfbc436
Codegen: subprojects: clean up verify scripts
...
They all run successfully.
2023-03-05 15:05:26 -08:00
Kubernetes Prow Robot
fafa45d13c
Merge pull request #116279 from bart0sh/PR105-fix-CDI-spec-version
...
DRA: fix CDI spec version
2023-03-05 12:22:57 -08:00
Ed Bartosh
35fd124f4d
DRA: fix CDI spec version
...
The latest CDI release includes spec version check that fails
if version is less than 0.3.0:
https://github.com/container-orchestrated-devices/container-device-interface/blob/v0.5.4/pkg/cdi/version.go#L42
Updating CDI spec version to 0.3.0 in the test kubelet plugin code
should fix e2e test failures on the CRI runtimes that use CDI >= 0.5.4
(Containerd master atm, CRI-O soon).
2023-03-05 16:49:56 +02:00
Kubernetes Prow Robot
bbbbfcd967
Merge pull request #116266 from SergeyKanzhelev/ExperimentalPodPidsLimit
...
rename ExperimentalPodPidsLimit to PodPidsLimit
2023-03-05 06:30:56 -08:00
mantuliu
83fdbd76a1
Improve the performance when Resource Clone
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-03-05 00:35:51 +08:00
Kubernetes Prow Robot
d48b8167f7
Merge pull request #115463 from SergeyKanzhelev/containerStatusDocs
...
update docs for ContainerStatus fields
2023-03-03 20:17:06 -08:00
Sergey Kanzhelev
04189b1fc4
rename ExperimentalPodPidsLimit to PodPidsLimit
2023-03-04 01:48:16 +00:00
Kubernetes Prow Robot
8da8bb41bc
Merge pull request #116243 from KnVerey/applyset_parent_mgmt
...
Create and update the ApplySet parent object
2023-03-03 15:21:13 -08:00
Kubernetes Prow Robot
6260796b63
Merge pull request #116233 from SergeyKanzhelev/GRPCContainerProbeGA
...
GRPCContainerProbe is GA
2023-03-03 15:21:06 -08:00
Kubernetes Prow Robot
20c3a007f5
Merge pull request #115693 from bobbypage/shutdown_test
...
test: e2e node shutdown test logging improvements
2023-03-03 15:20:57 -08:00
Kubernetes Prow Robot
15c5366a1c
Merge pull request #116240 from bobbypage/devicepluginfix
...
test: Fix path to e2e node sample device plugin
2023-03-03 14:15:09 -08:00
Kubernetes Prow Robot
ff735dff85
Merge pull request #116166 from pohly/test-go-vet
...
fix "go vet" issues, check as part of golangci-lint
2023-03-03 14:14:58 -08:00
Kubernetes Prow Robot
253ab3eda7
Merge pull request #116162 from apelisse/update-openapi
...
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
2023-03-03 12:29:09 -08:00
Kubernetes Prow Robot
20df9dd6b7
Merge pull request #115672 from sding3/fix-restricted-profile
...
fix restricted debug profile
2023-03-03 12:28:57 -08:00
Sean Sullivan
a49f132585
Tolerate empty discovery response in memcache client
2023-03-03 11:36:53 -08:00
Katrina Verey
3b0e13482e
Feedback and linter
2023-03-03 13:31:04 -05:00
Kubernetes Prow Robot
a1b12e49ea
Merge pull request #116251 from wojtek-t/fix_ready_test
...
Fix deadlock in ready test
2023-03-03 10:25:19 -08:00
Kubernetes Prow Robot
f7605cae7a
Merge pull request #115914 from ravisantoshgudimetla/promote-pdb
...
Promote pdb
2023-03-03 10:25:12 -08:00
Kubernetes Prow Robot
9f0b491953
Merge pull request #113270 from rrangith/fix/create-pvc-for-pending-pod
...
Automatically recreate PVC for pending STS pod
2023-03-03 10:24:58 -08:00
Dan Winship
3181db4606
Belatedly remove controller-manager IPv6DualStack feature gate
2023-03-03 13:16:36 -05:00
Kubernetes Prow Robot
37d8b5a2b8
Merge pull request #116227 from gnufied/wait-for-pod-startup-before-resize
...
Wait for pod to be running before expanding
2023-03-03 09:18:59 -08:00
Antoine Pelisse
736123f447
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
2023-03-03 08:43:44 -08:00
Wojciech Tyczyński
39fa78fe7d
Fix deadlock in ready test
2023-03-03 16:47:11 +01:00
Kubernetes Prow Robot
d446bebca8
Merge pull request #116171 from daman1807/conntrack-sync
...
Syncing IPVS conntrack cleaning with IPTables.
2023-03-03 06:18:57 -08:00
Kubernetes Prow Robot
6fd488a4e6
Merge pull request #115861 from JayKayy/inform-unsupported-pdb
...
Add a warning event when pdb has found a unmanaged pod
2023-03-03 03:16:58 -08:00
Kubernetes Prow Robot
165829587a
Merge pull request #116202 from ritazh/kmsv2-testcoverage
...
kmsv2: improve test coverage
2023-03-03 01:26:57 -08:00
Sean Sullivan
e2ea40e5fb
Open API V3 version of QueryParamVerifier
2023-03-02 23:12:05 -08:00