From 9ee2df6f2b0188d46d8079db9e4b95d7912e82e4 Mon Sep 17 00:00:00 2001 From: Gaurav Sitlani Date: Tue, 12 Jul 2022 18:55:13 +0530 Subject: [PATCH] docs: cephfs mirroring updates around peer tokens This commit updates the CephFS mirroring documentation around Peer tokens to get the token created correctly. Signed-off-by: Gaurav Sitlani (cherry picked from commit 27f2098ad911a1ab6ee8701a7c6170a83fe32f45) --- .../CRDs/Shared-Filesystem/ceph-filesystem-crd.md | 8 ++++++-- deploy/examples/filesystem.yaml | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/CRDs/Shared-Filesystem/ceph-filesystem-crd.md b/Documentation/CRDs/Shared-Filesystem/ceph-filesystem-crd.md index 859ab85ac..7fdd9f64d 100644 --- a/Documentation/CRDs/Shared-Filesystem/ceph-filesystem-crd.md +++ b/Documentation/CRDs/Shared-Filesystem/ceph-filesystem-crd.md @@ -133,15 +133,19 @@ spec: enabled: true # list of Kubernetes Secrets containing the peer token # for more details see: https://docs.ceph.com/en/latest/dev/cephfs-mirroring/#bootstrap-peers + # Add the secret name if it already exists else specify the empty list here. peers: secretNames: - - secondary-cluster-peer + #- secondary-cluster-peer # specify the schedule(s) on which snapshots should be taken # see the official syntax here https://docs.ceph.com/en/latest/cephfs/snap-schedule/#add-and-remove-schedules snapshotSchedules: - path: / interval: 24h # daily snapshots - startTime: 11:55 + # The startTime should be mentioned in the format YYYY-MM-DDTHH:MM:SS + # If startTime is not specified, then by default the start time is considered as midnight UTC. + # see usage here https://docs.ceph.com/en/latest/cephfs/snap-schedule/#usage + # startTime: 2022-07-15T11:55:00 # manage retention policies # see syntax duration here https://docs.ceph.com/en/latest/cephfs/snap-schedule/#add-and-remove-retention-policies snapshotRetention: diff --git a/deploy/examples/filesystem.yaml b/deploy/examples/filesystem.yaml index bac332906..683cd0705 100644 --- a/deploy/examples/filesystem.yaml +++ b/deploy/examples/filesystem.yaml @@ -111,6 +111,7 @@ spec: # enabled: true # list of Kubernetes Secrets containing the peer token # for more details see: https://docs.ceph.com/en/latest/dev/cephfs-mirroring/#bootstrap-peers + # Add the secret name if it already exists else specify the empty list here. # peers: #secretNames: #- secondary-cluster-peer @@ -119,7 +120,10 @@ spec: # snapshotSchedules: # - path: / # interval: 24h # daily snapshots - # startTime: 11:55 + # The startTime should be mentioned in the format YYYY-MM-DDTHH:MM:SS + # If startTime is not specified, then by default the start time is considered as midnight UTC. + # see usage here https://docs.ceph.com/en/latest/cephfs/snap-schedule/#usage + # startTime: 2022-07-15T11:55:00 # manage retention policies # see syntax duration here https://docs.ceph.com/en/latest/cephfs/snap-schedule/#add-and-remove-retention-policies # snapshotRetention: