Skip to content

Commit 4076bea

Browse files
Add troubleshooting steps for executors job failure due to the emptyD… (#903)
…ir storage issue <!-- Explain the changes introduced in your PR --> ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent 0d8e4b7 commit 4076bea

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/admin/executors/executors_troubleshooting.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,22 @@ Tells us that the Pod cannot be scheduled because the pod affinity rules (`EXECU
242242
configured do not match any nodes.
243243

244244
In this case, the `EXECUTOR_KUBERNETES_POD_AFFINITY` needs to be modified to correctly target the node.
245+
246+
### Executor Job failure issues
247+
248+
If you see below errors for executor jobs:
249+
250+
Codeintel
251+
```Index failed to index: Running command "step.kubernetes.pre-index.0": job sg-executor-job-codeintel-111877 failed: Usage of EmptyDir volume "job-data" exceeds the limit "5Gi".```
252+
253+
Batch Changes
254+
```"step.kubernetes.step.0.pre": job sg-executor-job-batches-91562 failed: Usage of EmptyDir volume "job-data" exceeds the limit "5Gi".```
255+
256+
Update the below variables in the respective executor's deployment file to increase EmptyDir volume "job-data" storage. In this example, ```KUBERNETES_JOB_VOLUME_SIZE``` is set to 20Gi, but you can tweak it as per your requirement.
257+
258+
```
259+
- name: KUBERNETES_JOB_VOLUME_TYPE value: emptyDir
260+
- name: KUBERNETES_JOB_VOLUME_SIZE value: 20Gi
261+
```
262+
263+
```KUBERNETES_JOB_VOLUME_TYPE``` can be either set to ```emptyDir``` or ```pvc``` and if it’s not set, the default is ```emptyDir```

0 commit comments

Comments
 (0)