Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,23 @@ The `hostname` field is **required** for each rule and supports regex patterns f
When using the `hostname: "*"` pattern, the configuration will be applied to **all nodes** in the cluster.

:::
## Devices Pattern
Devices list supports regex patterns for flexible device matching.
The following example will automatically provision any ssd / nvme:
```
apiVersion: v1
kind: ConfigMap
metadata:
name: harvester-node-disk-manager
namespace: harvester-system
data:
autoprovision.yaml: |
- hostname: "*"
devices:
- "/dev/sd*"
- "/dev/nvme*"
```


## Filters Configuration

Expand Down Expand Up @@ -131,4 +148,4 @@ autoprovision.yaml: |

## Migration from Legacy Setting

If you are currently using the `auto-disk-provision-paths` setting, consider migrating to this ConfigMap approach for better flexibility and control. For more information about the legacy setting, see the [`auto-disk-provision-paths`](./settings.md#auto-disk-provision-paths-experimental) setting documentation.
If you are currently using the `auto-disk-provision-paths` setting, consider migrating to this ConfigMap approach for better flexibility and control. For more information about the legacy setting, see the [`auto-disk-provision-paths`](./settings.md#auto-disk-provision-paths-experimental) setting documentation.