Skip to content
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: Upsert load balancer #307

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

lwander
Copy link
Member

@lwander lwander commented Feb 11, 2016

Implements upsert load balancer for kubernetes.

Load balancers are represented as kuberentes services (and can optionally be backed by a cloud provider's load balancer, when possible).

Relationships between load balancers and instances (pods) are maintained using labels & selectors.

@duftler

@@ -1,11 +1,11 @@
/*
* Copyright 2016 Google, Inc.
* Copyright 2016 Netflix, Inc.
Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, just noticed the license headers were thrown off by IntelliJ. I'll update these in the morning.

@lwander
Copy link
Member Author

lwander commented Feb 12, 2016

@ttomsu

}
}

def validateIpv4(String value, String attribute) {
Copy link
Member

Choose a reason for hiding this comment

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

def result = InetAddressUtils.isIPv4Address(value)
if (!result) {
  errors.rejectValue(...)
}
result

@ttomsu
Copy link
Member

ttomsu commented Feb 12, 2016

LGTM with comments.

@lwander lwander force-pushed the kubernetes-load-balancer-create branch from 7d687a1 to 68e448b Compare February 12, 2016 20:36
@lwander lwander force-pushed the kubernetes-load-balancer-create branch from 68e448b to e6db61f Compare February 12, 2016 21:15
lwander added a commit that referenced this pull request Feb 12, 2016
provider/kubernetes: Upsert load balancer
@lwander lwander merged commit 6a871d0 into spinnaker:master Feb 12, 2016
luba239 pushed a commit to vasiliy-briginets/clouddriver that referenced this pull request Mar 5, 2020
ttomsu pushed a commit to ttomsu/clouddriver that referenced this pull request Mar 11, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants