mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
add recycling
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB |
@@ -13,32 +13,32 @@ weight: 310
|
||||
toc: true
|
||||
---
|
||||
|
||||
Next to storing your recordings, recycling up is also important. You have to avoid your disk being filled up and locking up the entire system and cluster, or you simply have to reduce cost. To make this possible we offer a recycle service called Kerberos Storage Recycle, which you can use to remove recordings based on different rules.
|
||||
Next to persisting your recordings, recycling up is evenly important. Recycling avoids your disks being filled up with recordings and locking up the entire OS and cluster, and also important helps you to reduce costs. Recycling is managed through a recycle service called Kerberos Vault Recycle, which you can use to remove recordings based on different rules.
|
||||
|
||||
## Recycling rules
|
||||
|
||||
Different recycling rules can be configured in the Kerberos Storage app. Based on those rules, the recycle service, will or will not remove a recording from your providers.
|
||||
Different recycling rules can be defined. A rule determines when and how recordings should be removed.
|
||||
|
||||
### Account day limit
|
||||
|
||||
When creating an `Account` on the Kerberos Storage app, you have the option to specify the day limit for that account. This day limit tells the recycle service, if it is time or not to remove the recording.
|
||||
When creating an `account` in Kerberos Vault, you have the option to specify a day limit. This day limit is used by the recycle service, to determine if one ore more recordings are ready to be removed from the selected storage provider.
|
||||
|
||||
{{< figure src="daylimit.gif" alt="You can remove your recordings by specifying the day limit field." caption="You can remove your recordings by specifying the day limit field." class="stretch">}}
|
||||
{{< figure src="vault-recycle.gif" alt="You can remove your recordings by specifying the day limit field." caption="You can remove your recordings by specifying the day limit field." class="stretch">}}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
This installation guide assumes you have setup Kerberos Storage properly.
|
||||
This installation guide assumes you have set up Kerberos Vault properly.
|
||||
|
||||
## Installation
|
||||
|
||||
Modify the MongoDB credentials, as you did for the Kerberos Storage yaml file.
|
||||
Modify the Mongodb credentials, as you did for the Kerberos Vault deployment.
|
||||
|
||||
- name: MONGODB_USERNAME
|
||||
value: "root"
|
||||
- name: MONGODB_PASSWORD
|
||||
--> value: "xxxxxxxxxx"
|
||||
|
||||
Execute following script to deploy the recycle job.
|
||||
Create the recycle deployment as following.
|
||||
|
||||
git clone https://github.com/kerberos-io/storage
|
||||
kubectl apply -f ./storage/yaml/deployment-cleanup.yaml
|
||||
git clone https://github.com/kerberos-io/vault
|
||||
kubectl apply -f ./vault/yaml/deployment-cleanup.yaml
|
||||
|
||||
BIN
content/vault/recycle/vault-recycle.gif
Normal file
BIN
content/vault/recycle/vault-recycle.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 335 KiB |
Reference in New Issue
Block a user