1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 13:07:48 +00:00
node-feature-discovery/docs/usage
Fabiano Fidêncio 10672e1bba cpu: Expose the total number of keys for TDX
The total amount of keys that can be used on a specific TDX system is
exposed via the cgroups misc.capacity. See:

```
$ cat /sys/fs/cgroup/misc.capacity
tdx 31
```

The first step to properly manage the amount of keys present in a node
is exposing it via the NFD, and that's exactly what this commit does.

An example of how it ends up being exposed via the NFD:

```
$ kubectl get node 984fee00befb.jf.intel.com -o jsonpath='{.metadata.labels}'  | jq | grep tdx.total_keys
  "feature.node.kubernetes.io/cpu-security.tdx.total_keys": "31",
```

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-03-31 09:12:26 +02:00
..
custom-resources.md docs: fix internal cross-page references by injecting .md 2023-01-16 20:53:36 -08:00
customization-guide.md cpu: Expose the total number of keys for TDX 2023-03-31 09:12:26 +02:00
examples-and-demos.md Add documentation for topology garbage collector 2023-01-11 10:15:38 +01:00
features.md cpu: Expose the total number of keys for TDX 2023-03-31 09:12:26 +02:00
index.md docs: restructure docs 2022-11-03 10:26:56 +02:00
nfd-master.md docs: fix internal cross-page references by injecting .md 2023-01-16 20:53:36 -08:00
nfd-topology-gc.md docs: fix internal cross-page references by injecting .md 2023-01-16 20:53:36 -08:00
nfd-topology-updater.md documentaion: document the reactive updates feature 2023-03-16 11:53:12 +02:00
nfd-worker.md docs: fix internal cross-page references by injecting .md 2023-01-16 20:53:36 -08:00
using-labels.md docs: restructure docs 2022-11-03 10:26:56 +02:00