coreos / etcd-operator

etcd operator creates/configures/manages etcd clusters atop Kubernetes
https://coreos.com/blog/introducing-the-etcd-operator.html
Apache License 2.0
1.75k stars 741 forks source link

EtcdBackup does not work #2089

Open zhangdalu opened 5 years ago

zhangdalu commented 5 years ago

i created a etcdbackup , but it does not work

`apiVersion: etcd.database.coreos.com/v1beta2 kind: EtcdBackup metadata: name: test-etcd-cluster-with-oss-backup namespace: tech-center-qa spec: backupPolicy:

...

backupIntervalInSecond: 125
maxBackups: 4

etcdEndpoints: ["http://test-etcd-cluster-client:2379"] storageType: OSS oss: endpoint: http://oss-cn-hangzhou-internal.aliyuncs.com ossSecret: my-credentials path: my-backup/test-etcd-backup/test-etcd.backup`

status: Reason: 'v1beta2.EtcdBackup.Spec: v1beta2.BackupSpec.BackupPolicy: readObjectStart: expect { or n, but found ", error found in #10 byte of ...|pPolicy":"...","etcd|..., bigger context ...|-11e9-a6cf-00163e106bd5"},"spec":{"backupPolicy":"...","etcdEndpoints":["http://test-etcd-cluster-cl|...' lastSuccessDate: null succeeded: false

@hongchaodeng can you help me

buhe commented 5 years ago

oss backup support is not release at 0.9.4