You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| .spec.applicationTolerations.resourceRetainPolicy | `Always` / `OnFailure` / `Never` | Never | Configure operator to delete / retain secondary resources for an app after it terminates. |
348
+
| .spec.applicationTolerations.resourceRetainDurationMillis | integer | -1 | Time to wait in milliseconds for releasing **secondary resources** after termination. Setting to negative value would disable the retention duration check for secondary resources after termination. |
349
+
| .spec.applicationTolerations.ttlAfterStopMillis | integer | -1 | Time-to-live in milliseconds for SparkApplication and **all its associated secondary resources**. If set to a negative value, the application would be retained and not be garbage collected by operator. |
350
+
351
+
Note that `ttlAfterStopMillis` applies to the app as well as its secondary resources. If both
352
+
`resourceRetainDurationMillis`and `ttlAfterStopMillis` are set to non-negative value and the
353
+
latter is smaller, then it takes higher precedence: operator would remove all resources related
354
+
to this app after `ttlAfterStopMillis`.
355
+
313
356
## Spark Cluster
314
357
315
358
Spark Operator also supports launching Spark clusters in k8s via `SparkCluster` custom resource,
0 commit comments