mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-11 11:00:57 -04:00
The ipallocator was blindly assuming that all errors are retryable, that causes that the allocator tries to exhaust all the possibilities to allocate an IP address. If the error is not retryable this means the allocator will generate as many API calls as existing available IPs are in the allocator, causing CPU exhaustion since this requests are coming from inside the apiserver. In addition to handle the error correctly, this patch also interpret the error to return the right status code depending on the error type. Co-authored-by: carlory <baofa.fan@daocloud.io> |
||
|---|---|---|
| .. | ||
| componentstatus | ||
| configmap | ||
| endpoint | ||
| event | ||
| limitrange | ||
| namespace | ||
| node | ||
| persistentvolume | ||
| persistentvolumeclaim | ||
| pod | ||
| podtemplate | ||
| rangeallocation | ||
| replicationcontroller | ||
| resourcequota | ||
| rest | ||
| secret | ||
| service | ||
| serviceaccount | ||
| OWNERS | ||