GitLab Runner Operator for Kubernetes
Release notes
Generally available in GitLab 14.10 is a GitLab Runner Operator for Kubernetes. The GitLab Runner Operator simplifies the installation and management of GitLab Runner on your target Kubernetes cluster.
Description
The operator was designed and released for OpenShift. It still doesn't support Kubernetes installations.
Proposal
Publish a GitLab Runner Operator for Kubernetes.
Status update
Solution 1: Modifying the operator project to support vanilla k8s
The modifications have been made by following this kubebuilder tutorial
Work done:
- Support of the
Webhook
andCertManager
in the operator CRD - Support of the
MutatingWebhookConfiguration
in the operator - Ability to deploy the Operator on both OpenShift and vanilla k8s with
ENABLE_WEBHOOK
set to false
Concerns:
-
certmanager
required on cluster to install the operator (on both OpenShift and vanilla k8s) - Due to the use of the
v1.18.0
ofoperator-sdk
, theOwnNamespace installMode
is no longer supported-
⚠ When usingoperator-sdk v1.5
on local machine to generate the bundle, this change is not needed
-
Questions:
Are the points listed in the concerns section going to negatively impact existing setup ?
Solution 2: CRDs duplication to avoid changes on OpenShift configurations
Work done:
- Duplication of
crd
,default
,manifests
folders to implement vanilla k8s support - Implementation of
vanilla k8s
makefile commands
Concerns:
- kustomize command fails to generate expected files
Notes:
- More context on the summary above can be found in the following thread
- The branch linked to this MR implements the
solution 1
Disclaimer
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.