radanalyticsio / spark-operator

Operator for managing the Spark clusters on Kubernetes and OpenShift.
Apache License 2.0
157 stars 61 forks source link

SparkApplication: Garbage collect old configmaps and services #288

Open sousaaguilherme opened 4 years ago

sousaaguilherme commented 4 years ago

When deploying a SparkApplication, for each execution of it (using sleep), a configmap and service is created. These configmaps and secrets never get deleted over time.

The spark-operator should clean these file (maybe leave just the last 10; this could be configurable).

Best regards