Single click deploy of Runner to k8s cluster
Description
Note: General design for applications discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/38464.
We make it really easy to get autoscaling runners if you install GitLab in a Kubernetes cluster, but what if you're using GitLab.com or otherwise have your GitLab instance outside of Kubernetes? We already let you connect a product to a Kubernetes cluster, and ideally we'd let you do that at a group level. But once you've done that, you still need to configure Kubernetes cluster manually. We should make it easy to install an autoscaling GitLab runner into the k8s cluster for you, ideally with a single click, likely in the CI/CD > Clusters page.
Once installed, the Runner can be automatically registered to the project that is associated to the cluster. This can be expanded to group clusters when implemented.
Proposal
Add button in CI/CD > Clusters page to add GitLab runner to the cluster. The runner should be configured to use auto-scale mode, and to connect back to the project as a specific runner.
Design
- Add button in CI/CD > Clusters page to add GitLab runner to the cluster.
- GitLab runner section header (first column) refers/links to documentation: https://docs.gitlab.com/runner/
Note: copy should state this project's repository
instead of the repository
Links / references
- https://gitlab.com/gitlab-org/gitlab-ce/issues/38464.
- Related: Single click deploy of Prometheus to k8s cluster: https://gitlab.com/gitlab-org/gitlab-ce/issues/28916