Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
archlitchi committed Jul 5, 2024
1 parent e3dd544 commit 7d737cd
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,53 @@ Allocatable:
...
```

## Arguments:

```
HAMi mock device plugin for Kubernetes
./k8s-device-plugin version
Usage:
-alsologtostderr
log to standard error as well as files
-debug
debug mode
-iluvatar-core-name string
virtual cores for iluvatar to be allocated (default "iluvatar.ai/MR-V100.vCore")
-iluvatar-resource-name string
virtual devices for iluvatar to be allocated (default "iluvatar.ai/vgpu")
-log_backtrace_at value
when logging hits line file:N, emit a stack trace
-log_dir string
If non-empty, write log files in this directory
-logtostderr
log to standard error instead of files
-mlu-resource-memory-name string
virtual memory for npu to be allocated (default "huawei.com/Ascend910-memory")
-mlu-resource-name string
virtual devices for mlu to be allocated (default "cambricon.com/vmlu")
-resource-cores string
cores percentage to use (default "nvidia.com/gpucores")
-resource-mem string
gpu memory to allocate (default "nvidia.com/gpumem")
-resource-mem-percentage string
gpu memory fraction to allocate (default "nvidia.com/gpumem-percentage")
-stderrthreshold value
logs at or above this threshold go to stderr
-v value
log level for V logs
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
```

## ManagedResources

| Devices | Mocking Resources |
| :--- | :----: |
| Nvidia GPU | nvidia.com/gpumem, nvidia.com/gpumem-percentage, nvidia.com/gpucores |
| Cambricon MLU | cambricon.com/vmlu |
| Iluvatar GPU | iluvatar.ai/vgpu iluvatar.ai/vCore |
| Ascend 910B | huawei.com/Ascend910-memory |

## Maintainer

[email protected]

0 comments on commit 7d737cd

Please sign in to comment.