jakubmatyszewski opened a new pull request, #14343:
URL: https://github.com/apache/druid/pull/14343

   ### Description
   Following 
[documentation](https://github.com/apache/druid/blob/1873fca6c73f816db45482eda3e59abc6fd4e8f5/docs/development/extensions-contrib/k8s-jobs.md?plain=1#L126-L127)
 of `druid-kubernetes-overlord-extensions` and applying suggested `Role` 
results in an error in Overlord container:
   ```
   Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure 
executing: GET at: 
https://172.20.0.1:443/apis/batch/v1/namespaces/druid-test/jobs?labelSelector=druid.k8s.peons.
 Message: Forbidden!Configured service account doesn't have access. Service 
account may have been revoked. jobs.batch is forbidden: User 
"system:serviceaccount:druid-test:druid" cannot list resource "jobs" in API 
group "batch" in the namespace "druid-test".
   ```
   
   This issue is solved when `Role` includes `batch` in `ApiGroups` - this PR 
improves docs to include this information.
   
   <hr>
   
   - [x] been self-reviewed
    
   - [x] been tested in a test Druid cluster.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to