1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #1521 from marquiz/devel/fix-samples-links

docs: fixes
This commit is contained in:
Kubernetes Prow Robot 2023-12-21 17:52:12 +01:00 committed by GitHub
commit 84b0a263f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"
```