wikipedia:kubedump
To backup all namespaces:
kube-dump ns
kube-dump ns -n your-namespace
snap install yq
kube-dump
ns | ns -n
Advertising: