Open hossainemruz opened 3 years ago
If we want to see log of a backup/restore pod, we can just issue,
# For backup
kubectl stash log --backupsession=<backupsession name> -n <namespace>
# For restore
kubectl stash log --restoresession=<restoresession name> -n <namespace>
If the storage secret has newline in it, we can have some fix command.
kubectl stash fix secret --name=<secret name> -n <namespace>
If we want to check whether the information provided in AppBinding is sufficient to connect with the database, we can use:
kubectl stash ping --appbinding=<appbinding>
We can have some command in
stash kubectl
plugin 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.