1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-12 11:47:05 +00:00
node-feature-discovery/deployment/base/gc/gc.yaml
Markus Lehtonen 6cf29bd8ef deployment/kustomize: support nfd-gc
Rename the old "topology-gc" to just "gc". Simplify the setup a bit by
including the RBAC rules in the "gc" base.

Note: we don't enable nfd-gc in the default overlay, yet, as the
NodeFeature API isn't enabled (gc is not needed).
2023-08-23 10:56:12 +03:00

23 lines
465 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nfd
name: nfd-gc
spec:
selector:
matchLabels:
app: nfd-gc
template:
metadata:
labels:
app: nfd-gc
spec:
dnsPolicy: ClusterFirstWithHostNet
serviceAccount: nfd-gc
containers:
- name: nfd-gc
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
imagePullPolicy: Always
command:
- "nfd-gc"