You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configure/executors/README.md
+36-4Lines changed: 36 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,42 @@ This directory contains manifests for the optional deployment of Sourcegraph Exe
8
8
9
9
It is expected that all components contained in this directory and any subdirectories are deployed to ensure full functionality and best performance.
10
10
11
+
There are two distribution methods supported:
12
+
13
+
### Native Kubernetes Executors (Recommended)
14
+
Requirements: RBAC, persistent volumes
15
+
16
+
This distribution method makes use of native Kubernetes Deployments, Services, and Jobs to execute workloads. It is suitable for clusters that meet Sourcegraph's minimum requirements.
17
+
11
18
The following components will deployed:
19
+
-[Executor Deployment](./executor/k8s/executor.Deployment.yaml) An Executor replica with a Docker sidecar to run isolated batch changes and auto-indexing jobs. This deployment requires a [privileged security context](https://kubernetes.io/docs/concepts/security/pod-security-standards/).
20
+
-[Executor Service](./executor/k8s/executor.Service.yaml) A headless service for executor metrics access. Executors are not externally accessible.
21
+
-[Executor ConfigMap](./executor/k8s/executor.ConfigMap.yaml) configuration for the Executor deployment
-[Registry Deployment](./private-docker-registry/private-docker-registry.Deployment.yaml) A private docker registry configured as a pull-through cache to avoid docker hub rate limiting.
28
+
-[Registry Service](./private-docker-registry/private-docker-registry.Service.yaml) A service to access the private-docker-registry.
29
+
-[Registry Persistent Volume](./private-docker-registry/private-docker-registry.PersistentVolumeClaim.yaml) A volume to store images in the private-docker-registry.
12
30
13
-
-[Executor Deployment](./executor/executor.Deployment.yaml) An Executor replica with a Docker sidecar to run isolated batch changes and auto-indexing jobs. This deployment requires a [privileged security context](https://kubernetes.io/docs/concepts/security/pod-security-standards/).
14
-
-[Executor Service](./executor/executor.Service.yaml) A headless service for executor metrics access. Executors are not externally accessible.
15
-
-[Docker ConfigMap](./executor/docker-daemon.ConfigMap.yaml) configuration for the docker sidecar to use the pull-through cache.
31
+
To apply these manifests, run the following command:
This distribution method makes use of a docker-in-docker sidecar container to execute the workloads. It is suitable for clusters that meet Sourcegraph's minimum requirements that cannot utilize native Kubenretes executors.
42
+
43
+
The following components will deployed:
44
+
-[Executor Deployment](./executor/dind/executor.Deployment.yaml) An Executor replica with a Docker sidecar to run isolated batch changes and auto-indexing jobs. This deployment requires a [privileged security context](https://kubernetes.io/docs/concepts/security/pod-security-standards/).
45
+
-[Executor Service](./executor/dind/executor.Service.yaml) A headless service for executor metrics access. Executors are not externally accessible.
46
+
-[Docker ConfigMap](./executor/dind/docker-daemon.ConfigMap.yaml) configuration for the docker sidecar to use the pull-through cache.
16
47
-[Private docker registory]
17
48
-[Registry Deployment](./private-docker-registry/private-docker-registry.Deployment.yaml) A private docker registry configured as a pull-through cache to avoid docker hub rate limiting.
18
49
-[Registry Service](./private-docker-registry/private-docker-registry.Service.yaml) A service to access the private-docker-registry.
@@ -21,6 +52,7 @@ The following components will deployed:
21
52
To apply these manifests, run the following command:
0 commit comments