Skip to content

Resolve the Zones() / topology-label contradiction #271

Description

@sudomateo

Context

The Zones() doc comment in internal/provider/provider.go says "Zone and region information is retrieved from InstanceMetadata instead" — but InstanceMetadata (internal/provider/instances_v2.go) never populates Zone or Region. Result: nodes get no topology.kubernetes.io/region or topology.kubernetes.io/zone labels, and the docs contradict the behavior.

Scope

Decide and implement one of:

  • Populate Region (silo name is a reasonable stand-in until Oxide has multi-rack topology), optionally Zone.
  • Fix the Zones() comment to say topology is intentionally unset and why.

Record the decision in this issue.

Done when

Docs and behavior agree, with the decision recorded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions