Repository navigation
Disable ingress ip when cloud provider enabled - #10455
Conversation
|
[test] |
| glog.Fatalf("Could not get client: %v", err) | ||
| onBareMetal := (kc.CloudProvider == nil) | ||
| if onBareMetal { | ||
| // The ingress ip controller should only be run on baremetal. In a cloud environment, it will conflict with the |
There was a problem hiding this comment.
Have you tested whether you can run side by side even in a cloud environment?
There was a problem hiding this comment.
How would that be possible? In a cloud environment the service controller is active and relies on the same status field that the ingress controller uses.
|
There can be more than one ingress for a load balancer service. Does the On Tue, Aug 16, 2016 at 1:56 PM, OpenShift Bot [email protected]
|
|
@smarterclayton It clobbers. The assumption of the ingress ip controller is that it is in control of the status field. This is the first time I'm hearing that the feature should work on a cloud provider. Wasn't the whole point to provide an alternative on baremetal? |
| validationResults.AddErrors(field.Invalid(fldPath.Child("networkConfig", "ingressIPNetworkCIDR").Index(0), cidr, "must be a valid CIDR notation IP range (e.g. 172.30.0.0/16)")) | ||
| } | ||
| } else { | ||
| validationResults.AddErrors(field.Invalid(fldPath.Child("networkConfig", "ingressIPNetworkCIDR").Index(0), cidr, "should not be provided when a cloud-provider is enabled.")) |
There was a problem hiding this comment.
No period at the end.
|
The code (sans test) LGTM |
|
What a difference testing makes! |
|
Evaluated for origin test up to 346982a |
|
Lgtm [merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8226/) (Image: devenv-rhel7_4877) |
|
Evaluated for origin merge up to 346982a |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8205/) |
|
Check job failure is flake #10487 |
|
Conformance job failure is flake #9548 |
cc: @smarterclayton