CodeValet / codevalet

Radically transparent
https://codevalet.io
GNU Affero General Public License v3.0
12 stars 5 forks source link

Proxying through nginx currently requires an External IP #47

Closed rtyler closed 7 years ago

rtyler commented 7 years ago

Looks like the services are creating external IPs in the Azure load balancer. Will need to figure out whether the current reliance on FOO_SERVICE_HOST type environment variables in proxy/ requires these external IPs, or whether I can create a Service without exposing it externally.

rtyler commented 7 years ago

This is likely why this issue is still happening.

rtyler commented 7 years ago

Seeing errors with the current setup as well.

E0909 15:40:02.525325       1 servicecontroller.go:686] External error while updating load balancer: network.LoadBalancersClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="LoadBalancerFrontendIPConfigurationCountLimitReached" Message="Basic sku load balancer /subscriptions/be53081d-a3a2-499c-b355-8f5c3d4126e5/resourceGroups/codevalet-prod-controlplane/providers/Microsoft.Network/loadBalancers/codevalet-prod-k8s-master cannot have more than 10 FrontendIPConfigurations." Details=[].
I0909 15:41:02.648123       1 servicecontroller.go:296] Ensuring LB for service default/jenkins-berriedale
E0909 15:41:03.090343       1 servicecontroller.go:779] Failed to process service. Retrying in 5m0s: Failed to create load balancer for service default/jenkins-berriedale: network.LoadBalancersClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="LoadBalancerFrontendIPConfigurationCountLimitReached" Message="Basic sku load balancer /subscriptions/be53081d-a3a2-499c-b355-8f5c3d4126e5/resourceGroups/codevalet-prod-controlplane/providers/Microsoft.Network/loadBalancers/codevalet-prod-k8s-master cannot have more than 10 FrontendIPConfigurations." Details=[]