Skip to content

Fix suspended condition persistence #873

@SHRUTI6991

Description

@SHRUTI6991

In Kubernetes, conditions are designed to be persistent once initialized, transitioning its status between True, False, and Unknown (https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Condition). This allows automation via querying condition states, e.g. kubectl wait --for=condition=Suspended=False.

Conditions should also include a lastTransitionTime timestamp. Transitioning a condition to False preserves the exact timestamp of when the Sandbox successfully resumed. Removing the condition erases this history.

Metadata

Metadata

Assignees

Labels

priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

Type

No type
No fields configured for issues without a type.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions