Best way to clone a cluster?

Right now I have a “staging” cluster set up with a few different services. I would like to clone this cluster for different environments, for example “production” and “testing”.

I know I can export and import the YAML files for each service. Is this the best way to do it? Or is there a better way to clone the cluster including, certificates, secrets, load balancers etc.

Thanks!

I have limited experience with doing this, but you might be interested in checking out Ark, which can be used both for backup/restore and for cloning cluster resources from one cluster to another.