Andrew Sy Kim
f34b32f5d0
cloud node controller: refactor tests to not depend on controller/testutils
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-03-24 13:36:10 -04:00
andrewsykim
8c633356df
move well known cloud provider taints to k8s.io/cloud-provider/api
...
Signed-off-by: andrewsykim <kim.andrewsy@gmail.com >
2020-02-23 19:54:59 -05:00
Andrew Sy Kim
3032c81187
node controller: set both deprecated Beta and GA labels for Zone/Region topology
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com >
2019-11-07 20:08:11 -05:00
Yassine TIJANI
356e3d0d61
remove Get/Set node condition dependency for the ccm controllers
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com >
2019-10-04 16:52:36 +02:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Andrew Kim
2901def8c3
delete the persistentvolume labeler controller
2019-02-26 14:23:20 -05:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com >
2019-02-09 01:16:55 -05:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
Kubernetes Prow Robot
e2be7c91d9
Merge pull request #70344 from andrewsykim/consolidate-node-delete
...
consolidate node deletion logic between kube-controller-manager and cloud-controller-manager
2018-12-17 15:49:16 -08:00
andrewsykim
5329f09663
consolidate node deletion logic between node lifecycle and cloud node controller
2018-12-03 13:33:53 -05:00
Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
733dd9dfd7
Add tests to ensure feature gate changes don't escape kubelet/scheduler packages
2018-11-16 10:52:53 -05:00
Jordan Liggitt
358c092abe
fix storage unit tests leaking feature flag changes
2018-11-16 10:52:52 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +08:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
Deep Debroy
7946c6e21b
Implement semantic comparison of VolumeNodeAffinity for unit tests
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2018-08-31 19:05:05 -07:00
Deep Debroy
074dc6487b
Populate NodeAffinity on top of labels for cloud based PersistentVolumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2018-06-26 19:48:03 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jesse Haka
de967b717d
PR #59323 , fix bug and remove one api call, add node util dependency to cloud controller
2018-04-22 20:32:26 +03:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Jonathan Basseri
85c5862552
Fix scheduler refs in BUILD files.
...
Update references to moved scheduler code.
2018-01-05 15:05:01 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Chen Li
fb9b29dbb1
Using assertions
...
Using assertions for unit tests:
1. cmd/kube-controller-manager/app/controller_manager_test.go
2. pkg/controller/bootstrap/jws_test.go
3. pkg/controller/cloud/node_controller_test.go
4. pkg/controller/controller_utils_test.go
2017-10-10 22:44:12 -05:00
Jeff Grafton
532bd482df
Use buildozer to remove deprecated automanaged tags
2017-09-21 15:53:22 -07:00
Davanum Srinivas
d47bd26c4b
Remove links to GCE/AWS cloud providers from PersistentVolumeController
...
We should be able to build a cloud-controller-manager without having to
pull in code specific to GCE and AWS clouds. Note that this is a tactical
fix for now, we should have allow PVLabeler to be passed into the
PersistentVolumeController, maybe come up with better interfaces etc. Since
it is too late to do all that for 1.8, we just move cloud specific code
to where they belong and we check for PVLabeler method and use it where
needed.
Fixes #51629
2017-09-08 15:28:08 -04:00
Robert Rati
53856420e8
Replicate the persistent volume label admission plugin in a controller in
...
the cloud-controller-manager
2017-08-28 03:12:18 -04:00
ymqytw
7500b55ce4
move retry to client-go
2017-08-14 14:16:26 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Klaus Ma
4fdb701e3c
Moved node/testutil to upper dir.
2017-08-08 10:14:21 +08:00
dhilipkumars
a1ba598130
Have a uniform format for filenames across controllers
2017-08-02 09:50:05 +05:30
Jacob Simpson
b565f53822
update-bazel.sh
2017-07-17 15:06:08 -07:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
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
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
deads2k
954eb3ceb9
move labels to components which own the APIs
2017-05-31 10:32:06 -04:00
wlan0
45d2bc06b7
cloud initialize node in external cloud controller
2017-05-05 16:51:45 -07: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
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
deads2k
fd34b11e13
react to informer updates
2017-02-13 09:18:32 -05:00
deads2k
a86fabb9d2
regenerate informers
2017-02-13 07:59:34 -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
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
wlan0
75da310757
sanitize names and add more comments, and other essential boilerplate changes
2016-12-22 14:37:15 -08:00