Skip to content

kubectl debug: change default profile and remove legacy profile #1780

@mochizuki875

Description

@mochizuki875

At v1.32, the legacy profile is the default profile for kubectl debug.
However, a deprecation warning message is displayed after kubernetes/kubernetes#127230 has been merged and the user document says that legacy profile is deprecated as follows:

If you don't specify --profile, the legacy profile is used by default, but it is planned to be deprecated in the near future. So it is recommended to use other profiles such as general.

I think we should make some profile(e.g. general) default and remove the legacy profile in the near future.

According to Deprecating a feature or behavior:

Rule kubernetes/kubernetes#7: Deprecated behaviors must function for no less than 1 year after their announced deprecation.

Therefore the path seems to be as follows:

  • Make general profile default: v1.33 or v1.34
  • Remove legacy profile: At the earliest v1.35, or later

/sig cli

Metadata

Metadata

Assignees

Labels

priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/cliCategorizes an issue or PR as relevant to SIG CLI.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions