Open jungopro opened 5 years ago
@jungopro The restore-operator
only works if the restore-operator
and the etcd cluster
you are trying to restore are in the same namespace.
In the operator logs you provided, the restore operator is run in default
namespace and the etcdcluster is in mp-temp
namespace, hence it is failing.
Can I ask what exactly are you trying to achieve in having the restore to work across namespaces?
hi @alaypatel07 thanks for the reply. I thought the restore can work across namespaces, same as the backup. I basically wanted to deploy the operator once, in a single namespace, and have it manage multiple clusters in different namespaces Since this feature is already possible for creating and backing-up clusters, I thought it only makes sense it will be possible for restoring cluster data as well
Hello
I'm trying to perform a restore to an etcd cluster in a different namespace than the operator and fails. I read through the docs and couldn't find the exact spec to make it work.
Scenario
default
namespacemp-temp
namespaceBackup worked great using the following method:
aws secret
and thebackup_cr.yaml
in the same namespace as the operator (default
)backup_cr.yaml
to include the full cluster path:The restore process, not so great:
re-created the cluster in the
mp-temp
namespace:tried running the restore in both namespaces with different specs but failed:
operator logs:
I tried the following modifications to the restore yaml:
Nothing worked. Any suggestions?
Thanks Omer