Ian Chakeres
98e2c8cdee
Validate that PV capacity and PVC capacity requests are greater than zero
2017-11-13 08:57:01 -08:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Dr. Stefan Schimanski
637fe0844c
e2e/integration: simplify deepcopy calls
2017-08-29 20:11:50 +02:00
Dr. Stefan Schimanski
1910b5a1dd
Fix code implicitly casting clientsets to getters
2017-08-06 15:30:13 +02:00
Dr. Stefan Schimanski
5925a0a1df
Move pkg/api/v1/ref -> client-go/tools/reference
2017-07-18 22:45:43 +02: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
d07a0200c7
Merge pull request #47656 from jsafrane/speed-up-volume-integration
...
Automatic merge from submit-queue
Speed up PV integration tests
Integration tests are ~20 seconds shorter. Before (with #47645 applied):
```
--- PASS: TestPodDeletionWithDswp (3.70s)
--- PASS: TestPodUpdateWithWithADC (3.61s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.59s)
--- PASS: TestPodAddedByDswp (5.69s)
--- PASS: TestPersistentVolumeRecycler (2.68s)
--- PASS: TestPersistentVolumeDeleter (12.61s)
--- PASS: TestPersistentVolumeBindRace (12.53s)
--- PASS: TestPersistentVolumeClaimLabelSelector (12.52s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (2.62s)
--- PASS: TestPersistentVolumeMultiPVs (3.98s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (3.67s)
--- PASS: TestPersistentVolumeControllerStartup (7.41s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (4.85s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (2.71s)
ok k8s.io/kubernetes/test/integration/volume 82.304s
```
After:
```
--- PASS: TestPodDeletionWithDswp (3.70s)
--- PASS: TestPodUpdateWithWithADC (3.61s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.63s)
--- PASS: TestPodAddedByDswp (5.73s)
--- PASS: TestPersistentVolumeRecycler (3.53s)
--- PASS: TestPersistentVolumeDeleter (4.56s)
--- PASS: TestPersistentVolumeBindRace (3.52s)
--- PASS: TestPersistentVolumeClaimLabelSelector (3.52s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (3.49s)
--- PASS: TestPersistentVolumeMultiPVs (3.07s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (3.94s)
--- PASS: TestPersistentVolumeControllerStartup (7.64s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (6.25s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (3.55s)
ok k8s.io/kubernetes/test/integration/volume 59.945s
```
/assign @gnufied
@kubernetes/sig-storage-pr-reviews
Release note
```release-note
NONE
```
2017-06-26 08:54:09 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Jan Safranek
714545d61f
Speed up PV integration tests
2017-06-16 16:02:45 +02: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
Jan Safranek
9d0c47f1db
Use storage.v1 instead of v1beta1
...
storage.v1beta1 was used to work around GKE which does not expose v1. Now that
GKE is updated, we can switch everything to v1.
2017-04-25 10:13:38 +02:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
NickrenREN
e0ef5bfd40
Exit from NewController() for PersistentVolumeController when InitPlugins() failed just like NewAttachDetachController() does
2017-04-12 13:43:09 +08:00
Kubernetes Submit Queue
e0817ef832
Merge pull request #42381 from timchenxiaoyu/createdtypo
...
Automatic merge from submit-queue
fix created typo
2017-03-24 10:25:48 -07:00
Jan Safranek
94e78eabc0
integration tests: use attributes instead of beta annotations
2017-03-02 10:23:56 +01:00
Jan Safranek
7ae4152712
Move PV/PVC annotations to PV/PVC types.
...
They aren't part of storage.k8s.io/v1 or v1beta1 API.
Also move associated *GetClass functions.
2017-03-02 10:23:55 +01:00
Jan Safranek
a39bd53509
Explicitly use storage.k8s.io/v1beta1 everywhere.
...
v1 is not yet awailable on GKE and tests would fail.
2017-03-02 08:56:26 +01:00
timchenxiaoyu
c02fd6d28e
fix created typo
2017-03-02 09:26:30 +08:00
Jordan Liggitt
41c88e0455
Revert "Merge pull request #40088 from jsafrane/storage-ga-v1"
...
This reverts commit 5984607cb9
, reversing
changes made to 067f92e789
.
2017-02-25 22:35:15 -05:00
Jan Safranek
fa93f1c411
Update imports
2017-02-24 13:52:16 +01:00
Matthew Wong
33f98d4db3
Switch pv controller to shared informers
2017-02-16 10:08:23 -05:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jan Safranek
0fd5f2028d
Add work queues to PV controller
...
PV controller should not use Controller.Requeue, as as it is not available in
shared informers. We need to implement our own work queues instead where we
can enqueue volumes/claims as we want.
2017-01-02 15:17:24 +01:00
Kubernetes Submit Queue
d8efc779ed
Merge pull request #38154 from caesarxuchao/rename-release_1_5
...
Automatic merge from submit-queue (batch tested with PRs 38154, 38502)
Rename "release_1_5" clientset to just "clientset"
We used to keep multiple releases in the main repo. Now that [client-go](https://github.com/kubernetes/client-go ) does the versioning, there is no need to keep releases in the main repo. This PR renames the "release_1_5" clientset to just "clientset", clientset development will be done in this directory.
@kubernetes/sig-api-machinery @deads2k
```release-note
The main repository does not keep multiple releases of clientsets anymore. Please find previous releases at https://github.com/kubernetes/client-go
```
2016-12-14 14:21:51 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
aaronxu
3b20730620
spell check for test/*
2016-12-14 06:03:00 -08:00
Wojciech Tyczynski
a9ec31209e
GetOptions - fix tests
2016-12-09 09:42:01 +01:00
Jordan Liggitt
6819706adf
Pass addressable values to DeepCopy
2016-12-08 14:16:01 -05:00
Hemant Kumar
fcf5d79be7
Add integration tests for desire state of world populator
...
This adds tests for code introduced here :
https://github.com/kubernetes/kubernetes/issues/26994
Via integration test we can now verify that if pod delete
event is somehow missed by AttachDetach controller - it still
get cleaned up by Desired State of World populator.
2016-12-06 06:52:52 -05:00