Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions components/executors/k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ It is expected that all components contained in this directory and any subdirect
The following components will deploy:

- [Executor ConfigMap](./executor.ConfigMap.yaml) the configurations for the executors.
- [Executor Deployment](./executor.Deployment.yaml) An executor replica with a Docker sidecar to run isolated batch changes and auto-indexing jobs.
- [Executor Persistent Volume Claim](./executor.PersistentVolumeClaim.yaml) A headless service for executor metrics access. Executors are not externally accessible.
- [Executor Deployment](./executor.Deployment.yaml) The executor, which runs each batch change and auto-indexing job in its own Kubernetes Job pod. Each job pod has its own workspace volume and can run on any node. To run more jobs at once, raise `EXECUTOR_MAXIMUM_NUM_JOBS` or scale the Deployment's replicas.
- [Executor Service](./executor.Service.yaml) A headless service for executor metrics access. Executors are not externally accessible.
- [RBAC] The required rules for executors to interact with the Kubernetes API.
- [Executor Role](./rbac/executor.Role.yaml) Contains the required rules.
Expand Down
2 changes: 0 additions & 2 deletions components/executors/k8s/executor.ConfigMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ metadata:
app.kubernetes.io/component: executor
data:
EXECUTOR_USE_FIRECRACKER: "false"
EXECUTOR_KUBERNETES_PERSISTENCE_VOLUME_NAME: "sg-executor-pvc"
EXECUTOR_KUBERNETES_POD_AFFINITY: '[{"labelSelector": {"matchExpressions": [{"key": "app", "operator": "In", "values": ["executor"]}]}, "topologyKey": "kubernetes.io/hostname"}]'
7 changes: 0 additions & 7 deletions components/executors/k8s/executor.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,3 @@ spec:
envFrom:
- configMapRef:
name: executor-config
volumeMounts:
- mountPath: /data
name: sg-executor-volume
volumes:
- name: sg-executor-volume
persistentVolumeClaim:
claimName: sg-executor-pvc
14 changes: 0 additions & 14 deletions components/executors/k8s/executor.PersistentVolumeClaim.yaml

This file was deleted.

1 change: 0 additions & 1 deletion components/executors/k8s/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ resources:
- rbac
- executor.ConfigMap.yaml
- executor.Deployment.yaml
- executor.PersistentVolumeClaim.yaml
- executor.Service.yaml
patches:
- path: patches/executor.ConfigMap.yaml