From 96cc2adaadaaa0bcf34b95944848fbadb249a718 Mon Sep 17 00:00:00 2001 From: "linhaiwei.lhw" Date: Mon, 14 Jul 2025 13:40:37 +0800 Subject: [PATCH] add README for localERIDiscovery mode Signed-off-by: linhaiwei.lhw --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b65ca92..33b20bc 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,16 @@ credentials: accessKeyID: "{access key}" accessKeySecret: "{access key secret}" ``` +#### localERIDiscovery mode +To expose existing erdma devices on the node to pods, enable `localERIDiscovery` configuration in values.yaml. This eliminates the need to create and authorize ram roles and policies according to the above steps for accessing the erdma API. +##### expose specified erdma devices on each node +`exposedLocalERIs` field in values.yaml defines which erdma devices are exposed per node. For example: +```yaml +exposedLocalERIs: + - i-XXX erdma_0/erdma_1 # specify instance ID and erdma devices(erdma_0/erdma_1) to expose + - i-* erdma_0 # specify erdma devices(erdma_0) to expose for all unspecified nodes + - i-* erdma_* # expose all existing erdma devices for all unspecified nodes +``` #### helm install ```sh helm install -f values.yaml --namespace kube-system alibaba-erdma-controller deploy/helm/