You can configure the free space requirement for all the required partitions. Disk partitions free space check is performed in cluster operations, such as cluster deployment, Kyvos upgrade, patch deployment, and rollback.
Note
This is applicable to all cloud deployments (AWS, Azure, and GCP).
Points to know
You can configure and specify the free space requirement for all the required partitions.
The diskValidationsMetadata.json file contains the disk partition details specifying which partitions need to be checked. If any manual configuration is required, the file is located at kyvosmanagerdata/server/userpreferences/.
The configuration is hot deployable, which means after the file is uploaded, all applicable operations where this disk partition check is involved, the newly applied changes in the file will be considered.
If the disk partition check fails, this indicates the required amount of free space on the partitions, as specified in the diskValidationsMetadata.json file, is unavailable. You can still continue with the operation. The process will not fail; instead, it will change the value of the key in the Kyvos.json file from continueOnPartitionFreeSpaceCheckFailures from false to true. This key determines whether the operation proceeds even if the partition disk check fails.
For example,{ "partitions": { "/var": { "freeSpace": "2G", "type": "absolute" }, "/run": { "freeSpace": "96", "type": "percent" } } }
Adding, deleting or modifying partition free space information
To upload the diskValidationsMetadata.json configuration file, perform the following steps.
On the navigation pane, click Utilities > Manage Configuration Files.
On the Manage Configuration Files page, click to expand Kyvos Manager > Kyvos Manager folder.
In the Kyvos Manager folder, click the kyvosmanagerdata/server/userpreferences/ folder.
Click the Download link to download the diskValidationsMetadata.json file.
In the downloaded file, make the required changes.
Before uploading the file, ensure that the following:
The file should be a valid JSON file.
The file must have the same key name. For example, "freeSpace" and "type"
After confirming the recommended changes (mentioned in step-6), click the Choose File button to locate the configuration file from your computer network, and click the Upload button.
Click the Save button from the top-right of the screen.
Important
We recommend creating a backup of all the files that you are updating, as Kyvos may not preserve these files during the upgrade.
You must ensure the correctness of file content before upload, as Kyvos Manager will not validate the contents.