For the complete documentation index, see llms.txt. This page is also available as Markdown.

Provision settings

Advanced Provision Configuration

OpenCRVS infrastructure provisioning can be customised using the following configuration file:

infrastructure/server-setup/group_vars/all.yml

This file contains advanced Ansible configuration used during:

  • server provisioning

  • Kubernetes installation

  • backup configuration

  • disk encryption setup

  • networking configuration

  • Kubernetes cluster tuning

Most deployments can use the default values provided by the repository. Advanced users may customise these values to adapt provisioning for their infrastructure requirements.

Examples Common configuration options

This file contains many additional variables and configuration options not documented here. Refer directly to:

infrastructure/server-setup/group_vars/all.yml

for the complete list of supported variables.

Kubernetes Version

Defines versions for:

  • kubeadm

  • kubelet

  • kubectl

Changing this value upgrades the Kubernetes components installed during provisioning. Downgrades are not supported to ensure environment stability.

Kubernetes Eviction Policy

OpenCRVS recommends configuring Kubernetes eviction policies using absolute disk sizes instead of percentages.

This helps prevent:

  • unexpected pod evictions

  • failed upgrades

  • disk exhaustion

Example:

Recommended minimum:

  • 10Gi free disk space for stable operation

  • 20Gi soft threshold for proactive cleanup

Backup Configuration

Backup retention can be configured using:

This example keeps one week of backups.

Disk Encryption Configuration

Example encryption configuration:

[!WARNING] The example configuration stores encryption keys locally on the server. Production environments should use a Hardware Security Module (HSM) or external secret management solution.

Minimum Disk Space Requirement

Provisioning validates available disk space before Kubernetes installation.

This helps avoid installation failures caused by insufficient storage.

Last updated