杨军10092085
361e4ff0fa
volume: use contextual logging
2023-03-14 08:37:30 +08:00
Wojciech Tyczyński
13e4f2b554
Clean shutdown of volume integration tests
2022-07-14 11:25:57 +02:00
Jiawei Wang
760365d5c9
CSIMigration feature gate to GA
2022-06-06 21:19:19 +00:00
Wojciech Tyczyński
f68e72a360
Clean shutdown of volume integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
ialidzhikov
bc432124a2
Remove CSINodeInfo feature gate
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-12-10 09:58:22 +02:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Jayasekhar Konduru
2a89577659
CSI: Modify VolumeAttachment check to use Informer/Cache
...
Change-Id: Ie70c8b6657c67eefbf13042f36d56ca84a2e42bb
2020-06-11 10:34:09 -07:00
Christian Huffman
c6fd25d100
Updated CSIDriver references
2020-03-06 08:21:26 -05:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
SataQiu
8c77b96b75
fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 13:35:13 +08:00
David Zhu
21f7060c8f
Plumb test state through to fake volume host creation for error handling
2019-11-18 14:45:01 -08:00
David Zhu
1a47bf54e2
De-race some CSI unit tests that were initializing the plugin manager…ger (and plugins) twice. Set some const variables earlier to support node info manager initialization and wait for initialization to complete before finishing plugin setup.
2019-11-15 11:23:32 -08:00
Michelle Au
fb6dfeb718
Convert attach-detach controller to use v1.CSINode
2019-10-28 13:41:13 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
xichengliudui
0b184d35a1
fixgo lint failures test/integration/...
...
update pull request
update pull request
add files
update pull request
2019-02-19 04:41:50 -05:00
Cheng Xing
8555408f42
Removing CRD installation from attach detach controller
2018-09-18 14:25:15 -07:00
saad-ali
fdeb895d25
Automatically install CRDs during controller init
2018-08-31 12:25:59 -07:00
Jan Safranek
7d673cb8f0
Pass new CSI API Client and informer to Volume Plugins
2018-08-31 12:25:59 -07:00
Yecheng Fu
17ab4c36ce
attachdetach controller: attach volumes immediately when Pod's PVCs are bound
...
- Add integration test for this feature
2018-08-14 01:03:21 +08:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
wackxu
f737ad62ed
update import
2018-02-27 20:23:35 +08:00
Dr. Stefan Schimanski
637fe0844c
e2e/integration: simplify deepcopy calls
2017-08-29 20:11:50 +02:00
Cheng Xing
396c3c7c6f
Adding dynamic Flexvolume plugin discovery capability, using filesystem watch.
2017-08-25 11:42:32 -07:00
Jacob Simpson
8bcbbd4d08
Migrate api.Registry to testapi.Groups in tests.
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Kubernetes Submit Queue
d19a2841e3
Merge pull request #47645 from jsafrane/integration-test-speedup
...
Automatic merge from submit-queue (batch tested with PRs 48139, 48042, 47645, 48054, 48003)
Speed up attach/detach controller integration tests
Internal attach/detach controller timers should be configurable and tests should use much shorter values.
`reconcilerSyncDuration` is deliberately left out of `TimerConfig` because it's the only one that's not a constant one, it's configurable by user.
Fixes #47129
Before:
```
--- PASS: TestPodDeletionWithDswp (63.21s)
--- PASS: TestPodUpdateWithWithADC (13.68s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (13.55s)
--- PASS: TestPodAddedByDswp (183.01s)
--- PASS: TestPersistentVolumeRecycler (12.55s)
--- PASS: TestPersistentVolumeDeleter (12.54s)
--- PASS: TestPersistentVolumeBindRace (3.51s)
--- PASS: TestPersistentVolumeClaimLabelSelector (12.50s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (12.54s)
--- PASS: TestPersistentVolumeMultiPVs (3.05s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (4.36s)
--- PASS: TestPersistentVolumeControllerStartup (7.29s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (5.02s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (12.48s)
ok k8s.io/kubernetes/test/integration/volume 359.727s
```
After:
```
--- PASS: TestPodDeletionWithDswp (3.71s)
--- PASS: TestPodUpdateWithWithADC (3.63s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.70s)
--- PASS: TestPodAddedByDswp (5.68s)
--- PASS: TestPersistentVolumeRecycler (12.54s)
--- PASS: TestPersistentVolumeDeleter (12.55s)
--- PASS: TestPersistentVolumeBindRace (3.55s)
--- PASS: TestPersistentVolumeClaimLabelSelector (12.50s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (12.52s)
--- PASS: TestPersistentVolumeMultiPVs (3.98s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (3.85s)
--- PASS: TestPersistentVolumeControllerStartup (7.18s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (5.23s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (12.48s)
ok k8s.io/kubernetes/test/integration/volume 103.267s
```
PV controller tests are the slowest ones now.
@kubernetes/sig-storage-pr-reviews
/assign @gnufied
```release-note
NONE
```
2017-06-27 14:08:17 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Jan Safranek
b28790a63b
Speed up attach/detach controller integration tests
...
Internal attach/detach controller timers should be configurable and tests
should use much shorter values.
reconcilerSyncDuration is deliberately left out of TimerConfig because it's
the only one that's not a constant one, it's configurable by user.
2017-06-16 12:15:04 +02:00
Hemant Kumar
97368fc0f2
Speed up volume integration test
2017-06-08 15:44:09 -04:00
Hemant Kumar
951a36aac7
Add Keepterminatedpodvolumes as a annotation on node
...
and lets make sure that controller respects it
and doesn't detaches mounted volumes.
2017-05-11 22:31:14 -04:00
Hemant Kumar
9a1a9cbe08
detach the volume when pod is terminated
...
Make sure volume is detached when pod is terminated because
of any reason and not deleted from api server.
2017-05-11 22:18:22 -04:00
deads2k
be39283923
plumb stopch to post start hook index since many of them are starting go funcs
2017-05-11 09:16:13 -04:00
Mike Danese
21617a60ae
don't use build tags to mark integration tests
2017-04-28 14:19:39 -07:00
NickrenREN
5cafb9042b
find and add active pods for dswp
...
loops through the list of active pods and ensures that each one exists in the desired state of the world cache
2017-04-18 11:21:37 +08:00
Matthew Wong
e1ce33d944
WaitForCacheSync before running attachdetach controller
2017-04-17 14:02:33 -04:00
Hemant Kumar
1a6c36da53
Fix dswp flake - from pod not showing in dswp
...
Sometimes a pod may not appear in desired state
of world immediately, we poll before failing.
It only adds additional 30s to tests in worst case.
2017-03-15 10:12:25 -04:00
deads2k
fd34b11e13
react to informer updates
2017-02-13 09:18:32 -05:00
Andy Goldstein
70c6087600
Replace hand-written informers with generated ones
...
Replace existing uses of hand-written informers with generated ones.
Follow-up commits will switch the use of one-off informers to shared
informers.
2017-02-06 13:49:27 -05:00
deads2k
b0b156b381
make tools/cache authoritative
2017-01-25 08:29:45 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00