Skip to content

Stash debugging helper #18

@hossainemruz

Description

@hossainemruz

We can have some command in stash kubectl plugin that will help us for debugging. For example,

# For backup
kubectl stash debug backup --backupconfig=<backupconfig name> -n <namespace>
kubectl stash debug backup --backupsession=<backupsession name> -n <namespace>

# For restore
kubectl stash debug restore --restoresession=<restoresession name> -n <namespace>

The debug command will intelligently perform the action we often need to do for debugging for example, checking log, describing respective pod/backupconfig/backupsession etc.

It will also check for some common mistakes for example, new line in the secret, missing storage secret, check for network policy etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions