mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
a3b2d97513
Got broken unnoticed with the addition of liveness and readiness probes.
40 lines
985 B
YAML
40 lines
985 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
labels:
|
|
app: nfd
|
|
name: nfd
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nfd
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nfd
|
|
spec:
|
|
serviceAccount: nfd-master
|
|
tolerations: []
|
|
containers:
|
|
- name: nfd-master
|
|
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
|
|
imagePullPolicy: Always
|
|
livenessProbe:
|
|
exec:
|
|
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
exec:
|
|
command: ["/usr/bin/grpc_health_probe", "-addr=:8080"]
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
failureThreshold: 10
|
|
command:
|
|
- "nfd-master"
|
|
- name: nfd-worker
|
|
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
|
|
imagePullPolicy: Always
|
|
command:
|
|
- "nfd-worker"
|
|
args: []
|