
7/31/2023 · Raimund Hook
What this post added
This post details the technical implementation of running the GitLab Development Kit (GDK) within GitLab's Remote Development workspaces. It explains the behind-the-scenes process of workspace creation, including the role of init containers and the GitLab agent for Kubernetes. It addresses the memory limitations encountered during large repository clones (like the main GitLab project) and proposes using the GDK repository itself as the base for the workspace to mitigate this. The post also describes the creation of a pre-built container image for GDK to speed up installation and the development of a script to generate the `gdk.yml` file dynamically based on the workspace's environment variables. The `.devfile.yaml` configuration is provided, outlining the necessary ports and resource requests for the workspace container.