diff --git a/docs/advanced/settings.md b/docs/advanced/settings.md index 04735129e2..1b6f5748b9 100644 --- a/docs/advanced/settings.md +++ b/docs/advanced/settings.md @@ -934,14 +934,17 @@ When the state of the node changes to `Not Ready`, the VM is force deleted and r When the node becomes unavailable or is powered off, the VM only restarts and does not migrate. -**Default value**: `{"enable":true, "period":300}` +- `period`: Number of seconds Harvester waits before adding the `kubevirt.io/drain` taint to the failed nodes. This option triggers the migration of the virtual machine. +- `vmMigrationTimeout`: Number of seconds Harvester waits before adding the `node.kubernetes.io/out-of-service` taint to the failed nodes. This option forces cleanup of the orphan resources. -**Example**: +**Default value**: `{"enable":true, "period":15, "vmMigrationTimeout": 180}` +**Example**: ```json { "enable": "true", - "period": 300 + "period": 15, + "vmMigrationTimeout": 180 } ``` diff --git a/versioned_docs/version-v1.7/advanced/settings.md b/versioned_docs/version-v1.7/advanced/settings.md index 04735129e2..1b6f5748b9 100644 --- a/versioned_docs/version-v1.7/advanced/settings.md +++ b/versioned_docs/version-v1.7/advanced/settings.md @@ -934,14 +934,17 @@ When the state of the node changes to `Not Ready`, the VM is force deleted and r When the node becomes unavailable or is powered off, the VM only restarts and does not migrate. -**Default value**: `{"enable":true, "period":300}` +- `period`: Number of seconds Harvester waits before adding the `kubevirt.io/drain` taint to the failed nodes. This option triggers the migration of the virtual machine. +- `vmMigrationTimeout`: Number of seconds Harvester waits before adding the `node.kubernetes.io/out-of-service` taint to the failed nodes. This option forces cleanup of the orphan resources. -**Example**: +**Default value**: `{"enable":true, "period":15, "vmMigrationTimeout": 180}` +**Example**: ```json { "enable": "true", - "period": 300 + "period": 15, + "vmMigrationTimeout": 180 } ```