1
0
Fork 0
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:
Markus Lehtonen 2023-12-21 18:28:05 +02:00
parent 6c7fc241f2
commit de2a212002
2 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ See the
for full documentation of the NodeFeatureRule resource and its usage.
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
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

View file

@ -62,9 +62,9 @@ Or you can use the example NodeFeature file(it is a minimal NodeFeature file):
```bash
$ kubectl nfd dryrun -f examples/nodefeaturerule.yaml -n examples/nodefeature.yaml
Processing rule: my sample rule
*** Labels ***
vendor.io/my-sample-feature=true
Evaluating NodeFeatureRule "examples/nodefeaturerule.yaml" against NodeFeature "examples/nodefeature.yaml"
Processing rule: my sample rule
*** Labels ***
vendor.io/my-sample-feature=true
NodeFeatureRule "examples/nodefeaturerule.yaml" is valid for NodeFeature "examples/nodefeature.yaml"
```