mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 08:17:04 +00:00
The "combined" overlay, deploying nfd-master and nfd-worker in the same pod (with a daemonset) doesn't make sense anymore as we have enabled NodeFeature API. There is no direct communication between nfd-master and nfd-worker anymore, Moreover, the combined deployment can be seen as broken as there is one NodeFeature controller (i.e. nfd-master) on each node, causing them to race against each other, all processing all NodeFeature objects.
24 lines
480 B
YAML
24 lines
480 B
YAML
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
kind: Component
|
|
|
|
patches:
|
|
- path: env.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd.*
|
|
- path: securitycontext.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd.*
|
|
- path: master-affinity.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd-master
|
|
- path: worker-mounts.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd-worker
|
|
- path: master-mounts.yaml
|
|
target:
|
|
labelSelector: app=nfd
|
|
name: nfd-master
|