Hi! I have a running installation of PSMDB. I created a manual backup with the following command:
cat <<EOF | kubectl apply -f-
apiVersion: psmdb.percona.com/v1
kind: PerconaServerMongoDBBackup
metadata:
name: initial-backup
namespace: psmdb-db-4-0
spec:
psmdbCluster: psmdb-db
storageName: mys3
EOF
But there is no backup pod, and the operator says:
{"level":"info","ts":1637862098.8842378,"logger":"controller_perconaservermongodbbackup","msg":"Waiting for backup metadata","PBM name":"2021-11-25T17:41:23Z","backup":"initial-backup"}
Here, the result of kubectl describe perconaservermongodbbackups.psmdb.percona.com -n psmdb-db-4-0 initial-backup
:
Name: initial-backup
Namespace: psmdb-db-4-0
Labels: <none>
Annotations: <none>
API Version: psmdb.percona.com/v1
Kind: PerconaServerMongoDBBackup
Metadata:
Creation Timestamp: 2021-11-25T17:41:13Z
Generation: 1
Managed Fields:
API Version: psmdb.percona.com/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:psmdbCluster:
f:storageName:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2021-11-25T17:41:13Z
API Version: psmdb.percona.com/v1
Fields Type: FieldsV1
fieldsV1:
f:spec:
f:compressionType:
f:status:
.:
f:completed:
f:destination:
f:lastTransition:
f:pbmName:
f:s3:
f:start:
f:state:
f:storageName:
Manager: percona-server-mongodb-operator
Operation: Update
Time: 2021-11-25T17:41:54Z
Resource Version: 67912533
UID: ad7f31b0-4d4c-499c-834d-377770f5e261
Spec:
Psmdb Cluster: psmdb-db
Storage Name: mys3
Status:
Completed: 2021-11-25T17:41:49Z
Destination: 2021-11-25T17:41:23Z
Last Transition: 2021-11-25T17:41:49Z
Pbm Name: 2021-11-25T17:41:23Z
s3:
Bucket: mybucket
Credentials Secret: psmdb-backups-custom-secret
Endpoint URL: https://endpoint
Region: myregion
Start: 2021-11-25T17:41:40Z
State: ready
Storage Name: mys3
Events: <none>
Did I miss something?