If you cannot find the GitLab server application on the first page, use the search bar or navigate through the library.
Deploy GitLab Server on Scaleway Kubernetes clusters using Easy Deploy
- GitLab
- server
- kubernetes
- easy
- deploy
This tutorial provides a guide to deploy a GitLab server on Scaleway Kubernetes clusters using the Easy Deploy feature. It outlines the prerequisites, step-by-step deployment instructions, and post-deployment configurations necessary for optimal continuous delivery and GitOps practices.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- A valid API key
- Created a Scaleway Kubernetes Kapsule or Kosmos cluster
- A domain name and access to its DNS zone
Deploying the GitLab Server application using Easy Deploy
- In the Scaleway console, navigate to the Kubernetes section under Containers.
- Select the cluster where you want to deploy the GitLab server. The Cluster Information tab will display.
- Click the Easy Deploy tab to open the application dashboard.
- Click Deploy Application to launch the deployment wizard.
- Select Application Library to view the list of available applications.
- Choose the GitLab server application.
Tip
- Customize the default configuration for GitLab server using Helm Charts. The default configuration looks as follows:
Replace the following parameters:certmanager-issuer:email: me@example.comglobal:hosts:domain: gitlab.example.com
email
: Your email address.domain
: Your domain name.NoteThe GitLab Server application is configured to use a
gitlab
subdomain. If you want your application running atgitlab.example.com
, enterexample.com
.
- Enter a name (e.g.,
gitlab-server
) and a Kubernetes namespace for your application. If no name is entered, GitLab server will be installed in the default namespace. - Click Deploy Application to deploy the GitLab server on your Kubernetes cluster.
Retrieving the GitLab Server root password
- Access the Kubernetes Dashboard of your cluster and navigate to Secrets under the Config and Storage section.
- Click
gitlab-server-gitlab-initial-root-password
to display the application metadata. - Click the eye icon next to
password
to reveal and copy the GitLab server root password.
Connecting to GitLab Server
GitLab server uses a Load Balancer to manage traffic. To check the deployment status, run:
$ kubectl get svc
Look for the gitlab-server-nginx-ingress-controller
service. Once the EXTERNAL-IP
status changes from <PENDING>
to an assigned IP, your GitLab server application is up.
Configure an A-record for the gitlab
subdomain in your DNS zone, pointing to the Load Balancer IP.
Logging into GitLab Server
- Open your GitLab server subdomain in a web browser.
- Enter root as the username and the password retrieved earlier to log in.
Additional resources
For more detailed information on GitLab server configuration and metrics setup, refer to the official GitLab server documentation.