[K8S] properties file via SPARK_CONF_DIR and --properties-file prevents definition of own properties via secrets/own mounts
K8S resource manager dumps the config map to /opt/spark/conf/spark-defaults.conf and passes it to spark submit twice:
• via env var SPARK_CONF_DIR=/opt/spark/conf/
• argument --properties-file /opt/spark/conf/spark-defaults.conf This prevents definition of user defined properties, such as from secrets - currently it seems to be the only possibility to define spark config properties from k8s secrets.
Is the current implementation intent? If yes, what are the reasons behind that decision?
Thanks and kind regards
Software Developer/Data Engineer
phenetic GmbH Lütticher Straße 10, 50674 Köln, Germany