mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Add config for index backup and restore
This commit is contained in:
13
api/internal/crawl/config/elastic/esbackup.yaml
Normal file
13
api/internal/crawl/config/elastic/esbackup.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||
kind: ESBackup
|
||||
metadata:
|
||||
name: kustomize-backup
|
||||
spec:
|
||||
storage:
|
||||
gcs:
|
||||
bucket: kustomize-backup
|
||||
path: kustomize
|
||||
secret:
|
||||
name: kustomizesa
|
||||
escluster:
|
||||
name: esbasic
|
||||
13
api/internal/crawl/config/elastic/esrestore.yaml
Normal file
13
api/internal/crawl/config/elastic/esrestore.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||
kind: ESRestore
|
||||
metadata:
|
||||
name: kustomize-restore
|
||||
spec:
|
||||
include_global_state: true
|
||||
ignore_unavailable: true
|
||||
rename_pattern: kustomize
|
||||
rename_replacement: kustomize-restore1
|
||||
essnapshot:
|
||||
name: kustomize-snapshot
|
||||
escluster:
|
||||
name: esbasic
|
||||
12
api/internal/crawl/config/elastic/essnaptshot.yaml
Normal file
12
api/internal/crawl/config/elastic/essnaptshot.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
||||
kind: ESSnapshot
|
||||
metadata:
|
||||
name: kustomize-snapshot
|
||||
spec:
|
||||
# indices are optional. If not specified all indices are selected.
|
||||
indices:
|
||||
- kustomize
|
||||
include_global_state: true
|
||||
ignore_unavailable: true
|
||||
esbackup:
|
||||
name: kustomize-backup
|
||||
Reference in New Issue
Block a user