radanalyticsio / spark-operator

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

Make operator state update interval configurable or shorter #279

Open erikerlandson opened 4 years ago

erikerlandson commented 4 years ago

Currently the spark operator check for state updates every 3 minutes. This is a UX problem for tooling like Open Data Hub because if a user hits the JH spawner, it can take up to 3 minutes for a spark cluster to actually spin up. So a user will get their notebook open, and try connecting to a spark cluster, and be confused when the connection to spark fails.

Ideally, it would be good to make this interval configurable. Or if for some reason configurability is a problem, then make the hard-coded interval shorter.

erikerlandson commented 4 years ago

cc @tmckayus