You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "jakubmatyszewski (via GitHub)" <gi...@apache.org> on 2023/05/25 12:54:59 UTC

[GitHub] [druid] jakubmatyszewski opened a new pull request, #14343: docs: k8s-jobs role needs batch apigroup

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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [PR] docs: k8s-jobs role needs batch apigroup (druid)

Posted by "abhishekagarwal87 (via GitHub)" <gi...@apache.org>.
abhishekagarwal87 merged PR #14343:
URL: https://github.com/apache/druid/pull/14343


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org