https://rancher.com/ logo
Title
r

red-waitress-37932

01/10/2023, 2:56 PM
I dont suppose it is possible to restore a rancher snapshot after accidentally shredding your cluster to bits?
$ kubectl apply --all --namespace mynamespace --prune -f resources.yml
secret/config created
W0110 15:15:02.543661   25197 prune.go:71] Deprecated: kubectl apply will no longer prune non-namespaced resources by default when used with the --namespace flag in a future release. To preserve the current behaviour, list the resources you want to target explicitly in the --prune-allowlist flag.
namespace/cattle-system pruned
namespace/ingress-nginx pruned
namespace/kubernetes-dashboard pruned