mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Add comments on backup and restore
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# Creating `esbackup/kustomize-backbup` will create the `kustomize-backup` snapshot repository.
|
# Creating `esbackup/kustomize-backbup` will create the `kustomize-backup` snapshot repository.
|
||||||
# Deleting `esbackup/kustomize-backbup` will delete the `kustomize-backup` snapshot repository and all the snapshots in the repository.
|
# Deleting `esbackup/kustomize-backbup` will delete the `kustomize-backup` snapshot repository.
|
||||||
|
# Deleting `esbackup/kustomize-backbup` will NOT delete the snapshots in the `kustomize-backup` snapshot repository, instead makes all the snapshots in the repository inaccessible.
|
||||||
# Deleting `esbackup/kustomize-backbup` will NOT delete essnapshot and esrestore objects.
|
# Deleting `esbackup/kustomize-backbup` will NOT delete essnapshot and esrestore objects.
|
||||||
|
# If you delete the `kustomize-backup` snapshot repository directly without deleting `esbackup/kustomize-backbup`, the ESBackup object will not recreate the snapshot repository.
|
||||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||||
kind: ESBackup
|
kind: ESBackup
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# Creating `esrestore/kustomize-restore` will restore the `kuostmize` index in the `kustomize-snapshot` snapshot to a new index named `kusotmize-restore`.
|
# Creating `esrestore/kustomize-restore` will restore the `kuostmize` index in the `kustomize-snapshot` snapshot to a new index named `kusotmize-restore`.
|
||||||
# Deleting `esrestore/kustomize-restore` will not delete the restored index.
|
# Deleting `esrestore/kustomize-restore` will not delete the restored index.
|
||||||
# Deleting `esrestore/kustomize-restore` should happen before deleting `essnapshot/kustomize-snapshot`.
|
# Deleting `esrestore/kustomize-restore` should happen before deleting `essnapshot/kustomize-snapshot`.
|
||||||
|
# If the `kusotmize-restore` index is deleted manually, the ESRestore object will restore the `kustomize` index to it again.
|
||||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||||
kind: ESRestore
|
kind: ESRestore
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# Creating `essnapshot/kustomize-snapshot` will create a snapshot named `kustomize-snapshot` in the `kustomize-backup` snapshot repository.
|
# Creating `essnapshot/kustomize-snapshot` will create a snapshot named `kustomize-snapshot` in the `kustomize-backup` snapshot repository.
|
||||||
# Deleting `essnapshot/kustomize-snapshot` will delete the snapshot.
|
# Deleting `essnapshot/kustomize-snapshot` will delete the snapshot.
|
||||||
# Deleting `essnapshot/kustomize-snapshot` should happen before deleting `esbackup/kustomize-backup`.
|
# Deleting `essnapshot/kustomize-snapshot` should happen before deleting `esbackup/kustomize-backup`.
|
||||||
|
# If the `kustomize-snapshot` snapshot is deleted directly without deleting `essnapshot/kustomize-snapshot`, the ESSnapshot object will recreate the snapshot.
|
||||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||||
kind: ESSnapshot
|
kind: ESSnapshot
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user