Skip to content

Commit ccf2b41

Browse files
committed
Fix installer configuration and add support for shiftfs
1 parent e8c4722 commit ccf2b41

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,25 @@ EOF
216216
yq e -i ".containerRegistry.s3storage.bucket = \"${CONTAINER_REGISTRY_BUCKET}\"" "${CONFIG_FILE}"
217217
yq e -i ".containerRegistry.s3storage.certificate.kind = \"secret\"" "${CONFIG_FILE}"
218218
yq e -i ".containerRegistry.s3storage.certificate.name = \"${SECRET_STORAGE}\"" "${CONFIG_FILE}"
219+
yq e -i ".workspace.runtime.fsShiftMethod = \"shiftfs\"" "${CONFIG_FILE}"
219220

220221
gitpod-installer \
221222
render \
222223
--config="${CONFIG_FILE}" > gitpod.yaml
223224

224225
kubectl apply -f gitpod.yaml
225226

227+
# remove shiftfs-module-loader container.
228+
# TODO: remove once the container is removed from the installer
229+
kubectl patch daemonset ws-daemon --type json -p='[{"op": "remove", "path": "/spec/template/spec/initContainers/3"}]'
230+
# Patch proxy service to remove use of cloud load balancer. In EKS we use ALB.
231+
kubectl patch service proxy --type merge --patch \
232+
"$(cat <<EOF
233+
spec:
234+
type: ClusterIP
235+
EOF
236+
)"
237+
226238
# wait for update of the ingress status
227239
until [ -n "$(kubectl get ingress gitpod -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')" ]; do
228240
sleep 5

0 commit comments

Comments
 (0)