mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-12 11:47:05 +00:00
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).
23 lines
465 B
YAML
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"
|