Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

RFC/PREP: Allow a load-balancer address for k8s API #987

Closed

Conversation

rowanj
Copy link

@rowanj rowanj commented Sep 25, 2019

Extends the RancherKubernetesEngineConfig (cluster.yml) type to support the configuration of an API load-balancer.

This is a pre-requisite for an upcoming PR to extend RKE to support such a configuration.

to-do:

  • update and document design in accordance w/ feedback from #1348

--

This optional string is to replace the hostname used by other nodes and
configurations when attempting contacting the k8s API service.

It is expected to be the hostname of a layer-4 (TCP) load-balancer which
will be externally configured by the organisation to direct traffic to
an appropriate selection of the cluster's ControlPlane nodes on the same
port as it arrived; i.e. TCP/6443 for kube-apiserver.

Any TLS configuration and healthchecks on the load-balancer host are
also expected to be managed by the organisation.

This optional string is to replace the hostname used by other nodes and
configurations when attempting contacting the k8s API service.

It is expected to be the hostname of a layer-4 (TCP) load-balancer which
will be externally configured by the organisation to direct traffic to
an appropriate selection of the cluster's ControlPlane nodes on the same
port as it arrived; i.e. TCP/6443 for kube-apiserver.

Any TLS configuration and healthchecks on the load-balancer host are
also expected to be managed by the organisation.
@superseb
Copy link
Contributor

The design for a solution for this has been posted at rancher/rke#1348 (comment) and will be put in a final design soon that can be worked on. Is this taken into account or is this an implementation that you thought of? And is that design described somewhere?

@rowanj
Copy link
Author

rowanj commented Sep 25, 2019

Need to regenerate the built code but the build seems to be failing here due to our intercepting proxy; will continue from home.

@rowanj
Copy link
Author

rowanj commented Sep 25, 2019

@superseb I didn't see that PR in my search, this is based on our current need

@rowanj
Copy link
Author

rowanj commented Sep 25, 2019

I like most of the suggested design there, I'll adapt and extend and update this PR.

@superseb
Copy link
Contributor

superseb commented Oct 4, 2019

There is now accepted design yet, I just opened rancher/rke#1682, will have it reviewed and we can work from there.

@superseb superseb closed this Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants