mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
10 lines
250 B
Bash
10 lines
250 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
NumNodes=$(kubectl get nodes | grep -i ready | wc -l)
|
||
|
sed -e "s/COMPLETION_COUNT/$NumNodes/" -e "s/PARALLELISM_COUNT/$NumNodes/" featurelabeling-job.json.template > featurelabeling-job.json
|
||
|
|
||
|
kubectl create -f featurelabeling-job.json
|
||
|
|
||
|
|
||
|
|