Skip to content

Remove debug tidy #580

Description

@christeredvartsen

nais debug is a command that takes an argument, and nais debug tidy is a subcommand that also takes an argument.

Commands should not both have a RunFunc and a set of subcommands.

Instead of the nais debug tidy command we can utilize https://github.com/nais/euthanaisa to clean up debug pods. Ephemeral debug containers will be removed automatically once the debugged application restarts.

nais/euthanaisa does not currently clean up pods, but we should start adding the necessary label and annotation to debug pods so that they will be removed once nais/euthanaisa has been updated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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