Forgot to paste the link... the spark option is spark.kubernetes.driver.service.annotation.[AnnotationName], and you can see it in https://spark.apache.org/docs/latest/running-on-kubernetes.html#spark-properties .
Thanks, Shiqi On Tue, Sep 27, 2022 at 3:19 PM Shiqi Sun <jack.sun...@gmail.com> wrote: > Hi all, > > I have the need to add certain labels to the driver headless service when > running Spark in Kubernetes. I know that there is this spark option to add > annotation (this one), but is there a similar one to add custom labels to > the driver service? > > Thank you! > > Best, > Shiqi >