AliyunContainerService / terway

CNI plugin for Alibaba Cloud VPC/ENI
https://www.aliyun.com/product/kubernetes
Apache License 2.0
551 stars 153 forks source link

openapi: adapt the QuotaExceeded.PrivateIpAddress code #720

Closed l1b0k closed 1 day ago

l1b0k commented 1 day ago

ECS typically returns InvalidVSwitchId.IpNotEnough but occasionally the error is QuotaExceeded.PrivateIpAddress

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 21.33%. Comparing base (25e012a) to head (2e90d62). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/controller/multi-ip/node/pool.go 0.00% 3 Missing and 1 partial :warning:
pkg/controller/pod/pod_controller.go 0.00% 1 Missing :warning:
pkg/eni/local.go 0.00% 1 Missing :warning:
pkg/factory/aliyun/aliyun.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #720 +/- ## ========================================== + Coverage 21.25% 21.33% +0.07% ========================================== Files 121 121 Lines 15828 15828 ========================================== + Hits 3365 3377 +12 + Misses 12087 12077 -10 + Partials 376 374 -2 ``` | [Flag](https://app.codecov.io/gh/AliyunContainerService/terway/pull/720/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/AliyunContainerService/terway/pull/720/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService) | `21.33% <0.00%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AliyunContainerService#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.