Skip to content

Cleanup yaml for resources #8235

@nickaein

Description

@nickaein

What would you like to be added:
There is a lot of clutter in the k8s yaml resources output. The clutter is usually caused by status info, metadata like timestamps, fields with default values that can be ommited, etc.

There are some tools like https://github.com/itaysk/kubectl-neat that can remove this clutter and make it easier to read or copy/duplicate the resource definition.

This can be an option that the user could turn on/off when viewing resource definition.

Why is this needed:

  • Removing these info can make it easier to read the resources definition and focus on what's actually important
  • Copying and duplicating resources would be easier and there is no need to manually remove these info

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions