wackxu commented on issue #24601: [SPARK-27702][K8S] Allow using some alternatives for service accounts URL: https://github.com/apache/spark/pull/24601#issuecomment-576199782 Although we provide some authentication configuration, such as `spark.kubernetes.authenticate.driver.mounted.oauthTokenFile`, `spark.kubernetes.authenticate.driver.mounted.caCertFile`, etc. When we use one of them, dirver still use the `KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH` file, and the error look like bellow: ``` the KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH file not exists ``` so we need to determine whether KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH exists. If it does not exist, other configurations are allowed to use, such as `spark.kubernetes.authenticate.driver.mounted.oauthTokenFile`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
