Skip to content

Commit 173b87d

Browse files
committed
added note to configure KUBERNETES_RUN_AS_USER & KUBERNETES_RUN_AS_GROUP for native k8s executors
1 parent b3578f4 commit 173b87d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/admin/executors/deploy_executors_kubernetes.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Native Kubernetes Executors can be deployed via either the `sourcegraph-executor
2727
2. `EXECUTOR_FRONTEND_PASSWORD` should match the `executors.accessToken` key in the Sourcegraph instance's site configuration
2828
3. Either `EXECUTOR_QUEUE_NAMES` or `EXECUTOR_QUEUE_NAME` should be set depending on whether the Executor will process batch change or precise auto indexing jobs
2929
4. `EXECUTOR_KUBERNETES_NAMESPACE` should be set to the Kubernetes namespace where you intend to run the worker pods. This should generally match the namesapce where you deploy the Executor resources in the next step.
30+
5. `KUBERNETES_RUN_AS_USER` and `KUBERNETES_RUN_AS_GROUP` should be set to the user and group IDs that the worker pods should run as.
3031

3132
<Callout type="note">Additional environment variables may need to be configured for your Executors deployment. See [here](/admin/executors/executors_config) for a complete list.</Callout>
3233

0 commit comments

Comments
 (0)