Describe the bug
aws 리소스 리밋으로 tks 유저 클러스터 생성이 실패한 경우, 이 클러스터를 삭제할 때 제대로 삭제가 되지 않는다.
To Reproduce
Steps to reproduce the behavior:
Elastic IP가 모두 소진될 때 까지 클러스터를 만든다.
Screenshots or logs (optional)
클러스터 생성 시 에러가 발생한 capa-system log
E0325 00:15:17.407305 1 awscluster_controller.go:218] controller/awscluster "msg"="failed to reconcile network" "error"="failed to create one or more IP addresses for NAT gateways: failed to allocate Elastic IP: AddressLimitExceeded: The maximum number of addresses has been reached.\n\tstatus code: 400, request id: c7c7adb8-49b5-41ab-bfdc-6c94f87201bc" "cluster"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "name"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "namespace"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="AWSCluster"
E0325 00:15:17.493217 1 controller.go:317] controller/awscluster "msg"="Reconciler error" "error"="failed to create one or more IP addresses for NAT gateways: failed to allocate Elastic IP: AddressLimitExceeded: The maximum number of addresses has been reached.\n\tstatus code: 400, request id: c7c7adb8-49b5-41ab-bfdc-6c94f87201bc" "name"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "namespace"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="AWSCluster"
I0325 00:15:17.499204 1 awscluster_controller.go:201] controller/awscluster "msg"="Reconciling AWSCluster" "cluster"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "name"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "namespace"="4554a48b-3c94-4106-b5bc-d93f22fafd7b" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="AWSCluster"
클러스터 삭제 시 workflow 에러
Server Information (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug aws 리소스 리밋으로 tks 유저 클러스터 생성이 실패한 경우, 이 클러스터를 삭제할 때 제대로 삭제가 되지 않는다.
To Reproduce Steps to reproduce the behavior: Elastic IP가 모두 소진될 때 까지 클러스터를 만든다.
Screenshots or logs (optional) 클러스터 생성 시 에러가 발생한
capa-system
log클러스터 삭제 시 workflow 에러
Server Information (please complete the following information):
Additional context Add any other context about the problem here.