Skip to content

Deleting nodes #290

Description

@james-callahan

Feature Request

When a node is deleted, e.g. from an EC2 ASG via terminate-instance-in-autoscaling-group, what should inform kubernetes and run delete node?

Description

Normally using the aws-cloud-controller-manager it would do that job; but this project replaces that.

I would expect

func (i *instances) InstanceExists(_ context.Context, node *v1.Node) (bool, error) {
to reach out and check with AWS for the existence of the node. Currently it only supports some sort of timeout based GCP spot instance flow.

I understand that for Karpenter uses, this is taken care of? But otherwise it seems like an unfulfilled role that normatively is meant to be done by the cloud provider.
I also note that aws-node-termination-handler doesn't currently offer this functionality: aws/aws-node-termination-handler#719

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions