Skip to content

Commit 9458ee7

Browse files
committed
Documenting node discover annotations
Signed-off-by: Ritikaa96 <[email protected]>
1 parent 720f535 commit 9458ee7

File tree

1 file changed

+58
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+58
-0
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,64 @@ Example: `node.cloudprovider.kubernetes.io/shutdown: "NoSchedule"`
930930

931931
If a Node is in a cloud provider specified shutdown state, the Node gets tainted accordingly with `node.cloudprovider.kubernetes.io/shutdown` and the taint effect of `NoSchedule`.
932932

933+
### feature.node.kubernetes.io/*
934+
Used on: Nodes
935+
Example: `feature.node.kubernetes.io/network-sriov.capable: "true"`
936+
937+
These features are advertised as labels in the Kubernetes Node object on nodes running NFD.
938+
All built-in labels use the feature.node.kubernetes.io label namespace and have the format
939+
`feature.node.kubernetes.io/<feature-name>: <true>`.
940+
NFD has many extension points for creating vendor and application-specific labels.
941+
For details, see the [customization guide](https://kubernetes-sigs.github.io/node-feature-discovery/v0.12/usage/customization-guide).
942+
943+
### nfd.node.kubernetes.io/master.version
944+
945+
Example: `nfd.node.kubernetes.io/master.version: "v0.6.0"`
946+
947+
Used on: Nodes
948+
949+
For node(s) where the Node Feature Discovery (NFD)
950+
[master](https://kubernetes-sigs.github.io/node-feature-discovery/stable/usage/nfd-master.html)
951+
is scheduled, this annotation records the version of the NFD master.
952+
It is used for informative use only.
953+
954+
### nfd.node.kubernetes.io/worker.version
955+
956+
Example: `nfd.node.kubernetes.io/worker.version: "v0.4.0"`
957+
958+
Used on: Nodes
959+
960+
This annotation records the version for a Node Feature Discovery's
961+
[worker](https://kubernetes-sigs.github.io/node-feature-discovery/stable/usage/nfd-worker.html)
962+
if there is one running on a node.
963+
It's used for informative use only.
964+
965+
### nfd.node.kubernetes.io/feature-labels
966+
967+
Example: `nfd.node.kubernetes.io/feature-labels: "cpu-cpuid.ADX,cpu-cpuid.AESNI,cpu-hardware_multithreading,kernel-version.full"`
968+
969+
Used on: Nodes
970+
971+
This annotation records a comma-separated list of node feature labels managed by
972+
[Node Feature Discovery](https://kubernetes-sigs.github.io/node-feature-discovery/) (NFD).
973+
NFD uses this for an internal mechanism. You should not edit this annotation yourself.
974+
975+
### nfd.node.kubernetes.io/extended-resources
976+
977+
Example: `nfd.node.kubernetes.io/extended-resources: "accelerator.acme.example/q500,example.com/coprocessor-fx5"`
978+
979+
Used on: Nodes
980+
981+
This annotation records a comma-separated list of [extended resources](/docs/concepts/configuration/manage-resources-containers/#extended-resources)
982+
managed by [Node Feature Discovery](https://kubernetes-sigs.github.io/node-feature-discovery/) (NFD).
983+
NFD uses this for an internal mechanism. You should not edit this annotation yourself.
984+
985+
{{< note >}}
986+
These annotations only applies to nodes where NFD is running.
987+
To learn more about NFD and its components go to its official
988+
[documentation](https://kubernetes-sigs.github.io/node-feature-discovery/stable/get-started/).
989+
{{< /note >}}
990+
933991
### pod-security.kubernetes.io/enforce
934992

935993
Example: `pod-security.kubernetes.io/enforce: "baseline"`

0 commit comments

Comments
 (0)