-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
provider/kubernetes: Cache & expose kubernetes services as load balancers. #312
provider/kubernetes: Cache & expose kubernetes services as load balancers. #312
Conversation
this.namespace = service.metadata.namespace | ||
this.region = this.namespace | ||
this.accountName = accountName | ||
this.serverGroups = serverGroupList.collect { KubernetesServerGroup serverGroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would serverGroupList.groupBy { it.name }
work here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't know that existed, good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't work in this case since we are returning a set of maps, not just a single map.
LGTM |
7f9804d
to
b61c714
Compare
provider/kubernetes: Cache & expose kubernetes services as load balancers.
@@ -0,0 +1,67 @@ | |||
Inferred project: clouddriver, version: 1.49.0-SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lwander Looks like your log file got checked-in by accident.
Implements & adds a load balancer
CachingAgent
, well as a load balancerProvider
.This PR is most useful in conjunction with #307.