I run kubectl delete
with --all
flag. This command deleted all namespace on my cluster. (I couldn't see any namespace on K8S Dashboard) So How can I recover all these deleted namespace ?
And is it possible to restore data on namespance ?
➜ kubectl delete ns --all
warning: deleting cluster-scoped resources, not scoped to the provided namespace
namespace "1xx" deleted
namespace "2xx" deleted
namespace "3xx" deleted
namespace "4xx" deleted
namespace "5xx" deleted
namespace "6xx" deleted
namespace "7xx" deleted
No. Your cluster is probably no longer viable and will need to be restored from backup or rebuilt.