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

translator: support tcp cloud load-balancing #12

Merged
merged 6 commits into from
Feb 4, 2019

Conversation

bmcustodio
Copy link
Contributor

@bmcustodio bmcustodio commented Feb 2, 2019

This PR adds support for TCP cloud load-balancing. This is done by allowing users to specify the following annotation:

kubernetes.dcos.io/cloud-loadbalancer-configmap: "<cloud-loadbalancer-configmap>"

This annotation must point at a ConfigMap resource containing the required configuration object (as defined by EdgeLB). This object is passed unmodified to EdgeLB, which should handle provisioning of the cloud load-balancer.

It should be noted that the included documentation must be changed as soon as possible in order to point at EdgeLB documentation detailing the required structure for the configuration object. The only part we should still document with respect to this is how to point at a given EdgeLB frontend, since we generate the frontend's names ourselves (<cluster-name>:<namespace>:<name>:<port>).

It should also be noted that, as of now, EdgeLB doesn't seem to report any errors that may occur due to an invalid configuration, making dklb unable to provide feedback to the user in case of an error. When this is fixed, dklb should start reporting these errors via Kubernetes events automatically.

@bmcustodio bmcustodio added the feature New feature or request label Feb 2, 2019
@bmcustodio bmcustodio self-assigned this Feb 2, 2019
@bmcustodio bmcustodio requested a review from pires February 2, 2019 13:15
Copy link
Contributor

@pires pires left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM and tests pass.

@pires pires merged commit 80dbeef into master Feb 4, 2019
@pires pires deleted the bcustodio/cloud-loadbalancing branch February 4, 2019 11:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants