linode / linode/linode-cloud-controller-manager
Stale NBs are left when deleting the underlying K8S cluster
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 94
- Forks
- 75
- Avg merge
- 11h 19m
- Merged PRs (30d)
- 20
Description
## General:
* [X] Have you removed all sensitive information, including but not limited to access keys and passwords?
* [X] Have you checked to ensure there aren't other open or closed [Pull Requests](../../pulls) for the same bug/feature/question?
----
## Bug Reporting
When using the Linode CCM in K8S clusters and deleting the underlying cluster while not deleting the `Service` leaves a stable NB in the Linode account.
### Expected Behavior
Explore having some kind of finalization mechanism to delete the NB when the cluster is being deleted
### Actual Behavior
Stale NBs are left in place
### Steps to Reproduce the Problem
1. Create a K8S cluster with the linode-ccm installed on it
1. Provision a Service of type LoadBalancer
1. Delete the control plane and nodes of the cluster
### Environment Specifications
This happens for KPP clusters but also was reported by externally facing customers who are not using KPP
#### Additional Notes
I'm not really sure we can address this in the linode-ccm and may need to address it at a platform level but wanted to have this logged and tracked somewhere
----
For general help or discussion, join the [Kubernetes Slack team](https://kubernetes.slack.com/messages/CD4B15LUR/details/) channel `#linode`. To sign up, use the [Kubernetes Slack inviter](http://slack.kubernetes.io/).
The [Linode Community](https://www.linode.com/community/questions/) is a great place to get additional support.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a Linode CCM Kubernetes cluster, a Service of type LoadBalancer, and deletion of the control plane and nodes while retaining the Service. Trace whether cleanup belongs in the Linode CCM or at the platform level, and determine the appropriate finalization point. Done means the underlying NodeBalancer is removed when the cluster is deleted, or the ownership boundary is documented if the CCM cannot address it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100