We are getting unauthorized error when submit App to EKS cluster in this step:
https://github.com/apple/batch-processing-gateway/blob/main/docs/GETTING_STARTED.md#submit-a-spark-app
Error message is:
{"code":500,"message":"io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: {masterurl}/apis/sparkoperator.k8s.io/v1beta2/namespaces/spark-applications/sparkapplications. Message: Unauthorized! Token may have expired! Please log-in again. Unauthorized."}
userTokenSOPS is generated from https://github.com/apple/batch-processing-gateway/blob/main/dev-setup/generate-bpg-config.sh#L17
This token comes from spark service account secret, do you need any additional setup on cluster level to make this authentication work?
Thanks.
We are getting unauthorized error when submit App to EKS cluster in this step:
https://github.com/apple/batch-processing-gateway/blob/main/docs/GETTING_STARTED.md#submit-a-spark-app
Error message is:
userTokenSOPS is generated from https://github.com/apple/batch-processing-gateway/blob/main/dev-setup/generate-bpg-config.sh#L17
This token comes from spark service account secret, do you need any additional setup on cluster level to make this authentication work?
Thanks.