geyingqi
22c41caca9
Add integrate test to OOS node
2024-12-05 23:45:46 +08:00
geyingqi
94f6422562
test:Fix typo
2024-10-26 12:56:37 +08:00
geyingqi
734c36851f
test:Add podgcCtrl to attachdetachClients
2024-10-26 12:34:12 +08:00
geyingqi
6910e76699
test:Add podgcCtrl to attachdetachClients
2024-10-26 12:33:57 +08:00
carlory
1eee8ff3da
fix lint
2024-09-18 10:53:00 +08:00
carlory
19f8a786ff
Fix TestPersistentVolumeProvisionMultiPVCs
2024-09-10 12:33:52 +08:00
Kubernetes Prow Robot
e855753ca6
Merge pull request #126848 from carlory/ref-124136
...
Fix hotloop once the watch closes
2024-08-22 16:32:24 +01:00
carlory
231d9af5fe
Fix hotloop once the watch closes
2024-08-22 00:03:26 +08:00
Kubernetes Prow Robot
b1aadefec8
Merge pull request #126556 from carlory/ref-124136
...
Collect more info for debugging #124136
2024-08-21 15:22:05 +01:00
carlory
9c9a1623d2
put volumescheduling and volume intergation test under SIG-Storage reviewing
2024-08-21 18:38:00 +08:00
carlory
b6ef1c80e2
Collect more info for debugging #124136
2024-08-07 16:39:07 +08:00
carlory
3a6a4830df
pvc bind pv with vac
2024-07-23 15:04:11 +08:00
Antonio Ojea
6552f2710f
use default flags for apiserver on integration tests
2024-06-04 22:09:35 +00:00
carlory
9c92b37d4e
remove clusterName from VolumeOptions
2024-05-10 16:42:31 +08:00
carlory
9ec6ee539a
Remove cloud provider dependency from volume host and volume controllers
2024-04-18 19:00:37 +08:00
Kubernetes Prow Robot
7f67cb5960
Merge pull request #123969 from liangyuanpeng/cleanup_rand
...
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
2024-04-18 02:10:26 -07:00
Lan Liang
dc992adad3
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
...
see https://tip.golang.org/doc/go1.20
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-03-18 08:10:12 +00:00
carlory
b47c73ee26
keep-terminated-pod-volumes flag on kubelet is removed
2024-03-01 18:42:15 +08:00
Mengjiao Liu
b584b87a94
kube-controller-manager: readjust log verbosity
...
- Increase the global level for broadcaster's logging to 3 so that users can ignore event messages by lowering the logging level. It reduces information noise.
- Making sure the context is properly injected into the broadcaster, this will allow the -v flag value to be used also in that broadcaster, rather than the above global value.
- test: use cancellation from ktesting
- golangci-hints: checked error return value
2024-02-26 14:51:56 +08:00
Rohit Singh
13dddca6a2
Add "disable-force-detach-on-timeout" flag to kube-controller-manager
2024-02-22 18:31:52 +00:00
Patrick Ohly
2472291790
api: introduce separate VolumeResourceRequirements struct
...
PVC and containers shared the same ResourceRequirements struct to define their
API. When resource claims were added, that struct got extended, which
accidentally also changed the PVC API. To avoid such a mistake from happening
again, PVC now uses its own VolumeResourceRequirements struct.
The `Claims` field gets removed because risk of breaking someone is low:
theoretically, YAML files which have a claims field for volumes now
get rejected when validating against the OpenAPI. Such files
have never made sense and should be fixed.
Code that uses the struct definitions needs to be updated.
2023-08-21 15:31:28 +02:00
Kubernetes Prow Robot
960830bc66
Merge pull request #118102 from RomanBednar/retro-sc-assignment-ga
...
graduate RetroactiveDefaultStorageClass feature to GA in 1.28
2023-06-27 20:46:32 -07:00
carlory
5e048041e4
remove helper function for unused storage feature in pkg/proxy/util
2023-06-13 09:22:59 +08:00
Roman Bednar
6afb363ca1
test: remove RetroactiveDefaultStorageClass feature gate
...
Since the feature is GA and locked to true, tests can no longer set it
to false. Cleaning up by removing all references to this feature gate
from tests.
Feature gate will be removed in v1.29.
2023-06-07 14:31:16 +02:00
杨军10092085
361e4ff0fa
volume: use contextual logging
2023-03-14 08:37:30 +08:00
Roman Bednar
77d904f053
add integration tests for retroactive SC assignment
...
Also stress tested for ~2 hours to minimize possible races:
$ stress ./volume.test -test.run=TestRetroactiveStorageClassAssignment
...
1h59m50s: 3198 runs so far, 0 failures
1h59m55s: 3200 runs so far, 0 failures
2h0m0s: 3201 runs so far, 0 failures
2h0m5s: 3202 runs so far, 0 failures
2022-08-09 15:22:38 +02:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-07-26 13:14:05 -04: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
c6e3bd732e
Clean shutdown of persistentvolume integration tests
2022-05-26 16:20:56 +02: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
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -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
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Christian Huffman
c6fd25d100
Updated CSIDriver references
2020-03-06 08:21:26 -05:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08: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