I am trying to take a backup of the Kubernetes cluster (not PVs). I tried taking backup of /var/lib/etcd but only the changes in the namespace are being reflected in /var/lib/etcd any other changes like replica sets, pods and etc. are not reflected. The solution I am looking for should be able to restore the cluster into a prior state.
Cloud being used: bare-metal
Host OS: centos