-
Notifications
You must be signed in to change notification settings - Fork 86
Caching Remote Buckets (User Guide)
paulxuzhang edited this page Jul 7, 2020
·
13 revisions
This is a user guide for using the namespace cache feature to cache remote buckets using local storage resources.
For more information on caching use cases and design please refer to - TODO.
- noobaa installed to kubernetes - see https://github.com/noobaa/noobaa-core#deploy-to-kubernetes
- noobaa cli - get from https://github.com/noobaa/noobaa-operator/releases
- account credentials to Hub
noobaa api account_api check_external_connection '{ TODO }'
noobaa api account_api add_external_connection '{ TODO }'
For every remote bucket create a namespace resource and a bucket with cache policy:
noobaa api pool_api create_namespace_resource '{ TODO }'
noobaa api bucket_api create_bucket '{ "name": "bucketname", "namespace":{ "caching": { "ttl_ms": 60000 } } }'
noobaa api account_api create_account '{ TODO }'
noobaa api system_api read_system
noobaa api bucket_api list_buckets
kubectl logs noobaa-core-0