mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-10 18:57:59 +00:00
NodeResourceTopology(aka NRT) custom resource is used to enable NUMA aware Scheduling in Kubernetes. As of now node-feature-discovery daemons are used to advertise those resources but there is no service responsible for removing obsolete objects(without corresponding Kubernetes node). This patch adds new daemon called nfd-topology-gc which removes old NRTs. Signed-off-by: PiotrProkop <pprokop@nvidia.com>
23 lines
519 B
YAML
23 lines
519 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: nfd
|
|
name: nfd-topology-gc
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nfd-topology-gc
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nfd-topology-gc
|
|
spec:
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
serviceAccount: nfd-topology-gc
|
|
containers:
|
|
- name: nfd-topology-gc
|
|
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
|
|
imagePullPolicy: Always
|
|
command:
|
|
- "nfd-topology-gc"
|