start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2017-04-17 20:13:55 +00:00
|
|
|
srcs = [
|
|
|
|
"node_controller.go",
|
|
|
|
"pvlcontroller.go",
|
|
|
|
],
|
2017-10-12 20:52:10 +00:00
|
|
|
importpath = "k8s.io/kubernetes/pkg/controller/cloud",
|
start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
deps = [
|
2017-04-17 17:56:40 +00:00
|
|
|
"//pkg/api/v1/node:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//pkg/apis/core/v1/helper:go_default_library",
|
start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
"//pkg/cloudprovider:go_default_library",
|
2017-04-17 20:13:55 +00:00
|
|
|
"//pkg/controller:go_default_library",
|
2018-02-20 17:54:07 +00:00
|
|
|
"//pkg/controller/util/node:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//pkg/features:go_default_library",
|
2017-05-30 14:46:00 +00:00
|
|
|
"//pkg/kubelet/apis:go_default_library",
|
2018-01-04 02:23:05 +00:00
|
|
|
"//pkg/scheduler/algorithm:go_default_library",
|
2017-03-29 23:21:42 +00:00
|
|
|
"//pkg/util/node:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//pkg/volume/util:go_default_library",
|
2018-06-21 21:51:55 +00:00
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
2018-06-21 21:51:55 +00:00
|
|
|
"//staging/src/k8s.io/client-go/informers/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/retry:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/workqueue:go_default_library",
|
2017-04-12 16:05:10 +00:00
|
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2017-04-17 20:13:55 +00:00
|
|
|
srcs = [
|
|
|
|
"node_controller_test.go",
|
|
|
|
"pvlcontroller_test.go",
|
|
|
|
],
|
2017-12-23 21:06:26 +00:00
|
|
|
embed = [":go_default_library"],
|
start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
deps = [
|
|
|
|
"//pkg/cloudprovider:go_default_library",
|
|
|
|
"//pkg/cloudprovider/providers/fake:go_default_library",
|
|
|
|
"//pkg/controller:go_default_library",
|
2017-08-04 23:34:28 +00:00
|
|
|
"//pkg/controller/testutil:go_default_library",
|
2017-05-30 14:46:00 +00:00
|
|
|
"//pkg/kubelet/apis:go_default_library",
|
2018-01-04 02:23:05 +00:00
|
|
|
"//pkg/scheduler/algorithm:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//pkg/volume/util:go_default_library",
|
2018-06-21 21:51:55 +00:00
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
2018-06-27 02:48:03 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
2018-06-21 21:51:55 +00:00
|
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/fake:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/testing:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
|
2017-04-12 16:05:10 +00:00
|
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
2017-09-20 05:24:07 +00:00
|
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
start breaking up controller manager into two pieces
Addresses: kubernetes/features#88
This commit starts breaking the controller manager into two pieces, namely,
1. cloudprovider dependent piece
2. coudprovider agnostic piece
the controller manager has the following control loops -
- nodeController
- volumeController
- routeController
- serviceController
- replicationController
- endpointController
- resourcequotacontroller
- namespacecontroller
- deploymentController etc..
among the above controller loops,
- nodeController
- volumeController
- routeController
- serviceController
are cloud provider dependent. As kubernetes has evolved tremendously, it has become difficult
for different cloudproviders (currently 8), to make changes and iterate quickly. Moreover, the
cloudproviders are constrained by the kubernetes build/release lifecycle. This commit is the first
step in moving towards a kubernetes code base where cloud providers specific code will move out of
the core repository, and will be maintained by the cloud providers themselves.
Finally, along with the controller-manager, the kubelet also has cloud-provider specific code, and that will
be addressed in a different commit/issue.
2016-11-24 02:30:01 +00:00
|
|
|
],
|
|
|
|
)
|
2017-01-03 22:40:41 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|