Skip to content

Commit 06c4537

Browse files
TELCODOCS-1850: Dev/QE review
1 parent d00d29b commit 06c4537

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/kmm-building-in-cluster.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ Otherwise, KMM creates a `Build` resource to build your image. After the image i
4545
<6> Required.
4646
<7> Optional: Avoid using this parameter. If set to `true`, KMM will be allowed to check if the container image already exists using plain HTTP.
4747
<8> Optional: Avoid using this parameter. If set to `true`, KMM will skip any TLS server certificate validation when checking if the container image already exists.
48+
49+
Successful build pods are garbage collected immediately, unless the `job.gcDelay` parameter is set in the Operator configuration. Failed build pods are always preserved and must be deleted manually by the administrator for the build to be restarted.

modules/kmm-configuring-kmmo.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ $ oc edit configmap -n "$namespace" kmm-operator-manager-config
2424
[source,yaml]
2525
----
2626
healthProbeBindAddress: :8081
27+
job:
28+
gcDelay: 1h
2729
leaderElection:
2830
enabled: true
2931
resourceID: kmm.sigs.x-k8s.io
@@ -49,6 +51,9 @@ worker:
4951
| `healthProbeBindAddress`
5052
| Defines the address on which the Operator monitors for kubelet health probes. The recommended value is `:8081`.
5153

54+
|`job.gcDelay`
55+
|Defines the duration that successful build pods should be preserved for before they are deleted. There is no recommended value for this setting. For information about the valid values for this setting, see link:https://pkg.go.dev/time#ParseDuration[ParseDuration].
56+
5257
|`leaderElection.enabled`
5358
|Determines whether leader election is used to ensure that only one replica of the KMM Operator is running at any time. For more information, see https://kubernetes.io/docs/concepts/architecture/leases/[Leases]. The recommended value is `true`.
5459

0 commit comments

Comments
 (0)