mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-31 04:04:51 +00:00
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> |
||
---|---|---|
.. | ||
coprocessor_ppc64le.go | ||
coprocessor_stub.go | ||
cpu.go | ||
cpu_test.go | ||
cpuid_amd64.go | ||
cpuid_linux_arm.go | ||
cpuid_linux_arm64.go | ||
cpuid_linux_ppc64le.go | ||
cpuid_linux_s390x.go | ||
cpuid_stub.go | ||
cstate_amd64.go | ||
cstate_stub.go | ||
power_amd64.go | ||
power_stub.go | ||
pstate_amd64.go | ||
pstate_stub.go | ||
rdt_amd64.go | ||
rdt_stub.go | ||
security_amd64.go | ||
security_s390x.go | ||
security_stub.go |