1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/pkg
Feruzjon Muyassarov 2bdf427b89 nfd-master logic update for setting node taints
This commits extends NFD master code to support adding node taints
from NodeFeatureRule CR. We also introduce a new annotation for
taints which helps to identify if the taint set on node is owned
by NFD or not. When user deletes the taint entry from
NodeFeatureRule CR, NFD will remove the taint from the node. But
to avoid accidental deletion of taints not owned by the NFD, it
needs to know the owner. Keeping track of NFD set taints in the
annotation can be used during the filtering of the owner. Also
enable-taints flag is added to allow users opt in/out for node
tainting feature. The flag takes precedence over taints defined
in NodeFeatureRule CR. In other words, if enbale-taints is set to
false(disabled) and user still defines taints on the CR, NFD will
ignore those taints and skip them from setting on the node.

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
2022-12-02 17:25:00 +02:00
..
apihelper apis/nfd: update auto-generated code 2022-10-18 18:41:53 +03:00
apis/nfd/v1alpha1 nfd-master logic update for setting node taints 2022-12-02 17:25:00 +02:00
cpuid pkg/cpuid: lint fixes 2020-05-20 21:48:06 +03:00
generated Update auto-generated artefacts 2022-09-08 12:45:20 +03:00
labeler apis/nfd: update auto-generated code 2022-10-18 18:41:53 +03:00
nfd-client nfd-worker: drop deprecated command line flags 2022-11-23 22:33:51 +02:00
nfd-master nfd-master logic update for setting node taints 2022-12-02 17:25:00 +02:00
podres topologyupdater: Bootstrap nfd-topology-updater in NFD 2021-09-21 10:47:39 +01:00
resourcemonitor topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
topologypolicy topologyupdater: Bootstrap nfd-topology-updater in NFD 2021-09-21 10:47:39 +01:00
topologyupdater Re-generate files 2022-08-10 09:47:23 +03:00
utils get kubelet config from configz 2022-11-08 23:52:35 +08:00
version version: allow undefined version 2020-03-20 07:21:43 +02:00