Skip to content

Commit 90be22a

Browse files
authored
Merge pull request #22 from honghai120135/main
add README for localERIDiscovery mode
2 parents d602677 + 96cc2ad commit 90be22a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ credentials:
5656
accessKeyID: "{access key}"
5757
accessKeySecret: "{access key secret}"
5858
```
59+
#### localERIDiscovery mode
60+
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.
61+
##### expose specified erdma devices on each node
62+
`exposedLocalERIs` field in values.yaml defines which erdma devices are exposed per node. For example:
63+
```yaml
64+
exposedLocalERIs:
65+
- i-XXX erdma_0/erdma_1 # specify instance ID and erdma devices(erdma_0/erdma_1) to expose
66+
- i-* erdma_0 # specify erdma devices(erdma_0) to expose for all unspecified nodes
67+
- i-* erdma_* # expose all existing erdma devices for all unspecified nodes
68+
```
5969
#### helm install
6070
```sh
6171
helm install -f values.yaml --namespace kube-system alibaba-erdma-controller deploy/helm/

0 commit comments

Comments
 (0)