support node feature discovery (#10861)

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
Kay Yan
2024-03-06 00:36:08 +08:00
committed by GitHub
parent 04e40f2e6f
commit 90b0151caf
22 changed files with 916 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: node-feature-discovery-worker-conf
namespace: {{ node_feature_discovery_namespace }}
data:
{% if node_feature_discovery_worker_config %}
nfd-worker.conf: |-
{{ node_feature_discovery_worker_config | to_yaml(indent=2, width=1337) | indent(width=4) }}
{% else %}
nfd-worker.conf: "null"
{% endif %}