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/deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml
Oleg Zhurakivskyy f2e9557a2d nfd-topology-updater: Add liveness probe
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-04-03 13:15:54 +03:00

45 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: nfd
name: nfd-topology-updater
spec:
selector:
matchLabels:
app: nfd-topology-updater
template:
metadata:
labels:
app: nfd-topology-updater
spec:
dnsPolicy: ClusterFirstWithHostNet
serviceAccount: nfd-topology-updater
containers:
- name: nfd-topology-updater
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
imagePullPolicy: Always
livenessProbe:
grpc:
port: 8082
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
grpc:
port: 8082
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 10
command:
- "nfd-topology-updater"
args: []
resources:
limits:
cpu: 100m
memory: 60Mi
requests:
cpu: 50m
memory: 40Mi
ports:
- name: metrics
containerPort: 8081