mirror of https://github.com/k3s-io/k3s
Log instead of fail on GLBCs tendency to leak resources
parent
5913c5a453
commit
3e85c0f758
|
@ -366,9 +366,10 @@ func CleanupGCEIngressController(gceController *GCEIngressController) {
|
||||||
By(fmt.Sprintf("WARNING: possibly leaked static IP: %v\n", ipErr))
|
By(fmt.Sprintf("WARNING: possibly leaked static IP: %v\n", ipErr))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fail if the controller didn't cleanup
|
// Logging that the GLBC failed to cleanup GCE resources on ingress deletion
|
||||||
|
// See kubernetes/ingress#431
|
||||||
if pollErr != nil {
|
if pollErr != nil {
|
||||||
Failf("L7 controller failed to delete all cloud resources on time. %v", pollErr)
|
Logf("error: L7 controller failed to delete all cloud resources on time. %v", pollErr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue