GitLab

Contributor how-to: Remote Development workspaces and GitLab Developer Kit

Jul 31, 2023Raimund Hook
Contributor how-to: Remote Development workspaces and GitLab Developer Kit
SummaryAI, from the source post

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.

More from the On-Premises Deployment Considerations trail