Kubernetes Prow Robot
64621d17a6
Merge pull request #129832 from pohly/dra-seamless-upgrade
...
DRA: seamless driver upgrades
2025-03-18 13:51:51 -07:00
Eddie Torres
c766a52356
Implement KEP 4876 Mutable CSINode ( #130007 )
...
* Implement KEP-4876 Mutable CSINode Allocatable Count
Signed-off-by: torredil <torredil@amazon.com >
* Update TestGetNodeAllocatableUpdatePeriod
Signed-off-by: torredil <torredil@amazon.com >
* Implement CSINodeUpdater
Signed-off-by: torredil <torredil@amazon.com >
* Use sync.Once in csiNodeUpdater
Signed-off-by: torredil <torredil@amazon.com >
* ImVerify driver is installed before running periodic updates
Signed-off-by: torredil <torredil@amazon.com >
* Update NodeAllocatableUpdatePeriodSeconds type comment
Signed-off-by: torredil <torredil@amazon.com >
* Leverage apivalidation.ValidateImmutableField in ValidateCSINodeUpdate
Signed-off-by: torredil <torredil@amazon.com >
* Update strategy functions
Signed-off-by: torredil <torredil@amazon.com >
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com >
* Update VolumeError.ErrorCode field
Signed-off-by: torredil <torredil@amazon.com >
* CSINodeUpdater improvements
Signed-off-by: torredil <torredil@amazon.com >
* Iron out concurrency in syncDriverUpdater
Signed-off-by: torredil <torredil@amazon.com >
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com >
* Revise logging
Signed-off-by: torredil <torredil@amazon.com >
* Revise log in VerifyExhaustedResource
Signed-off-by: torredil <torredil@amazon.com >
* Update API validation
Signed-off-by: torredil <torredil@amazon.com >
* Add more code coverage
Signed-off-by: torredil <torredil@amazon.com >
* Fix pull-kubernetes-linter-hints
Signed-off-by: torredil <torredil@amazon.com >
* Update API types documentation
Signed-off-by: torredil <torredil@amazon.com >
* Update strategy and validation for new errorCode field
Signed-off-by: torredil <torredil@amazon.com >
* Update validation tests after strategy changes
Signed-off-by: torredil <torredil@amazon.com >
* Update VA status strategy
Signed-off-by: torredil <torredil@amazon.com >
---------
Signed-off-by: torredil <torredil@amazon.com >
2025-03-18 12:45:49 -07:00
Patrick Ohly
b471c2c11f
DRA kubelet: support rolling upgrades
...
The key difference is that the kubelet must remember all plugin instances
because it could always happen that the new instance dies and leaves only the
old one running.
The endpoints of each instance must be different. Registering a plugin with the
same endpoint as some other instance is not supported and triggers an error,
which should get reported as "not registered" to the plugin. This should only
happen when the kubelet missed some unregistration event and re-registers the
same instance again. The recovery in this case is for the plugin to shut down,
remove its socket, which should get observed by kubelet, and then try again
after a restart.
2025-03-18 12:32:35 +01:00
Kubernetes Prow Robot
78208023e2
Merge pull request #128952 from my-git9/volume-deadcode
...
pkg/volume: remove unused function
2025-03-14 06:37:46 -07:00
Kubernetes Prow Robot
2491c0b150
Merge pull request #129218 from novahe/master
...
Add lock for csiNode update
2025-03-14 05:29:46 -07:00
Hemant Kumar
49dabe56d0
Monitor progress tracking for permission change
2025-02-24 15:55:37 -05:00
novahe
a70b6b9105
Add lock for csiNode update
...
Signed-off-by: novahe <heqianfly@gmail.com >
2025-02-17 21:48:54 +08:00
Patrick Ohly
8a908e0c0b
remove import doc comments
...
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:
- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.
This commit was generated with
sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')
Everything was included, except for
package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".
2024-12-02 16:59:34 +01:00
xin.li
bf1280014b
pkg/volume: remove unused function
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-11-26 13:46:53 +08:00
Jan Safranek
aa8872d7a3
Add SELinux warning controller
2024-11-06 11:16:02 +01:00
Hemant Kumar
1e7b4406a3
Apply fsGroup when accessMode is ReadWriteOncePod
2024-10-21 17:14:33 -04:00
Kubernetes Prow Robot
65bc7c0c1a
Merge pull request #126924 from carlory/volumelimit
...
Remove attachable volume limit from node's status capacity
2024-10-04 15:02:41 +01:00
Matthieu MOREL
27b98be303
fix: enable nil-compare and error-nil rules from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-09-25 06:02:47 +02:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com >
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com >
2024-09-20 12:36:38 +05:30
carlory
47eed55a66
Remove attachable volume limit from node's status capacity if they exists
2024-09-18 11:09:53 +08:00
Madhu Rajanna
d644860cfb
check usage when VolumeCondition is not supported
...
The Usage and VolumeCondition are both
optional in the response and kubelet
need to consider returning metrics if
either one is set.
2024-09-02 11:03:26 +02:00
carlory
e1228754f6
csi volume plugin stop watching the volumeattachment object if the object is not found or volume is not attached when kubelet wait for volume attached
2024-08-28 12:47:27 +08:00
carlory
c4851c64a0
remove volumeoptions from VolumePlugin and BlockVolumePlugin
2024-07-24 14:07:02 +08:00
Hemant Kumar
f7f1a6c81a
Address review comments and return nicer errors
2024-07-22 10:43:38 -04:00
Hemant Kumar
c8d9863a3e
Add new type for infeasible errors
2024-07-15 10:14:57 -04:00
Kubernetes Prow Robot
1236f48109
Merge pull request #124770 from uucloud/docs/fix_tls_bootstrapping_link
...
docs:fix broken link
2024-06-24 13:36:34 -07:00
Kubernetes Prow Robot
4cc989a7a9
Merge pull request #124740 from bells17/use-sets-set-string
...
[pkg/volume] Changed to use sets.Set[string] instead of sets.String
2024-05-31 05:32:15 -07:00
carlory
21baa25e1a
remove BulkVolumeVerifier interface from volume
2024-05-14 14:17:25 +08:00
bells17
8cf18d1b5c
[pkg/volume] Changed to use sets.Set[string] instead of sets.String
2024-05-11 18:02:45 +09:00
carlory
c8e91b9bc2
CephRBD volume plugin ( ) and its csi migration support were removed in this release
2024-05-09 22:55:34 +08:00
uucloud
23f4f02bb0
docs:fix broken link
2024-05-09 17:28:17 +08:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Dan Winship
cd980ee076
Fix unit tests that expected the old FakeClient semantics
2024-04-18 08:23:16 -04:00
HirazawaUi
10b6319e64
fix slow dra unit test
2024-03-16 22:21:15 +08:00
Eric Lin
9f9858b6ca
Hit APIServer cache when testing healthiness
2024-02-22 13:07:24 +00:00
Hemant Kumar
d190fa3e7d
Fix race condition between external-resizer and kubelet
...
This fixes the race condition that could happen because
resize controller just finished volume expansiona and has only
finished marking PV and yet to mark PVC.
The workaround proposed here should not be necessary once
RecoverVolumeExpansionFailure goes GA/beta.
2024-01-31 12:23:56 -05:00
carlory
e198938671
Remove deprecated comment about cleanup the target_path of CSI volumes
2024-01-30 18:47:59 +08:00
carlory
55e1646fa4
removed the deprecated azureFile in-tree storage plugin
2024-01-04 14:41:33 +08:00
Jan Safranek
15e0c41601
Fix CSI migration for vSphere volumes
...
Restore `migratedPlugins` entry for in-tree vSphere volumes and mark them
as migrated. Otherwise the CSI volume plugin ignores in-tree vSphere
volumes and they will never get attached / mounted by CSI migration.
The entry in `migratedPlugins` was incorrectly removed during
CSIMigrationvSphere feature gate removal.
2023-12-15 13:03:35 +01:00
Humble Chirammal
3890546265
Update APIs and adjust tests
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-11-01 09:28:36 +05:30
Kubernetes Prow Robot
0501933e56
Merge pull request #121291 from bzsuni/ga/CSIMigrationvSphere
...
Remove GA featuregate about CSIMigrationvSphere in 1.29
2023-10-26 01:08:06 +02:00
Chris Henzie
2dbd405583
Graduate ReadWriteOncePod to GA
2023-10-20 10:40:39 -07:00
bzsuni
7561284819
Remove GA featuregate about CSIMigrationvSphere in 1.29
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2023-10-17 20:44:50 +08:00
Akanksha Panse
38935b787e
Do not fail volume attach operation at kubelet if staging target path already exists on windows worker node.
2023-10-03 13:08:14 +05:30
Kubernetes Prow Robot
f9f00da6bc
Merge pull request #118761 from TommyStarK/gh_113831
...
move common logic of highestSupportedVersion to util package
2023-09-18 13:59:25 -07:00
TommyStarK
42356bfbb3
move common logic of highestSupportedVersion to util package
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-09-18 21:25:29 +02:00
Rohit Singh
61ecc2ad88
Retry operations if CSI Driver Isn't Found by Treating this Error as Transient
2023-09-11 06:07:40 +00:00
Kubernetes Prow Robot
52457842d1
Merge pull request #117055 from cyclinder/csi_migration
...
remove CSI-migration gate
2023-06-28 04:28:31 -07:00
Stephen Kitt
ab75e48494
storage: stop using deprecated io/ioutil
...
This replaces deprecated ioutil variables and functions as follows:
* ioutil.ReadDir -> os.ReadDir
* ioutil.ReadFile -> os.ReadFile
* ioutil.TempDir -> os.MkdirTemp
* ioutil.TempFile -> os.CreateTemp
* ioutil.WriteFile -> os.WriteFile
The ReadDir conversion involves an API change, the replacement
function returns a slice of fs.DirEntry instead of fs.FileInfo.
Where appropriate, the surrounding code has been adjusted; mostly,
that means using DirEntry.Type() instead of FileInfo.Mode().
Applying this change to the IoUtil interface would mean changing its
API, so this is left for later.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-06-20 16:49:03 +02:00
Kubernetes Prow Robot
bfd833baf3
Merge pull request #115982 from peaaceChoi/master
...
Update toplogy keyset initialization
2023-06-19 04:04:21 -07:00
cyclinder
8e4228a8c1
remove CSI-migration gate
2023-06-04 18:40:17 +08:00
Andy Zhang
1ce285ad3d
Revert "removed the deprecated azureFile in-tree storage plugin"
2023-06-02 10:20:53 +08:00
andyzhangx
485d1631cd
Remove Azure file in-tree storage plugin
2023-05-24 14:10:34 +00:00
Kubernetes Prow Robot
8722ab2c84
Merge pull request #117022 from mpatlasov/fix-dir-mismatch-for-SetVolumeOwnership
...
Fix directory mismatch for `volume.SetVolumeOwnership()`
2023-04-11 19:18:23 -07:00
Kubernetes Prow Robot
de109979a1
Merge pull request #116138 from cvvz/fix-114207
...
fix: the volume is not detached after the pod and PVC objects are deleted
2023-04-11 15:35:48 -07:00