Skip to content

[live-migration] add live migration annotations#2704

Merged
rawahars merged 1 commit intomicrosoft:mainfrom
rawahars:lm-annotations
Apr 24, 2026
Merged

[live-migration] add live migration annotations#2704
rawahars merged 1 commit intomicrosoft:mainfrom
rawahars:lm-annotations

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

Introduce two new annotations under a "Live Migration" group in pkg/annotations:

  • LiveMigrationAllowed ("io.microsoft.migration.allowed"): a pod/sandbox-scoped gatekeeping annotation indicating the pod is intended to be live-migratable. Containers in such a pod that request features incompatible with live migration (e.g. plan9 shares) will fail creation.

  • LiveMigrationSourceContainerID ("io.microsoft.migration.source-container-id"): set on the NewTask request on the destination node during a live migration to correlate the migrated container with its original container ID on the source node.

@rawahars rawahars requested a review from a team as a code owner April 24, 2026 04:06
Introduce two new annotations under a "Live Migration" group in
pkg/annotations:

- LiveMigrationAllowed ("io.microsoft.migration.allowed"): a
  pod/sandbox-scoped gatekeeping annotation indicating the pod is
  intended to be live-migratable. Containers in such a pod that
  request features incompatible with live migration (e.g. plan9
  shares) will fail creation.

- LiveMigrationSourceContainerID
  ("io.microsoft.migration.source-container-id"): set on the NewTask
  request on the destination node during a live migration to
  correlate the migrated container with its original container ID
  on the source node.

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
apurv15
apurv15 approved these changes Apr 24, 2026
@rawahars rawahars merged commit 8c84118 into microsoft:main Apr 24, 2026
19 checks passed
@rawahars rawahars deleted the lm-annotations branch April 24, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants