mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
docs: fixes
- Fix broken link to nodefeaturerule samples - Fix sample output of kubectl plugin
This commit is contained in:
parent
6c7fc241f2
commit
de2a212002
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ See the
|
||||||
for full documentation of the NodeFeatureRule resource and its usage.
|
for full documentation of the NodeFeatureRule resource and its usage.
|
||||||
|
|
||||||
The
|
The
|
||||||
[`deployment/nodefeaturerule/samples/`](https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{site.release}}/deployment/nodefeaturerule/samples/)
|
[`deployment/nodefeaturerule/samples/`](https://github.com/kubernetes-sigs/node-feature-discovery/tree/{{site.release}}/deployment/nodefeaturerule/samples)
|
||||||
directory contains sample NodeFeatureRule objects that replicate the built-in
|
directory contains sample NodeFeatureRule objects that replicate the built-in
|
||||||
default feature labels generated by NFD. The sample rules can be used as a base
|
default feature labels generated by NFD. The sample rules can be used as a base
|
||||||
to customize NFD feature labels. To use them in place of the the NFD built-in
|
to customize NFD feature labels. To use them in place of the the NFD built-in
|
||||||
|
|
|
@ -62,9 +62,9 @@ Or you can use the example NodeFeature file(it is a minimal NodeFeature file):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ kubectl nfd dryrun -f examples/nodefeaturerule.yaml -n examples/nodefeature.yaml
|
$ kubectl nfd dryrun -f examples/nodefeaturerule.yaml -n examples/nodefeature.yaml
|
||||||
|
Evaluating NodeFeatureRule "examples/nodefeaturerule.yaml" against NodeFeature "examples/nodefeature.yaml"
|
||||||
Processing rule: my sample rule
|
Processing rule: my sample rule
|
||||||
*** Labels ***
|
*** Labels ***
|
||||||
vendor.io/my-sample-feature=true
|
vendor.io/my-sample-feature=true
|
||||||
Evaluating NodeFeatureRule "examples/nodefeaturerule.yaml" against NodeFeature "examples/nodefeature.yaml"
|
|
||||||
NodeFeatureRule "examples/nodefeaturerule.yaml" is valid for NodeFeature "examples/nodefeature.yaml"
|
NodeFeatureRule "examples/nodefeaturerule.yaml" is valid for NodeFeature "examples/nodefeature.yaml"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue