mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-21 22:41:42 +00:00
Add curl commands for snapshoting
This commit is contained in:
24
api/internal/crawl/search_cmds/snapshot.md
Normal file
24
api/internal/crawl/search_cmds/snapshot.md
Normal file
@@ -0,0 +1,24 @@
|
||||
Retrieve information about all registered snapshot repositories:
|
||||
```
|
||||
curl -X GET "${ElasticSearchURL}:9200/_snapshot?pretty"
|
||||
```
|
||||
|
||||
Retrieve information about a given snapshot repository, `gcskustomize`:
|
||||
```
|
||||
curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize?pretty"
|
||||
```
|
||||
|
||||
Verify a snapshot repository, `gcskustomize`, manually:
|
||||
```
|
||||
curl -X POST "${ElasticSearchURL}:9200/_snapshot/gcskustomize/_verify?pretty"
|
||||
```
|
||||
|
||||
Retrieve a summary information about a given snapshot:
|
||||
```
|
||||
curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize/kustomize-snapshot?pretty"
|
||||
```
|
||||
|
||||
Retrieve a detailed information about a given snapshot:
|
||||
```
|
||||
curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize/kustomize-snapshot/_status?pretty"
|
||||
```
|
||||
Reference in New Issue
Block a user