Skip to content

Add missing fields to kubectl describe statefulset output #1831

@kfess

Description

@kfess

What would you like to be added:

Add the following fields to kubectl describe statefulset output:

  • ServiceName
  • PodManagementPolicy
  • PersistentVolumeClaimRetentionPolicy (WhenDeleted / WhenScaled)

Why is this needed:

IMO, these fields are basic and important for understanding the behavior but are not currently shown.

  • ServiceName: frequently used to associate StatefulSet with Service
  • PodManagementPolicy: affects rollout and scaling behavior
  • PersistentVolumeClaimRetentionPolicy: directly relates to data retention on deletion or scale-down

/sig cli
/kind feature
/area kubectl
/assign

Metadata

Metadata

Assignees

Labels

area/kubectlkind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions