mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
dsa: fix kubectl command line
Fixed kubectl command line to get allocatable DSA resources Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
This commit is contained in:
parent
005db1b9cb
commit
b007dc26f5
@ -124,10 +124,13 @@ You can verify the plugin has been registered with the expected nodes by searchi
|
|||||||
resource allocation status on the nodes:
|
resource allocation status on the nodes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ kubectl get nodes -o=jsonpath="{range .items[*]}{.metadata.name}{'\n'}{' i915: '}{.status.allocatable.dsa\.intel\.com/*}{'\n'}"
|
$ kubectl get nodes -o go-template='{{range .items}}{{.metadata.name}}{{"\n"}}{{range $k,$v:=.status.allocatable}}{{" "}}{{$k}}{{": "}}{{$v}}{{"\n"}}{{end}}{{end}}' | grep '^\([^ ]\)\|\( dsa\)'
|
||||||
master
|
master
|
||||||
dsa.intel.com/wq-user-dedicated: 1
|
dsa.intel.com/wq-user-dedicated: 2
|
||||||
dsa.intel.com/wq-user-shared: 1
|
dsa.intel.com/wq-user-shared: 8
|
||||||
|
node1
|
||||||
|
dsa.intel.com/wq-user-dedicated: 4
|
||||||
|
dsa.intel.com/wq-user-shared: 20
|
||||||
```
|
```
|
||||||
|
|
||||||
### Testing the plugin
|
### Testing the plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user