Skip to content

Commit 949f1e0

Browse files
committed
Update: use default values and update documentation
1 parent 54d24bd commit 949f1e0

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

deployment/base/gc/gc.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ spec:
2424
path: /healthz
2525
port: http
2626
initialDelaySeconds: 10
27-
periodSeconds: 10
2827
readinessProbe:
2928
httpGet:
3029
path: /healthz
3130
port: http
3231
initialDelaySeconds: 5
33-
periodSeconds: 10
34-
failureThreshold: 10
3532
resources:
3633
limits:
3734
cpu: 20m

deployment/helm/node-feature-discovery/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ gc:
572572
# timeoutSeconds: 1
573573
readinessProbe:
574574
initialDelaySeconds: 5
575-
failureThreshold: 10
575+
# failureThreshold: 3
576576
# periodSeconds: 10
577577
# timeoutSeconds: 1
578578
# successThreshold: 1

docs/deployment/helm.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,15 @@ API's you need to install the prometheus operator in your cluster.
339339
| `gc.extraArgs` | array | [] | Additional [command line arguments](../reference/gc-commandline-reference.md) to pass to nfd-gc |
340340
| `gc.extraEnvs` | array | [] | Additional environment variables to pass to nfd-gc |
341341
| `gc.revisionHistoryLimit` | integer | | Specify how many old ReplicaSets for this Deployment you want to retain. [revisionHistoryLimit][revisionhistorylimit] |
342+
| `gc.livenessProbe.initialDelaySeconds` | integer | 10 | Specifies the number of seconds after the container has started before liveness probes are initiated. |
343+
| `gc.livenessProbe.failureThreshold` | integer | 3 (by Kubernetes) | Specifies the number of consecutive failures of liveness probes before considering the pod as not ready. |
344+
| `gc.livenessProbe.periodSeconds` | integer | 10 (by Kubernetes) | Specifies how often (in seconds) to perform the liveness probe. |
345+
| `gc.livenessProbe.timeoutSeconds` | integer | 1 (by Kubernetes) | Specifies the number of seconds after which the probe times out. |
346+
| `gc.readinessProbe.initialDelaySeconds` | integer | 5 | Specifies the number of seconds after the container has started before readiness probes are initiated. |
347+
| `gc.readinessProbe.failureThreshold` | integer | 3 (by Kubernetes) | Specifies the number of consecutive failures of readiness probes before considering the pod as not ready. |
348+
| `gc.readinessProbe.periodSeconds` | integer | 10 (by Kubernetes) | Specifies how often (in seconds) to perform the readiness probe. |
349+
| `gc.readinessProbe.timeoutSeconds` | integer | 1 (by Kubernetes) | Specifies the number of seconds after which the probe times out. |
350+
| `gc.readinessProbe.successThreshold` | integer | 1 (by Kubernetes) | Specifies the number of consecutive successes of readiness probes before considering the pod as ready. |
342351
| `gc.dnsPolicy` | array | ClusterFirstWithHostNet | Garbage collector pod [dnsPolicy][dnspolicy] |
343352

344353
<!-- Links -->

0 commit comments

Comments
 (0)