Add the service load balancer controller to Origin#8633
Add the service load balancer controller to Origin#8633openshift-bot merged 1 commit intoopenshift:masterfrom
Conversation
|
LGTM cc @sjenning |
pkg/cmd/server/start/start_master.go
Outdated
| kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"), recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace) | ||
| kc.RunGCController(gcClient) | ||
|
|
||
| kc.RunServiceLoadBalancerController() |
There was a problem hiding this comment.
We've been making sure new controllers run with a service account client a la oc.GetServiceAccountClients(bootstrappolicy.InfraDaemonSetControllerServiceAccountName). Probably want it here too.
cc @deads2k
There was a problem hiding this comment.
I was going to ask about that, but I looked at several other controllers in this file and saw they all used clientadapter.FromUnversionedClient(c.KubeClient). Maybe I didn't look thoroughly enough.
There was a problem hiding this comment.
Yeah, there's still a mix of the old and new implementations. Been trying to catch anything new going in.
There was a problem hiding this comment.
Yeah, there's still a mix of the old and new implementations. Been trying to catch anything new going in.
Agree.
As a note for whoever does the rebase, we need to sort out what we do about shared cache ACL-ing. @liggitt
There was a problem hiding this comment.
Have we taken into account how we'll change this code path to use versioned
clients?
On Tue, Apr 26, 2016 at 11:04 AM, David Eads notifications@github.com
wrote:
In pkg/cmd/server/start/start_master.go
#8633 (comment):@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc *kubernetes.MasterConfig) erro
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"), recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace)
kc.RunGCController(gcClient)
kc.RunServiceLoadBalancerController()Yeah, there's still a mix of the old and new implementations. Been trying
to catch anything new going in.Agree.
As a note for whoever does the rebase, we need to sort out what we do
about shared cache ACL-ing. @liggitt https://github.com/liggitt—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61102578
There was a problem hiding this comment.
One role per controller? Yuck
On Tue, Apr 26, 2016 at 11:31 AM, Clayton Coleman ccoleman@redhat.com
wrote:
Have we taken into account how we'll change this code path to use
versioned clients?On Tue, Apr 26, 2016 at 11:04 AM, David Eads notifications@github.com
wrote:In pkg/cmd/server/start/start_master.go
#8633 (comment):@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc *kubernetes.MasterConfig) erro
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"), recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace)
kc.RunGCController(gcClient)
kc.RunServiceLoadBalancerController()Yeah, there's still a mix of the old and new implementations. Been trying
to catch anything new going in.Agree.
As a note for whoever does the rebase, we need to sort out what we do
about shared cache ACL-ing. @liggitt https://github.com/liggitt—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61102578
There was a problem hiding this comment.
One role per thing with discrete and predictable permissions to change API
objects across all namespaces? That seems pretty reasonable to me.
On Tue, Apr 26, 2016 at 11:33 AM, Clayton Coleman notifications@github.com
wrote:
In pkg/cmd/server/start/start_master.go
#8633 (comment):@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc *kubernetes.MasterConfig) erro
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"), recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace)
kc.RunGCController(gcClient)
kc.RunServiceLoadBalancerController()One role per controller? Yuck
… <#m_-4805712814360026323_>
On Tue, Apr 26, 2016 at 11:31 AM, Clayton Coleman _@.> wrote: >
Have we taken into account how we'll change this code path to use >
versioned clients? > > On Tue, Apr 26, 2016 at 11:04 AM, David Eads
*__@_.***> > wrote: > In pkg/cmd/server/start/start_master.go > <#8633
(comment)
https://github.com/openshift/origin/pull/8633#discussion_r61102578>: >@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc
*kubernetes.MasterConfig) erro > >
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"),
recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace) >
kc.RunGCController(gcClient) > > > > +
kc.RunServiceLoadBalancerController() > > Yeah, there's still a mix of the
old and new implementations. Been trying > to catch anything new going in.
Agree. > > As a note for whoever does the rebase, we need to sort out
what we do > about shared cache ACL-ing. @liggitt
https://github.com/liggitt https://github.com/liggitt > > — > You are
receiving this because you authored the thread. > Reply to this email
directly or view it on GitHub > <
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61102578>—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61108219
There was a problem hiding this comment.
I meant one service account per controller.
On Tue, Apr 26, 2016 at 12:35 PM, David Eads notifications@github.com
wrote:
In pkg/cmd/server/start/start_master.go
#8633 (comment):@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc *kubernetes.MasterConfig) erro
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"), recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace)
kc.RunGCController(gcClient)
kc.RunServiceLoadBalancerController()One role per thing with discrete and predictable permissions to change API
objects across all namespaces? That seems pretty reasonable to me.
… <#m_-8016314581085398451_>
On Tue, Apr 26, 2016 at 11:33 AM, Clayton Coleman _@.> wrote: In
pkg/cmd/server/start/start_master.go <#8633 (comment)
https://github.com/openshift/origin/pull/8633#discussion_r61108219>: >
@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc
*kubernetes.MasterConfig) erro >
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"),
recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace) >
kc.RunGCController(gcClient) > > + kc.RunServiceLoadBalancerController()
One role per controller? Yuck … <#m_-4805712814360026323_> On Tue, Apr 26,
2016 at 11:31 AM, Clayton Coleman *__@_.> wrote: > Have we taken into
account how we'll change this code path to use > versioned clients? > > On
Tue, Apr 26, 2016 at 11:04 AM, David Eads *__@.***> > wrote: > In
pkg/cmd/server/start/start_master.go > <#8633
#8633 (comment) <#8633 (comment)
https://github.com/openshift/origin/pull/8633#discussion_r61102578>>: >@@ -613,6 +613,8 @@ func startControllers(oc *origin.MasterConfig, kc
*kubernetes.MasterConfig) erro > >
kc.RunPersistentVolumeClaimRecycler(oc.ImageFor("recycler"),
recyclerClient, oc.Options.PolicyConfig.OpenShiftInfrastructureNamespace) >
kc.RunGCController(gcClient) > > > > +
kc.RunServiceLoadBalancerController() > > Yeah, there's still a mix of the
old and new implementations. Been trying > to catch anything new going in.
Agree. > > As a note for whoever does the rebase, we need to sort out
what we do > about shared cache ACL-ing. @liggitt
https://github.com/liggitt https://github.com/liggitt <
https://github.com/liggitt> > > — > You are receiving this because you
authored the thread. > Reply to this email directly or view it on GitHub >
<
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61102578>
— You are receiving this because you were mentioned. Reply to this email
directly or view it on GitHub <
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61108219>—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/origin/pull/8633/files/a7a264ec9a036439b5959ec6c5d2d2234057ed81#r61119394
a7a264e to
b23b7ba
Compare
|
[test] |
|
More feedback? |
|
none here, LGTM |
b23b7ba to
7609d9b
Compare
|
Evaluated for origin test up to 7609d9b |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3555/) |
|
[merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5803/) (Image: devenv-rhel7_4093) |
|
Evaluated for origin merge up to 7609d9b |
Fixes #8626
@ncdc