isardvdi.cfg reference¶
Note
This page is based on isardvdi.cfg.example, which is the reference source and carries the comments for each key. The Default column shows the value IsardVDI uses when the key is left commented out; (no value) means the key has none. When the example file carries a value that is only an example, the table says so. Secret values are never shown.
The example is shipped as isardvdi.cfg.example in the source tree. Copy it to isardvdi.cfg and uncomment only the keys you need to change. Everything below the "DO NOT EDIT FROM HERE UNLESS YOU KNOW WHAT YOU ARE DOING" banner in the file is advanced tuning: leave the default values unless you know their effect well.
After changing isardvdi.cfg, regenerate the configuration with ./build.sh and bring the containers up again.
General: flavour, domain and ports¶
| Key | Default | Description |
|---|---|---|
FLAVOUR |
all-in-one |
docker-compose flavour to generate: all-in-one, hypervisor, hypervisor-standalone, video-standalone, storage, web, web+storage, web+storage+video, web+storage+monitor, web+storage+video+monitor, monitor, web+monitor, backupninja, check or haproxy. |
USAGE |
production |
Compose generation mode: production (pull and start), build, test or devel (source code mounted). |
ENABLE_STATS |
true |
Includes the statistics service. |
DOMAIN |
localhost |
Main domain or public IP of the server. On hypervisors, the IP or DNS name that reaches isard-engine. |
FORBID_DOMAIN_IP |
false |
Rejects an IP address as DOMAIN. In production, set it to true and use a real domain name. |
CORS |
* |
Allowed CORS origin. In production, set the main web domain. |
WEBAPP_ADMIN_PWD |
(must be set) | Initial password of the web administrator. Also used by Grafana and the /debug/... paths. |
API_ISARDVDI_SECRET |
(must be generated) | JWT signing secret. Generate it with openssl rand -base64 32. |
API_HYPERVISORS_SECRET |
(must be generated) | Hypervisor authentication secret. |
LOG_LEVEL |
INFO |
Global log level. |
DEBUG_STATS |
false |
Logs the requests to the API version endpoint (/api/v4/), which monitoring polls continuously. |
DEBUG_WEBSOCKETS |
false |
Logs websocket authentication failures and socket.io room joins and leaves. |
SOCKETIO_DEBUG |
(no value) | isard-socketio debug logging, independent of LOG_LEVEL: app (service lines), socketio (also event names, rooms and session IDs) or all (also every packet, session tokens and data included; only while debugging). Empty: disabled. |
HAPROXY_LOGGING |
. (enabled) |
Enables HAProxy logging: each flow on one JSON line (timers, termination state, load, client TCP round-trip time and retransmissions), plus connection errors. Disable it by commenting out the line. |
PROXY_PROTOCOL |
false |
Enable it when IsardVDI sits behind a load balancer that sends PROXY protocol v2. Enabling it without such a load balancer breaks every connection. |
HTTP_PORT |
80 (the example has 8081) |
Host port HAProxy listens on for plain HTTP. See Ports and NAT. |
HTTPS_PORT |
443 (the example has 8443) |
Host port HAProxy listens on for TLS. |
Sessions¶
| Key | Default | Description |
|---|---|---|
SESSIONS_SESSIONS_MAX_TIME |
8h |
Maximum duration of a session, counted from login. Go duration format. |
SESSIONS_SESSIONS_MAX_RENEW_TIME |
30m |
Maximum time a session can keep being renewed since the last renewal. |
SESSIONS_SESSIONS_EXPIRATION_TIME |
5m |
Maximum validity of a token, counted from the last renewal. |
SESSIONS_SESSIONS_REMOTE_ADDR_CONTROL |
false |
Limits each session to a single remote address, to prevent token reuse. |
SESSIONS_SESSIONS_GRPC_HOST |
(empty, same as 0.0.0.0) |
Address the sessions service listens on for gRPC connections. |
SESSIONS_SESSIONS_GRPC_PORT |
1312 |
Port the sessions service listens on for gRPC connections. |
Authentication¶
| Key | Default | Description |
|---|---|---|
AUTHENTICATION_NOTIFIER_ADDRESS |
http://isard-notifier:5000 |
Address of the notifications service. |
AUTHENTICATION_AUTHENTICATION_LIMITS_ENABLED |
true |
Enables attempt limiting on form authentication. |
AUTHENTICATION_AUTHENTICATION_LIMITS_MAX_ATTEMPTS |
10 |
Failed attempts before the user is limited. |
AUTHENTICATION_AUTHENTICATION_LIMITS_RETRY_AFTER |
1m |
Lockout time when limiting kicks in. Go duration format. |
AUTHENTICATION_AUTHENTICATION_LIMITS_INCREMENT_FACTOR |
2 |
Exponent of the lockout growth: (attempts − maximum) ^ factor × RETRY_AFTER. For example, at the 13th failed attempt in a row, (13 − 10) ^ 2 × 1m = 9 minutes. |
AUTHENTICATION_AUTHENTICATION_LIMITS_MAX_TIME |
15m |
Maximum lockout time. |
AUTHENTICATION_AUTHENTICATION_IMPERSONATE_EXPIRATION_TIME |
30m |
Maximum validity of an impersonation token. |
AUTHENTICATION_AUTHENTICATION_DEFAULT_ADMIN_RECOVERY |
false |
Lets the default administrator (admin in the default category) log in with the local password through /login/form/default even if the local provider is disabled. Only to recover a broken authentication configuration; disable it again afterward. |
Authentication providers (local, LDAP, SAML and Google) are configured from the administration panel: see Authentication. The old AUTHENTICATION_AUTHENTICATION_LOCAL_*, AUTHENTICATION_AUTHENTICATION_LDAP_*, AUTHENTICATION_AUTHENTICATION_SAML_* and AUTHENTICATION_AUTHENTICATION_GOOGLE_* keys are no longer in isardvdi.cfg.example: on upgrade, the database imports their values only once and, from then on, changing them in isardvdi.cfg has no effect.
Interface and viewers¶
| Key | Default | Description |
|---|---|---|
FRONTEND_SHOW_BOOKINGS |
False |
Shows or hides the resource bookings menu. |
FRONTEND_SHOW_TEMPORAL |
True |
Shows or hides the temporary desktops tab. |
FRONTEND_DOCS_URI |
https://isard.gitlab.io/isardvdi-docs/ |
Documentation address the user is sent to. |
FRONTEND_VIEWERS_DOCS_URI |
https://isard.gitlab.io/isardvdi-docs/user/viewers/viewers/ |
Viewers documentation address. |
FRONTEND_DIRECT_VIEWER_DOCS_URI |
https://isard.gitlab.io/isardvdi-docs/direct_viewer/ |
Direct viewer documentation address. |
FRONTEND_MODE |
deprecated |
Which interfaces can be used: deprecated (only the old interface, Vue 2), actual (only the new one, Vue 3; bookings and schedules stay in the old one), all (both, with the button to switch) or hidden (both through a direct path, without the button). |
DIRECTVIEWER_MODE |
browser |
Where the direct viewer cookie is read from: browser or url. |
Email (SMTP) is configured from the administration panel. The old NOTIFY_EMAIL* keys are only imported once into the database on upgrade and have no effect afterward.
Certificates (ACME)¶
| Key | Default | Description |
|---|---|---|
ACME_EMAIL |
(no value) | If set, enables ACME certificate generation for DOMAIN. Commented out, there is no ACME. |
ACME_SERVER |
letsencrypt |
ACME authority: letsencrypt, letsencrypt_test, zerossl, etc. |
ACME_EXTRA_DOMAINS |
(no value) | Additional names (comma-separated, no spaces) added to the certificate and accepted by the SNI filter; for example, the domain without www. when DOMAIN is a www. name. Nothing is redirected. Changing the list reissues the certificate at the next start. |
You can also use your own certificate chain at /opt/isard/certs/default/chain.pem. See Certificates.
Backups¶
Automatic backups use backupninja.
| Key | Default | Description |
|---|---|---|
BACKUP_DIR |
/opt/isard-local/backup |
Local backup directory. Comment it out when NFS is enabled. |
BACKUP_NFS_ENABLED |
false |
Stores the backups on an NFS server. |
BACKUP_NFS_SERVER |
(no value; the example has an IP) | NFS server for the backups. |
BACKUP_NFS_FOLDER |
(no value; the example has /remote/backupfolder) |
Folder exported by the NFS server. |
BACKUP_DB_ENABLED |
false |
Backs up the database. |
BACKUP_DB_WHEN |
everyday at 01 |
Database backup schedule. |
BACKUP_DB_PRUNE |
--keep-weekly=8 --keep-monthly=12 --keep-within=14d --save-space |
Database backup retention. |
BACKUP_REDIS_ENABLED |
false |
Backs up Redis. |
BACKUP_REDIS_WHEN |
everyday at 01 |
Redis backup schedule. |
BACKUP_REDIS_PRUNE |
--keep-weekly=8 --keep-monthly=12 --keep-within=14d --save-space |
Redis backup retention. |
BACKUP_STATS_ENABLED |
false |
Backs up the statistics. |
BACKUP_STATS_WHEN |
everyday at 01 |
Statistics backup schedule. |
BACKUP_STATS_PRUNE |
--keep-weekly=8 --keep-monthly=12 --keep-within=14d --save-space |
Statistics backup retention. |
BACKUP_CONFIG_ENABLED |
false |
Backs up the configuration. |
BACKUP_CONFIG_WHEN |
everyday at 01 |
Configuration backup schedule. |
BACKUP_CONFIG_PRUNE |
--keep-weekly=8 --keep-monthly=12 --keep-within=14d --save-space |
Configuration backup retention. |
BACKUP_DISKS_ENABLED |
false |
Backs up the disks. |
BACKUP_DISKS_WHEN |
everyday at 01 |
Disk backup schedule. |
BACKUP_DISKS_PRUNE |
--keep-weekly=4 --keep-monthly=3 --keep-within=7d --save-space |
Disk backup retention. |
BACKUP_DISKS_TEMPLATES_ENABLED |
false |
Includes the template disks. |
BACKUP_DISKS_GROUPS_ENABLED |
false |
Includes the group disks. |
BACKUP_DISKS_MEDIA_ENABLED |
false |
Includes the media. |
BACKUP_DISKS_CREATE_OPTIONS |
(empty) | Additional borg create options for the disk repository. --sparse --chunker-params fixed,4194304 skips the holes in qcow2 disks, but in an existing repository every disk that changes will be stored in full once again: check the free space and the retention first. |
BACKUP_POOLS_ENABLED |
false |
Backs up the disks of the category storage pools (/opt/isard/storage_pools/<pool>/...), which BACKUP_DISKS_* does not cover, into a separate repository, /backup/pools. The first pass can take days and move terabytes: it is best to launch it by hand first (run.sh execute-now pools inside the isard-backupninja container). |
BACKUP_POOLS_WHEN |
everyday at 01 |
Storage pools backup schedule. Keep it infrequent (for example, weekly) until the first full pass has finished. |
BACKUP_POOLS_PRUNE |
--keep-weekly=4 --keep-monthly=3 --keep-within=7d --save-space |
Storage pools backup retention. |
BACKUP_POOLS_EXCLUDE |
*/volatile* |
Space-separated fnmatch patterns matched against the full path. By default, any path with a volatile segment is excluded. |
BACKUP_POOLS_NICE |
ionice -c3 nice -n19 |
Command prefixed to the borg run of the pools backup, to lower its CPU and I/O priority. |
BACKUP_POOLS_CREATE_OPTIONS |
(empty; the example has --sparse --chunker-params fixed,4194304) |
Additional borg create options for the pools repository. Since it is a new repository, it can use --sparse --chunker-params fixed,4194304 from the first pass at no cost. |
LOGS_DELETE_BACKUP_DIR |
/opt/isard/backups |
Host directory where apiv4 stores, as compressed JSONL, the logs the retention task is about to delete. Empty or commented out: they are deleted without a copy. |
Container images and registry¶
| Key | Default | Description |
|---|---|---|
DOCKER_IMAGE_PREFIX |
registry.gitlab.com/isard/isardvdi/ |
Registry and repository prefix of the images. |
DOCKER_IMAGE_TAG |
main |
Tag (git tag or branch) of the images that are pulled. See Versions. |
GOLANG_BUILD_IMAGE |
(the one in the Dockerfile) | Go image used to build the Go microservices. |
GOLANG_RUN_IMAGE |
(the one in the Dockerfile) | Base image the Go microservices run on. |
HAPROXY_RUN_IMAGE |
haproxy:lts-alpine3.24@sha256:… |
Base image of the HAProxy images. |
QCOW2 images¶
| Key | Default | Description |
|---|---|---|
QCOW2_CLUSTER_SIZE |
128k |
Cluster size of new qcow2 disks. Larger clusters (the old 4k default or the 2M once recommended for NFS) copy a whole cluster on every small scattered write; 128k is the recommended size for NFS and local NVMe. extended_l2=on needs at least 16k. |
QCOW2_EXTENDED_L2 |
on |
Uses extended L2 entries (subcluster tracking), which also allow preallocation on disks with a backing file. Needs cluster_size ≥ 16k and QEMU ≥ 5.2 on every host that reads the images. |
QCOW2_LAZY_REFCOUNTS |
off |
Enables lazy refcounts. Measured on NFS with no benefit; kept disabled for simpler behaviour on failures. |
QCOW2_PREALLOCATION |
off |
Preallocation mode of new disks: off, metadata, falloc or full. Geometry changes apply to disks written after apiv4 is restarted. |
STORAGE_MIN_FREE_BYTES |
1073741824 |
Free space, in bytes (not 1G), that must remain at the destination before a conversion, detach or move writes the second copy of a disk; otherwise the operation is rejected. It is resolved by isard-apiv4, so every storage node applies the same value. |
Hypervisors and GPU¶
Infrastructure parameters used on remote hypervisors.
| Key | Default | Description |
|---|---|---|
NVIDIA_SMI_PATH |
/usr/bin/nvidia-smi |
Path of nvidia-smi on the host, mounted inside the container. |
NVIDIA_ML_LIB_PATH |
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 |
Path of the NVIDIA ML library on the host (on RHEL, /usr/lib64/libnvidia-ml.so.1). |
GPU_ONLY |
false |
Only starts desktops that reserve a GPU. |
GPU_ONLY_MEM |
0 |
Hypervisor memory (GB) reserved for GPU guests; if set, disables GPU_ONLY. Applies when more than one hypervisor is online. |
HYPER_ID |
isard-hypervisor |
Unique name of this hypervisor. |
HYPER_ENABLED |
true |
Whether the hypervisor is enabled when it joins. |
CAPABILITIES_HYPER |
true |
The node has hypervisor capability. |
CAPABILITIES_DISK |
true |
The node performs disk operations. With false, isard-storage is left out of the compose file at the next generation. |
CAPABILITIES_VIRT_POOLS |
00000000-0000-0000-0000-000000000000 |
IDs of the virtualization pools where it can start desktops (by default, the storage pools). |
CAPABILITIES_STORAGE_POOLS |
00000000-0000-0000-0000-000000000000 |
IDs of the storage pools where it can perform disk operations. |
STORAGE_POOL_VDO_STATS |
false |
Reads the real usage of a thin storage pool (LVM-VDO) on this node. Enable it only where there is a thin pool: it starts isard-storage-vdo-stats with CAP_SYS_ADMIN, and isard-storage stops publishing the space of that pool. |
ONLY_FORCED_HYP |
false |
Only runs desktops with forced_hyp. |
HYPER_FREEMEM |
0 |
Memory (GB) kept free when starting desktops. |
BUFFERING_HYPER |
false |
Uses this hypervisor as a buffer when the orchestrator scales out capacity. |
HYPERVISOR_HOST_TRUNK_INTERFACE |
(no value) | Host interface mapped into the hypervisor for the VLAN trunk. |
HYPERVISOR_STATIC_VLANS |
(no value) | Comma-separated VLAN numbers; disables automatic VLAN detection. |
Engine balancers and Telegram¶
| Key | Default | Description |
|---|---|---|
ENGINE_HYPER_BALANCER |
available_ram_percent |
Hypervisor balancer: round_robin, available_ram, available_ram_percent, less_cpu, less_cpu_till_low_ram or less_cpu_till_low_ram_percent. |
ENGINE_DISK_BALANCER |
less_cpu |
Balancer for disk operations. |
TELEGRAM_ENGINE_TOKEN |
(no value) | Telegram bot token for engine alerts. |
TELEGRAM_ENGINE_CHAT_ID |
(no value) | Telegram chat ID for engine alerts. |
Networking and WireGuard¶
| Key | Default | Description |
|---|---|---|
BLACKLIST_IPTABLES |
(DOCKER_NET and the host itself) |
Comma-separated CIDRs that guests cannot access, in addition to the default list. An entry can leave ports open with CIDR:!PORT/PROTO, for example 192.0.2.0/24:!53/udp; the most specific network wins. |
WHITELIST_IPTABLES |
(no value) | Comma-separated CIDRs that guests can reach. ADDR:PORT/PROTO only allows those ports, for example 192.0.2.53:53/udp. |
DISABLE_TRAFFIC_PRIORITIZATION |
false |
Disables traffic prioritization with tc. |
NETWORK_MAX_DOWNLOAD_BANDWIDTH |
(automatic speed test) | Maximum download bandwidth (Mbps) for prioritization. |
NETWORK_MAX_UPLOAD_BANDWIDTH |
(automatic speed test) | Maximum upload bandwidth (Mbps) for prioritization. |
INFRASTRUCTURE_MTU |
1500 |
MTU of the physical network. All internal MTUs (WireGuard, DHCP, OVS) are derived from it. Replaces the old VPN_MTU. |
GENEVE_ONLY_INFRA |
false |
With true, uses direct Geneve tunnels without WireGuard. Needs an internal network. |
DOCKER_NET |
172.31.255 |
/24 prefix of the container network. Only the /24 part is set. By default, guests have no access to it. |
WG_MAIN_NET |
10.0.0.0/14 |
Supernet that contains all the infrastructure WireGuard networks. |
WG_USERS_NET |
10.0.0.0/16 |
Range from which each remote user gets a unique /32 IP. |
WG_USERS_PORT |
443 |
UDP port for user WireGuard connections. |
WG_HYPERS_NET |
10.1.0.0/24 |
Network over which remote hypervisors send guest traffic to the main installation. |
WG_HYPERS_PORT |
4443 |
UDP port for remote hypervisor WireGuard connections. |
WG_GUESTS_NETS |
10.2.0.0/16 |
Main range of the guest WireGuard network, split per hypervisor. |
WG_GUESTS_DHCP_MASK |
23 |
Mask of the subnet each hypervisor gets from WG_GUESTS_NETS (23: 510 guests; 24: 254). |
WG_GUESTS_RESERVED_HOSTS |
20 |
Number of reserved DHCP addresses. |
Split-installation hosts and bastion¶
Host names used when the web part is spread across servers, or on remote hypervisors.
| Key | Default | Description |
|---|---|---|
RETHINKDB_HOST |
isard-db |
Database host. |
RETHINKDB_PORT |
28015 |
Database port. |
RETHINKDB_DB |
isard |
Database name. |
AUTHENTICATION_AUTHENTICATION_HOST |
$DOMAIN |
Where the clients' browser reaches isard-authentication. |
AUTHENTICATION_DB_HOST |
isard-db |
Database host for authentication. |
API_DOMAIN |
isard-apiv4 |
Where this host reaches isard-apiv4 (set in the hypervisor flavours). |
STATIC_DOMAIN |
$DOMAIN |
Where the browser loads the HTML5 video static files from. |
VPN_DOMAIN |
isard-vpn |
Where this host reaches isard-vpn. |
STORAGE_DOMAIN |
isard-storage |
Where the isard-storage API is reached. |
BASTION_ENABLED |
false |
Enables the bastion service (access to desktops through the web server). See Bastion. |
BASTION_SSH_PORT |
HTTPS_PORT if set; otherwise 443 (the example has 2222) |
Port the bastion listens on for SSH. If it is different from HTTPS_PORT, the bastion container publishes it directly. |
VIDEO_DOMAIN |
$DOMAIN |
Where the browser reaches isard-video for this host. |
VIDEO_HYPERVISOR_HOSTNAMES |
isard-hypervisor |
Hypervisor names allowed when this host serves the video of other hypervisors. |
VIDEO_HYPERVISOR_PORTS |
5900-7899 |
Video port range allowed for those hypervisors. |
WEBAPP_HOST |
isard-webapp |
Overrides the webapp host in the portal HAProxy. |
External viewer ports (NAT)¶
See Ports and NAT for how these announced ports relate to the HAProxy listening ports.
| Key | Default | Description |
|---|---|---|
VIEWER_SPICE |
80 |
Announced port of the SPICE proxy (the HTTP_PORT of the video HAProxy). |
VIEWER_RDP_GW |
HTTP_PORT (80) |
Announced port of the RDP gateway (the HTTP_PORT of the web HAProxy). |
VIEWER_BROWSER |
443 |
Announced port of the HTML5 viewers (the HTTPS_PORT of the video HAProxy). |
RDPGW_IDLE_TIMEOUT |
30m |
RDP gateway idle timeout. Not in the example. |
RDPGW_API_ADDR |
isard-apiv4:5000 |
apiv4 address for the RDP gateway. Not in the example. |
apiv4 threads and connections¶
Advanced tuning: these values are adjusted together, and executor <= pool must hold.
| Key | Default | Description |
|---|---|---|
APIV4_EXECUTOR_MAX_WORKERS |
128 |
asyncio executor threads. |
RETHINKDB_POOL_SIZE |
128 |
Size of the RethinkDB connection pool. |
API_CLIENT_POOL_TIMEOUT_SEC |
10 |
Seconds an API call waits for a free connection from the pool shared by the Python services before failing. Raise it if a heavily loaded service logs httpx PoolTimeout. |
SETTLE_CONCURRENCY |
8 |
Task results the change-handler processes at the same time. Higher values drain the queue faster but worsen interactive latency. |
RETHINKDB_SLOW_QUERY_MS |
500 |
Threshold (ms) for logging slow RethinkDB queries. |
APIV4_POOL_SAMPLE_INTERVAL_S |
1.0 |
Interval (s) at which connection pool usage is sampled. |
Redis and storage tasks¶
Four logical Redis databases share a single instance. The database numbers are fixed in the code and are not configured in this file.
| Key | Default | Description |
|---|---|---|
REDIS_PASSWORD |
(no value) | AUTH password; isard-redis always requires one. If left empty, build.sh generates it on the node that runs apiv4 and isard-redis, and every other node that connects to Redis needs the same value. It travels unencrypted, so the connection must be protected. |
REDIS_HOST |
isard-redis |
Redis host shared by all services. |
REDIS_PORT |
6379 |
Redis port. |
REDIS_WORKERS |
1 |
isard-storage worker processes. Raising it can overload the CPU. |
REDIS_TASK_RESULT_TTL |
2592000 |
Time to live (s) of task results in Redis (30 days). -1 means they never expire. |
STORAGE_TASK_FAST_TIMEOUT |
300 |
Timeout (s) of fast metadata tasks. |
STORAGE_TASK_TIMEOUT_FLOOR |
600 |
Lower bound (s) of the timeouts computed from the size. |
STORAGE_TASK_TIMEOUT_CEIL |
21600 |
Upper bound (s) of the timeouts computed from the size. It is also the timeout when the size is unknown. |
STORAGE_TASK_MIN_THROUGHPUT_BPS |
5242880 |
Minimum throughput (bytes/s) used to compute the time available to a task. |
URL_DOWNLOAD_MIN_SPEED_BPS |
1024 |
Minimum average download speed (bytes/s). Slower downloads are aborted. |
URL_DOWNLOAD_MIN_SPEED_TIME |
60 |
Seconds a download can stay below URL_DOWNLOAD_MIN_SPEED_BPS before it is aborted. |
Observability (statistics)¶
| Key | Default | Description |
|---|---|---|
GRAFANA_HOST |
isard-grafana |
Internal Grafana host, reachable at https://[DOMAIN]/monitor. |
GRAFANA_WEBAPP_URL |
(no value) | Full public Grafana address for the webapp menu. |
GRAFANA_TELEGRAM_TOKEN |
(no value) | Telegram token for Grafana alerts. |
GRAFANA_TELEGRAM_CHAT_ID |
(no value) | Telegram chat ID for Grafana alerts. |
VICTORIAMETRICS_ADDRESS |
http://isard-victoriametrics:8428 |
VictoriaMetrics address. |
VICTORIAMETRICS_RETENTION_TIME |
40d |
VictoriaMetrics data retention. |
VICTORIAMETRICS_ADMIN_AUTH_KEY |
(no value) | Key (?authKey=) required by the VictoriaMetrics series deletion and forced merge endpoints. Without a value, they are open to anything that reaches the VictoriaMetrics port from the internal network. |
LOKI_ADDRESS |
http://isard-loki:3100 |
Loki address. |
LOKI_RETENTION_TIME |
40d |
Log retention in Loki. |
HOST_JOURNAL_LOGS |
true |
Sends the host systemd journal (the kernel and the system services IsardVDI depends on) to Loki as {job="journal"}. Login and privilege logs never leave the host. |
PYROSCOPE_EBPF |
false |
Collects profiling information with eBPF. |
PYROSCOPE_ADDRESS |
http://isard-pyroscope:4040 |
Pyroscope address. |
FARO_ENABLED |
false |
Captures Vue 3 interface errors and sends them to Loki through Grafana Alloy. |
FARO_URL |
/faro/collect |
Faro receiver address. An external receiver can be set. |
FARO_HTTP_SAMPLING |
1.0 |
Fraction (from 0.0 to 1.0) of successful HTTP requests reported to Faro. Failed ones are always reported; an invalid value falls back to 1.0. |
STATS_COLLECTORS_OCI_ENABLE |
false |
Enables the OCI collector. |
TF_VAR_tenancy_ocid |
(no value) | OCI tenancy OCID. |
TF_VAR_user_ocid |
(no value) | OCI user OCID. |
TF_VAR_fingerprint |
(no value) | OCI API key fingerprint. |
TF_VAR_region |
(no value) | OCI region. |
TF_VAR_private_key |
(no value) | OCI private key. |
Check service¶
| Key | Default | Description |
|---|---|---|
CHECK_CHECK_IMAGE |
registry.gitlab.com/isard/isardvdi/check-client:main |
Image used by the check service. |
Infrastructure management and orchestrator¶
| Key | Default | Description |
|---|---|---|
INFRASTRUCTURE_MANAGEMENT |
false |
Enables infrastructure management (isard-operations and isard-orchestrator). |
INFRASTRUCTURE_DRY_RUN |
false |
Tests infrastructure management without running any action. |
INFRASTRUCTURE_HOST_IP |
(no value) | Internal IP of this host where the core services (database 28015, Redis 6379, Loki 3100, VictoriaMetrics 9090) are exposed to the other infrastructure nodes. This IP must be added to BLACKLIST_IPTABLES. |
ORCHESTRATOR_DB_HOST |
isard-db |
Database host for isard-orchestrator. Only needed in a split web installation. |
ORCHESTRATOR_DB_PORT |
28015 |
Database port for isard-orchestrator. |
ORCHESTRATOR_DB_USR |
(no value) | Database user for isard-orchestrator. |
ORCHESTRATOR_DB_PWD |
(no value) | Database password for isard-orchestrator. |
ORCHESTRATOR_DB_DB |
isard |
Database name for isard-orchestrator. |
ORCHESTRATOR_ORCHESTRATOR_POLLING_INTERVAL |
30s |
Interval for checking the infrastructure state. |
ORCHESTRATOR_ORCHESTRATOR_OPERATIONS_TIMEOUT |
15m |
Timeout of operations before they are considered failed. |
ORCHESTRATOR_ORCHESTRATOR_OPERATIONS_ADDRESS |
isard-operations:1312 |
gRPC address of operations. |
ORCHESTRATOR_ORCHESTRATOR_CHECK_ADDRESS |
isard-check:1312 |
gRPC address of check. |
ORCHESTRATOR_ORCHESTRATOR_API_ADDRESS |
http://isard-apiv4:5000 |
apiv4 address for the orchestrator operations and checks. |
ORCHESTRATOR_ORCHESTRATOR_API_SECRET |
(= API_ISARDVDI_SECRET) |
Secret for signing the JWTs addressed to apiv4. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR |
(no value) | Who makes the decisions: rata (resource thresholds) or chamaleon (takes bookings into account). |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_CPU |
0 |
Minimum free CPUs in the pool (0 = no minimum). |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_CPU_HOURLY |
(no value) | JSON by weekday and hour that overrides RATA_MIN_CPU. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM |
0 |
Minimum free RAM (MB) in the pool. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM_HOURLY |
(no value) | JSON by weekday and hour that overrides RATA_MIN_RAM. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MAX_CPU |
0 |
Maximum free CPUs in the pool. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MAX_CPU_HOURLY |
(no value) | Hourly value that overrides RATA_MAX_CPU. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MAX_RAM |
0 |
Maximum free RAM (MB) in the pool. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MAX_RAM_HOURLY |
(no value) | Hourly value that overrides RATA_MAX_RAM. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM_LIMIT_PERCENT |
0 |
Minimum free RAM limit, as a percentage. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM_LIMIT_PERCENT_HOURLY |
(no value) | Hourly value of the RAM limit as a percentage. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM_LIMIT_MARGIN |
0 |
Margin of the RAM limit. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_MIN_RAM_LIMIT_MARGIN_HOURLY |
(no value) | Hourly value of the RAM limit margin. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_DEAD_ROW_RAM_MARGIN |
0 |
A hypervisor only moves to the retirement queue if the free RAM of the rest of the pool stays above the minimum plus this margin (MB). 0: no margin. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_HYPER_MIN_CPU |
0 |
Minimum CPU a hypervisor must have before entering OnlyForced mode. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_HYPER_MIN_RAM |
0 |
Minimum RAM (MB) a hypervisor must have before entering OnlyForced mode. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_HYPER_MAX_CPU |
0 |
Maximum free CPU that takes a hypervisor out of OnlyForced mode. |
ORCHESTRATOR_ORCHESTRATOR_DIRECTOR_RATA_HYPER_MAX_RAM |
0 |
Maximum free RAM (MB) that takes a hypervisor out of OnlyForced mode. |
ORCHESTRATOR_ORCHESTRATOR_CHECK_ENABLED |
true |
Checks a hypervisor (with isard-check) before adding it. |
ORCHESTRATOR_ORCHESTRATOR_CHECK_TEMPLATE_ID |
(no value) | ID of the template used to verify hypervisors. |
ORCHESTRATOR_ORCHESTRATOR_CHECK_FAIL_MAINTENANCE_MODE |
true |
The check fails if maintenance mode is enabled. |
ORCHESTRATOR_ORCHESTRATOR_CHECK_FAIL_SELF_SIGNED |
true |
The check fails if it detects a self-signed certificate. |
Operations¶
| Key | Default | Description |
|---|---|---|
OPERATIONS_API_ENABLED |
false |
Shows the operations menu in the webapp and enables its API endpoints. |
OpenAPI (development)¶
| Key | Default | Description |
|---|---|---|
ENABLE_OPENAPI |
false |
Adds the OpenAPI specifications container, with Swagger, at /openapi. See API. |
AUTHENTICATION_TEST_SAML_CATEGORY_IDS |
(no value) | Comma-separated category IDs for the test SAML users. |