Skip to content

Decide InstanceShutdown semantics for failed/stopping states #272

Description

@sudomateo

Context

InstanceShutdown (internal/provider/instances_v2.go) only treats InstanceStateStopped as shut down. An instance in failed (or stopping) reports as running, so its node never gets the node.cloudprovider.kubernetes.io/shutdown taint and stays schedulable.

Scope

Enumerate every oxide.InstanceState value and decide which count as shut down for the cloud node lifecycle controller. Implement the mapping with a test per state so future SDK state additions are caught deliberately.

Done when

Every InstanceState value has an explicit, tested mapping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions