Skip to content

Commit

Permalink
Change cron exp
Browse files Browse the repository at this point in the history
  • Loading branch information
tyvekzhang committed Jan 10, 2024
1 parent 29f40c6 commit c74b189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/apply/etcd-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#保留备份文件数量
keep_num: "\"3\""
#调度周期,测试时建议使用(每分钟),详见global.yml
schedule: \"0 3 * * *\"
schedule: `"\"0 3 * * *\""`
#集群备份镜像地址
backup_image: tyvek2zhang/etcd-backup:v3.5.11
#etcd的运行地址
Expand Down
2 changes: 1 addition & 1 deletion etc/kubez/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ containerd_data_dir: "{{ runtime_data_dir }}"
##################
#enable_backup: "no"
#keep_num: "\"3\""
#schedule: "\"0 3 * * *\""
#schedule: "\"*/1 * * * *\""
#backup_image: tyvek2zhang/etcd-backup:v3.5.11
#etcd_endpoints: https://172.17.16.13:2379
#etcd_pki_dir: /etc/kubernetes/pki/etcd
Expand Down

0 comments on commit c74b189

Please sign in to comment.