carlory
5e048041e4
remove helper function for unused storage feature in pkg/proxy/util
2023-06-13 09:22:59 +08:00
Kubernetes Prow Robot
8a0b1bbf24
Merge pull request #118095 from carlory/patch-002
...
remove unused pv informer from expand_controller
2023-06-12 11:43:58 -07:00
torredil
5d18f47149
Improve clarity and guidance in provisioner waiting message
...
Signed-off-by: torredil <torredil@amazon.com>
2023-05-25 17:26:06 +00:00
guangli.bao
931cc96b8d
remote windows condition when #116693 is merged
...
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-05-24 14:54:22 +08:00
Kubernetes Prow Robot
484645e817
Merge pull request #116659 from claudiubelu/skip-flaky-tests-2
...
unit tests: Skip flaky tests on Windows (part 2)
2023-05-23 20:04:48 -07:00
carlory
bea71a3e4e
remove unused pv informer from expand_controller
2023-05-18 15:58:38 +08:00
SataQiu
3fa55d469c
fix a bug where the AttachedVolume is not printed correctly in the log
2023-05-11 22:04:30 +08:00
Hao Ruan
c4e1b01416
replace spew methods with dump methods
2023-04-14 08:05:53 +08:00
Claudiu Belu
0979d55443
unit tests: Skip flaky tests on Windows (part 2)
...
Some of the unit tests are currently flaky on Windows. This commit
skips them until they are resolved.
2023-04-13 12:07:18 +00:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Kubernetes Prow Robot
8cdc7fa542
Merge pull request #116675 from pacoxu/volume-flake
...
deflake: Add retry with timeout to wait for final conditions
2023-04-11 18:19:09 -07:00
Kubernetes Prow Robot
4e6da50c56
Merge pull request #113800 from pacoxu/patch-4
...
add sig/storage label for pkg/controller/volume package PR
2023-04-11 15:34:31 -07:00
Harshal Patil
1972dd1005
Do not log entire pod struct while attaching the volume
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2023-04-05 20:24:12 -04:00
Paco Xu
8e36e948ce
verifyVolumeNoStatusUpdateNeeded may cause flake and so only keep the last ones
2023-03-30 10:44:45 +08:00
Paco Xu
c14068c202
deflake: Add retry with timeout to wait for final conditions
2023-03-22 11:24:09 +08:00
Kubernetes Prow Robot
6a111bebe2
Merge pull request #116377 from kinvolk/rata/userns
...
KEP-127: user namespace support for stateless pods
2023-03-14 10:40:43 -07:00
杨军10092085
361e4ff0fa
volume: use contextual logging
2023-03-14 08:37:30 +08:00
Rodrigo Campos
8af3cce7fe
kubelet: remove GetHostIDsForPod()
...
Now KEP-127 relies on idmap mounts to do the ID translation and we won't
do any chowns in the kubelet.
This patch just removes the usage of GetHostIDsForPod() in
operationexecutor to do the chown, and also removes the
GetHostIDsForPod() method from the kubelet volume interface.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-03-13 22:28:03 +01:00
Kubernetes Prow Robot
7529178924
Merge pull request #111372 from HeavenTonight/master
...
code cleanup
2023-03-10 11:44:40 -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
weizhichen
4d6be42c1a
add unit test
2023-03-01 06:48:37 +00:00
weizhichen
d06c0995cb
fix 116028
2023-02-27 12:49:44 +00:00
Sunny Song
98f944f55d
Remove check for CSI driver running on node for CSI migration attach operations
2023-02-09 02:45:02 +00:00
Kubernetes Prow Robot
fb9884577e
Merge pull request #115345 from gnufied/ignore-error-when-unable-find-plugin
...
Ignore error when we can't find plugin capable of expanding the volum…
2023-01-31 05:24:50 -08:00
Kubernetes Prow Robot
ad2a9f2f33
Merge pull request #113863 from msau42/owners
...
update sig-storage owners
2023-01-30 10:10:50 -08:00
Hemant Kumar
c9fc35c496
reword the warning that gets printed on external expansion
2023-01-30 11:37:30 -05:00
Hemant Kumar
1e57dae5ec
Ignore error when we can't find plugin capable of expanding the volume intre
2023-01-26 14:39:05 -05:00
Jordan Liggitt
78cb3862f1
Fix indentation/spacing in comments to render correctly in godoc
2022-12-17 23:27:38 -05:00
Kubernetes Prow Robot
741bd5c382
Merge pull request #113947 from mowangdk/chore/change_adcontroller_log_level
...
Lower volume attached touch log level
2022-12-12 17:41:51 -08:00
ialidzhikov
aede3fbf40
pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer
pkg
2022-11-23 17:40:23 +02:00
mowangdk
bf244d3046
Lower volume attached touch log level
2022-11-16 16:49:07 +08:00
Michelle Au
524a8b32a6
add sig-storage reviewers, remove inactive sig-storage reviewers, remove redundant owners files
2022-11-15 23:51:57 +00:00
Kubernetes Prow Robot
d7bff1c809
Merge pull request #111577 from brianpursley/troubleshoot-unit-test-flake
...
Add logging for reconciler unit test
2022-11-11 00:44:09 -08:00
Paco Xu 徐俊杰
fd4adba9ac
add sig/storage label for pkg/controller/volume package PR
2022-11-10 09:57:36 +08:00
Kubernetes Prow Robot
1c230d519e
Merge pull request #113262 from jsafrane/rework-reconstruction
...
Rework volume reconstruction
2022-11-07 12:42:29 -08:00
Jan Safranek
fc245b339b
Refactor ConstructVolumeSpec
...
Return a struct from ConstructVolumeSpec to be able to add more fields to
it later.
2022-11-03 16:55:13 +01:00
Kubernetes Prow Robot
98742f9d77
Merge pull request #110747 from harshanarayana/cleanup/GIT-110737/logging-improvements
...
structured-logging: replace KObjs with KObjSlice for logging
2022-11-03 00:49:34 -07:00
neogopher
400c8f71cf
docs: Correct the log message for pv controller to make it more accurately descriptive
2022-10-30 23:17:55 +05:30
Roman Bednar
42422a1d16
add a metric for retroactive sc errors
2022-10-25 15:09:16 +02:00
danishprakash
f10f4d372c
pv_controller: update tests for multiple storageclasses
...
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:33:44 +05:30
Kubernetes Prow Robot
deb6712358
Merge pull request #113137 from RomanBednar/restart-sync-unbound
...
restart claim sync when PVC is updated
2022-10-18 07:33:19 -07:00
Roman Bednar
f5693a4008
restart claim sync when PVC is updated
...
We should not rely on syncUnboundClaim() to do nothing after it updates
PVC with a default storage class until next re-sync but instead restart
the sync explicitly to make sure we hit isDelayBindingMode() and
findBestMatchForClaim() immediately right after the PVC update.
2022-10-17 14:05:39 +02:00
Han Kang
2bbd445f50
remove rate limiter metric as it is not in use
...
Change-Id: I91157653e3860eeecc3f572aee88da6ffc65faed
2022-10-13 13:07:11 -07:00
Humble Chirammal
4bafd53a02
Correct typos in pkg/controller/volume
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-16 16:50:20 +05:30
Kubernetes Prow Robot
69136c0c81
Merge pull request #111894 from wongma7/pvcnpd
...
Fix PVC nil pointer dereference during migration-enabled volume expand
2022-08-23 20:08:37 -07:00
Kubernetes Prow Robot
9451747366
Merge pull request #111690 from piroux/pv-controller-tests-structs-with-names
...
Pv controller tests structs with names
2022-08-23 17:17:26 -07:00
Kubernetes Prow Robot
3ac0e24940
Merge pull request #111205 from 249043822/br-volumeattach
...
Fix problem in updating VolumeAttached in node status
2022-08-23 16:05:09 -07:00
Matthew Wong
a322a708f3
Fix PVC nil pointer dereference during migration-enabled volume expand
2022-08-17 11:32:22 -07:00
Omer Tuchfeld
eb317ecd40
Fix capture loop vars in parallel or ginkgo tests
...
Fixes instances of #98213 (to ultimately complete #98213 linting is
required).
This commit fixes a few instances of a common mistake done when writing
parallel subtests or Ginkgo tests (basically any test in which the test
closure is dynamically created in a loop and the loop doesn't wait for
the test closure to complete).
I'm developing a very specific linter that detects this king of mistake
and these are the only violations of it it found in this repo (it's not
airtight so there may be more).
In the case of Ginkgo tests, without this fix, only the last entry in
the loop iteratee is actually tested. In the case of Parallel tests I
think it's the same problem but maybe a bit different, iiuc it depends
on the execution speed.
Waiting for the CI to confirm the tests are still passing, even after
this fix - since it's likely it's the first time those test cases are
executed - they may be buggy or testing code that is buggy.
Another instance of this is in `test/e2e/storage/csi_mock_volume.go` and
is still failing so it has been left out of this commit and will be
addressed in a separate one
2022-08-15 16:28:50 +02:00
piroux
34b54e7646
Add struct keys in PV controller tests
...
Signed-off-by: piroux <pierre.roux01@gmail.com>
2022-08-04 17:01:36 +02:00