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.
We can have some command in
stash kubectlplugin that will help us for debugging. For example,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.