Difference between revisions of "GitLab"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
  
 
Since April 2018, GitLab support integration with [[Google Kubernetes Engine]] (GKE) to simplify the process of spinning up a new [[Kubernetes]] cluster and deploy applications.
 
Since April 2018, GitLab support integration with [[Google Kubernetes Engine]] (GKE) to simplify the process of spinning up a new [[Kubernetes]] cluster and deploy applications.
 
[[GitLab]] provides a Prometheus integration guide to export GitLab metrics to [[Prometheus]] monitoring system<ref>{{Cite web|url = https://docs.gitlab.com/ee/administration/monitoring/prometheus/gitlab_metrics.html|title = GitLab Prometheus metrics|accessdate = December 26, 2018}}</ref> and it is activated by default since version 9.0 in 2017.<ref>https://about.gitlab.com/2017/03/22/gitlab-9-0-released/</ref>
 
  
 
GitLab is integrated of different modules including [[GitLab Runner]]<ref>https://docs.gitlab.com/runner/</ref> (<code>.[[gitlab-ci.yml]]</code>) responsible for the [[continuous integration]]<ref>https://docs.gitlab.com/runner/</ref> with an embedded HTTP Statistics Server with Prometheus metrics available on <code>/metrics</code> since GitLab Runner 1.8.0.<ref>https://docs.gitlab.com/runner/monitoring/README.html</ref>
 
GitLab is integrated of different modules including [[GitLab Runner]]<ref>https://docs.gitlab.com/runner/</ref> (<code>.[[gitlab-ci.yml]]</code>) responsible for the [[continuous integration]]<ref>https://docs.gitlab.com/runner/</ref> with an embedded HTTP Statistics Server with Prometheus metrics available on <code>/metrics</code> since GitLab Runner 1.8.0.<ref>https://docs.gitlab.com/runner/monitoring/README.html</ref>
Line 36: Line 34:
 
* <code>[[application.log]]</code> and <code>application_json.log</code> (Since [[GitLab 12.7]])
 
* <code>[[application.log]]</code> and <code>application_json.log</code> (Since [[GitLab 12.7]])
  
== [[Health check]]s ==
+
== [[Health check]]s and monitoring ==
 
[[Health check]]s  https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
 
[[Health check]]s  https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
 
* <code>GET http://localhost/-/health</code>
 
* <code>GET http://localhost/-/health</code>
 
* <code>GET http://localhost/-/readiness</code>
 
* <code>GET http://localhost/-/readiness</code>
 
* <code>GET http://localhost/-/liveness</code>
 
* <code>GET http://localhost/-/liveness</code>
 +
 +
[[GitLab]] provides a [[Prometheus]] and [[Grafana]] integration, GitLab export GitLab metrics to [[Prometheus]] monitoring system<ref>{{Cite web|url = https://docs.gitlab.com/ee/administration/monitoring/prometheus/gitlab_metrics.html|title = GitLab Prometheus metrics|accessdate = December 26, 2018}}</ref> and it is activated by default since version 9.0 in 2017.<ref>https://about.gitlab.com/2017/03/22/gitlab-9-0-released/</ref>
  
  

Revision as of 06:42, 31 March 2021

wikipedia:GitLab (2011) is a web-based DevOps lifecycle software service or locally installed, available since 2011, that provides a Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license.

Since April 2018, GitLab support integration with Google Kubernetes Engine (GKE) to simplify the process of spinning up a new Kubernetes cluster and deploy applications.

GitLab is integrated of different modules including GitLab Runner[1] (.gitlab-ci.yml) responsible for the continuous integration[2] with an embedded HTTP Statistics Server with Prometheus metrics available on /metrics since GitLab Runner 1.8.0.[3]

GitLab offers many features such as:

An integrates with many platforms such as Salesforce DX and Snowplow.

GitLab Software

Binaries

Configuration files

GitLab logs

Health checks and monitoring

Health checks https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html

GitLab provides a Prometheus and Grafana integration, GitLab export GitLab metrics to Prometheus monitoring system[8] and it is activated by default since version 9.0 in 2017.[9]


Components

GitLab editions

Activities

Basic

  1. Read GitLab CI/CD Pipeline Configuration Reference:.gitlab-ci.yml https://docs.gitlab.com/ee/ci/yaml/
  2. Create a backup from GitLab

Medium

  1. Read GitLab release notes/Changelog/versions
  2. Install GitLab using docker containers. Note: Gitlab uses PostgreSQL as database backend.[10]
  3. Review GitLab Automatic Let’s Encrypt Renewal
  4. Review GitLab project members permissions/privileges: Guest, Reporter, Developer, Maintainer, Owner, and external users.

Advanced

  1. Review Ansible GitLab modules https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html
  2. Enable Gitlab container registry in: /etc/gitlab/gitlab.rb[11]
  3. Read https://about.gitlab.com/devops-tools/teamcity-vs-gitlab.html

GitLab and Kubernetes

Since April 2018, GitLab simplifies process of spinning up a new Kubernetes cluster in Google Kubernetes Engine (GKE) to deploy applications.[12]

Related terms

See also

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: https://en.wikiversity.org/wiki/DevOps/GitLab

Advertising: