From 173b87dff6a09a7df3f764c7562142b3e2c61bb7 Mon Sep 17 00:00:00 2001 From: loujar Date: Mon, 17 Feb 2025 08:57:21 -1000 Subject: [PATCH] added note to configure KUBERNETES_RUN_AS_USER & KUBERNETES_RUN_AS_GROUP for native k8s executors --- docs/admin/executors/deploy_executors_kubernetes.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/admin/executors/deploy_executors_kubernetes.mdx b/docs/admin/executors/deploy_executors_kubernetes.mdx index 20a87c983..88fb9c0c5 100644 --- a/docs/admin/executors/deploy_executors_kubernetes.mdx +++ b/docs/admin/executors/deploy_executors_kubernetes.mdx @@ -27,6 +27,7 @@ Native Kubernetes Executors can be deployed via either the `sourcegraph-executor 2. `EXECUTOR_FRONTEND_PASSWORD` should match the `executors.accessToken` key in the Sourcegraph instance's site configuration 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 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. + 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. Additional environment variables may need to be configured for your Executors deployment. See [here](/admin/executors/executors_config) for a complete list.