[{"data":1,"prerenderedAt":2283},["ShallowReactive",2],{"/blog/get-started-with-openshift-origin-3-and-gitlab":3,"navigation-en-us":1495,"banner-en-us":1923,"footer-en-us":1933,"blog-post-authors-en-us-Achilleas Pipinellis":2178,"blog-related-posts-en-us-get-started-with-openshift-origin-3-and-gitlab":2193,"blog-promotions-en-us":2219,"next-steps-en-us":2273},{"id":4,"title":5,"authors":6,"body":8,"category":1478,"date":1479,"description":1480,"extension":1481,"externalUrl":1482,"faq":1482,"featured":1483,"heroImage":1484,"meta":1485,"navigation":341,"path":1486,"seo":1487,"slug":1491,"stem":1492,"tags":1482,"template":1493,"updatedDate":1482,"__hash__":1494},"blogPosts/en-us/blog/get-started-with-openshift-origin-3-and-gitlab.md","Get started with OpenShift Origin 3 and GitLab",[7],"Achilleas Pipinellis",{"type":9,"value":10,"toc":1455},"minimark",[11,25,41,63,66,71,85,113,116,159,167,170,174,177,182,185,188,236,239,242,246,254,261,268,275,282,287,297,301,307,314,320,359,369,379,565,571,584,587,599,602,612,616,619,625,633,636,703,709,713,716,720,723,742,745,751,757,842,849,852,856,866,872,884,887,909,914,936,939,943,953,959,965,971,974,980,983,1000,1010,1017,1024,1028,1042,1045,1049,1052,1056,1066,1072,1078,1084,1095,1101,1114,1120,1132,1136,1139,1149,1155,1165,1172,1178,1185,1198,1201,1335,1338,1341,1347,1351,1354,1360,1364,1372,1377,1380,1387,1431,1435,1438,1441,1451],[12,13,14],"blockquote",{},[15,16,17,18,24],"p",{},"Note: This article is deprecated. It is now recommended to use the official\nKubernetes Helm charts for installing GitLab to OpenShift. Check out the\n",[19,20,23],"a",{"href":21,"rel":22},"https://gitlab.com/charts/gitlab/blob/master/doc/cloud/openshift.md",[],"official installation docs","\nfor details.",[12,26,27],{},[15,28,29,30,35,36,40],{},"Note: This article has been moved to a ",[19,31,34],{"href":32,"rel":33},"https://docs.gitlab.com/install/openshift_and_gitlab/",[],"technical article"," so it can be more easily updated. We recommend using ",[19,37,39],{"href":32,"rel":38},[],"the article",".",[15,42,43,49,50,54,55,58,59,62],{},[19,44,48],{"href":45,"rel":46,"title":47},"https://www.openshift.org",[],"OpenShift Origin website","OpenShift Origin"," is an open source container application\nplatform created by ",[51,52,53],"span",{},"RedHat",", based on ",[51,56,57],{},"kubernetes"," and ",[51,60,61],{},"Docker",". That means\nyou can host your own PaaS for free and almost with no hassle.",[15,64,65],{},"In this tutorial, we will see how to deploy GitLab in OpenShift using GitLab's\nofficial Docker image while getting familiar with the web interface and CLI\ntools that will help us achieve our goal.",[67,68,70],"h2",{"id":69},"prerequisites","Prerequisites",[15,72,73,74,77,78,84],{},"OpenShift 3 is not yet deployed on RedHat's offered Online platform (",[51,75,76],{},"openshift.com","),\nso in order to test it, we will use an ",[19,79,83],{"href":80,"rel":81,"title":82},"https://www.openshift.org/vm/",[],"OpenShift All-in-one VM","all-in-one Virtualbox image"," that is\noffered by the OpenShift developers and managed by Vagrant. If you haven't done\nalready, go ahead and install the following components as they are essential to\ntest OpenShift easily:",[86,87,88,94,99],"ul",{},[89,90,91],"li",{},[51,92,93],{},"VirtualBox",[89,95,96],{},[51,97,98],{},"Vagrant",[89,100,101,107,108,112],{},[19,102,106],{"href":103,"rel":104,"title":105},"https://docs.openshift.org/latest/cli_reference/get_started_cli.html",[],"Documentation - oc CLI documentation","OpenShift Client"," (",[109,110,111],"code",{},"oc"," for short)",[15,114,115],{},"It is also important to mention that for the purposes of this tutorial, the\nlatest Origin release is used:",[86,117,118,135,150],{},[89,119,120,123,124,127,128,134],{},[121,122,111],"strong",{}," ",[109,125,126],{},"v1.3.0"," (must be ",[19,129,133],{"href":130,"rel":131,"title":132},"https://github.com/openshift/origin/releases/tag/v1.3.0",[],"Openshift 1.3.0 release on GitHub","installed"," locally on your computer)",[89,136,137,123,140,142,143,149],{},[121,138,139],{},"openshift",[109,141,126],{}," (is pre-installed in the ",[19,144,148],{"href":145,"rel":146,"title":147},"https://atlas.hashicorp.com/openshift/boxes/origin-all-in-one",[],"Official OpenShift Vagrant box on Atlas","VM image",")",[89,151,152,123,154,142,156,149],{},[121,153,57],{},[109,155,126],{},[19,157,148],{"href":145,"rel":158,"title":147},[],[15,160,161,162,166],{},"If you intend to deploy GitLab on a production OpenShift cluster, there are some\nlimitations to bare in mind. Read on the ",[19,163,165],{"href":164},"#current-limitations","limitations","\nsection for more information and follow the linked links for the relevant\ndiscussions.",[15,168,169],{},"Now that you have all batteries, let's see how easy it is to test OpenShift\non your computer.",[67,171,173],{"id":172},"getting-familiar-with-openshift-origin","Getting familiar with OpenShift Origin",[15,175,176],{},"The environment we are about to use is based on CentOS 7 which comes with all\nthe tools needed pre-installed: Docker, kubernetes, OpenShift, etcd.",[178,179,181],"h3",{"id":180},"test-openshift-using-vagrant","Test OpenShift using Vagrant",[15,183,184],{},"As of this writing, the all-in-one VM is at version 1.3, and that's\nwhat we will use in this tutorial.",[15,186,187],{},"In short:",[189,190,191,218,221],"ol",{},[89,192,193,194],{},"Open a terminal and in a new directory run:",[195,196,201],"pre",{"className":197,"code":198,"language":199,"meta":200,"style":200},"language-sh shiki shiki-themes github-light","vagrant init openshift/origin-all-in-one\n","sh","",[109,202,203],{"__ignoreMap":200},[51,204,207,211,215],{"class":205,"line":206},"line",1,[51,208,210],{"class":209},"s7eDp","vagrant",[51,212,214],{"class":213},"sYBdl"," init",[51,216,217],{"class":213}," openshift/origin-all-in-one\n",[89,219,220],{},"This will generate a Vagrantfile based on the all-in-one VM image",[89,222,223,224],{},"In the same directory where you generated the Vagrantfile\nenter:",[195,225,227],{"className":197,"code":226,"language":199,"meta":200,"style":200},"vagrant up\n",[109,228,229],{"__ignoreMap":200},[51,230,231,233],{"class":205,"line":206},[51,232,210],{"class":209},[51,234,235],{"class":213}," up\n",[15,237,238],{},"This will download the VirtualBox image and fire up the VM with some preconfigured\nvalues as you can see in the Vagrantfile. As you may have noticed, you need\nplenty of RAM (5GB in our example), so make sure you have enough.",[15,240,241],{},"Now that OpenShift is set up, let's see how the web console looks like.",[178,243,245],{"id":244},"explore-the-openshift-web-console","Explore the OpenShift web console",[15,247,248,249,253],{},"Once Vagrant finishes its thing with the VM, you will be presented with a\nmessage which has some important information. One of them is the IP address\nof the deployed OpenShift platform and in particular ",[19,250,251],{"href":251,"rel":252},"https://10.2.2.2:8443/console/",[],".\nOpen this link with your browser and accept the self-signed certificate in\norder to proceed.",[15,255,256,257,260],{},"Let's login as admin with username/password ",[109,258,259],{},"admin/admin",". This is what the\nlanding page looks like:",[15,262,263],{},[264,265],"img",{"alt":266,"src":267},"openshift web console","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398310/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/web-console.png",[15,269,270,271,274],{},"You can see that a number of ",[51,272,273],{},"projects"," are already created for testing purposes.",[15,276,277,278,281],{},"If you head over the ",[109,279,280],{},"openshift-infra"," project, a number of services with their\nrespective pods are there to explore.",[15,283,284],{},[264,285],{"alt":266,"src":286},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398309/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/openshift-infra-project.png",[15,288,289,290,296],{},"We are not going to explore the whole interface, but if you want to learn about\nthe key concepts of OpenShift, read the ",[19,291,295],{"href":292,"rel":293,"title":294},"https://docs.openshift.org/latest/architecture/core_concepts/index.html",[],"Documentation - Core concepts of OpenShift Origin","core concepts reference"," in the\nofficial documentation.",[178,298,300],{"id":299},"explore-the-openshift-cli","Explore the OpenShift CLI",[15,302,303,304,306],{},"OpenShift Client (",[109,305,111],{},"), is a powerful CLI tool that talks to the OpenShift API\nand performs pretty much everything you can do from the web UI and much more.",[15,308,309,310,313],{},"Assuming you have ",[19,311,133],{"href":103,"rel":312,"title":105},[]," it, let's explore some of its main\nfunctionalities.",[15,315,316,317,319],{},"Let's first see the version of ",[109,318,111],{},":",[195,321,323],{"className":197,"code":322,"language":199,"meta":200,"style":200},"$ oc version\n\noc v1.3.0\nkubernetes v1.3.0+52492b4\n",[109,324,325,336,343,351],{"__ignoreMap":200},[51,326,327,330,333],{"class":205,"line":206},[51,328,329],{"class":209},"$",[51,331,332],{"class":213}," oc",[51,334,335],{"class":213}," version\n",[51,337,339],{"class":205,"line":338},2,[51,340,342],{"emptyLinePlaceholder":341},true,"\n",[51,344,346,348],{"class":205,"line":345},3,[51,347,111],{"class":209},[51,349,350],{"class":213}," v1.3.0\n",[51,352,354,356],{"class":205,"line":353},4,[51,355,57],{"class":209},[51,357,358],{"class":213}," v1.3.0+52492b4\n",[15,360,361,362,365,366,368],{},"With ",[109,363,364],{},"oc help"," you can see the top level arguments you can run with ",[109,367,111],{}," and\ninteract with your cluster, kubernetes, run applications, create projects and\nmuch more.",[15,370,371,372,374,375,378],{},"Let's login to the all-in-one VM and see how to achieve the same results like\nwhen we visited the web console earlier. The username/password for the\nadministrator user is ",[109,373,259],{},". There is also a test user with username/\npassword ",[109,376,377],{},"user/user",", with limited access. Let's login as admin for the moment:",[195,380,382],{"className":197,"code":381,"language":199,"meta":200,"style":200},"$ oc login https://10.2.2.2:8443\n\nAuthentication required for https://10.2.2.2:8443 (openshift)\nUsername: admin\nPassword:\nLogin successful.\n\nYou have access to the following projects and can switch between them with 'oc project \u003Cprojectname>':\n\n  * cockpit\n  * default (current)\n  * delete\n  * openshift\n  * openshift-infra\n  * sample\n\nUsing project \"default\".\n",[109,383,384,396,400,418,426,432,441,446,491,496,505,516,524,532,540,548,553],{"__ignoreMap":200},[51,385,386,388,390,393],{"class":205,"line":206},[51,387,329],{"class":209},[51,389,332],{"class":213},[51,391,392],{"class":213}," login",[51,394,395],{"class":213}," https://10.2.2.2:8443\n",[51,397,398],{"class":205,"line":338},[51,399,342],{"emptyLinePlaceholder":341},[51,401,402,405,408,411,414],{"class":205,"line":345},[51,403,404],{"class":209},"Authentication",[51,406,407],{"class":213}," required",[51,409,410],{"class":213}," for",[51,412,413],{"class":213}," https://10.2.2.2:8443",[51,415,417],{"class":416},"sgsFI"," (openshift)\n",[51,419,420,423],{"class":205,"line":353},[51,421,422],{"class":209},"Username:",[51,424,425],{"class":213}," admin\n",[51,427,429],{"class":205,"line":428},5,[51,430,431],{"class":209},"Password:\n",[51,433,435,438],{"class":205,"line":434},6,[51,436,437],{"class":209},"Login",[51,439,440],{"class":213}," successful.\n",[51,442,444],{"class":205,"line":443},7,[51,445,342],{"emptyLinePlaceholder":341},[51,447,449,452,455,458,461,464,467,470,473,476,479,482,485,488],{"class":205,"line":448},8,[51,450,451],{"class":209},"You",[51,453,454],{"class":213}," have",[51,456,457],{"class":213}," access",[51,459,460],{"class":213}," to",[51,462,463],{"class":213}," the",[51,465,466],{"class":213}," following",[51,468,469],{"class":213}," projects",[51,471,472],{"class":213}," and",[51,474,475],{"class":213}," can",[51,477,478],{"class":213}," switch",[51,480,481],{"class":213}," between",[51,483,484],{"class":213}," them",[51,486,487],{"class":213}," with",[51,489,490],{"class":213}," 'oc project \u003Cprojectname>':\n",[51,492,494],{"class":205,"line":493},9,[51,495,342],{"emptyLinePlaceholder":341},[51,497,499,502],{"class":205,"line":498},10,[51,500,501],{"class":209},"  *",[51,503,504],{"class":213}," cockpit\n",[51,506,508,510,513],{"class":205,"line":507},11,[51,509,501],{"class":209},[51,511,512],{"class":213}," default",[51,514,515],{"class":416}," (current)\n",[51,517,519,521],{"class":205,"line":518},12,[51,520,501],{"class":209},[51,522,523],{"class":213}," delete\n",[51,525,527,529],{"class":205,"line":526},13,[51,528,501],{"class":209},[51,530,531],{"class":213}," openshift\n",[51,533,535,537],{"class":205,"line":534},14,[51,536,501],{"class":209},[51,538,539],{"class":213}," openshift-infra\n",[51,541,543,545],{"class":205,"line":542},15,[51,544,501],{"class":209},[51,546,547],{"class":213}," sample\n",[51,549,551],{"class":205,"line":550},16,[51,552,342],{"emptyLinePlaceholder":341},[51,554,556,559,562],{"class":205,"line":555},17,[51,557,558],{"class":209},"Using",[51,560,561],{"class":213}," project",[51,563,564],{"class":213}," \"default\".\n",[15,566,567,568,570],{},"Switch to the ",[109,569,280],{}," project with:",[195,572,574],{"className":197,"code":573,"language":199,"meta":200,"style":200},"oc project openshift-infra\n",[109,575,576],{"__ignoreMap":200},[51,577,578,580,582],{"class":205,"line":206},[51,579,111],{"class":209},[51,581,561],{"class":213},[51,583,539],{"class":213},[15,585,586],{},"And finally, see its status:",[195,588,590],{"className":197,"code":589,"language":199,"meta":200,"style":200},"oc status\n",[109,591,592],{"__ignoreMap":200},[51,593,594,596],{"class":205,"line":206},[51,595,111],{"class":209},[51,597,598],{"class":213}," status\n",[15,600,601],{},"The last command should spit a bunch of information about the statuses of the\npods and the services, which if you look closely is what we encountered in the\nsecond image when we explored the web console.",[15,603,604,605,607,608,40],{},"You can always read more about ",[109,606,111],{}," in the ",[19,609,611],{"href":103,"rel":610,"title":105},[],"OpenShift CLI documentation",[178,613,615],{"id":614},"troubleshooting-the-all-in-one-vm","Troubleshooting the all-in-one VM",[15,617,618],{},"Using the all-in-one VM gives you the ability to test OpenShift whenever you\nwant. That means you get to play with it, shutdown the VM, and pick up where\nyou left off.",[15,620,621,622,624],{},"Sometimes though, you may encounter some issues, like OpenShift not running\nwhen booting up the VM. The web UI may not responding or you may see issues\nwhen trying to login with ",[109,623,111],{},", like:",[195,626,631],{"className":627,"code":629,"language":630,"meta":200},[628],"language-text","The connection to the server 10.2.2.2:8443 was refused - did you specify the right host or port?\n","text",[109,632,629],{"__ignoreMap":200},[15,634,635],{},"In that case, the OpenShift service might not be running, so in order to fix it:",[189,637,638,653,681],{},[89,639,640,641],{},"SSH into the VM by going to the directory where the Vagrantfile is and then\nrun:",[195,642,644],{"className":197,"code":643,"language":199,"meta":200,"style":200},"vagrant ssh\n",[109,645,646],{"__ignoreMap":200},[51,647,648,650],{"class":205,"line":206},[51,649,210],{"class":209},[51,651,652],{"class":213}," ssh\n",[89,654,655,656,659,660,662,663],{},"Run ",[109,657,658],{},"systemctl"," and verify by the output that the ",[109,661,139],{}," service is not\nrunning (it will be in red color). If that's the case start the service with:",[195,664,666],{"className":197,"code":665,"language":199,"meta":200,"style":200},"sudo systemctl start openshift\n",[109,667,668],{"__ignoreMap":200},[51,669,670,673,676,679],{"class":205,"line":206},[51,671,672],{"class":209},"sudo",[51,674,675],{"class":213}," systemctl",[51,677,678],{"class":213}," start",[51,680,531],{"class":213},[89,682,683,684],{},"Verify the service is up with:",[195,685,687],{"className":197,"code":686,"language":199,"meta":200,"style":200},"systemctl status openshift -l\n",[109,688,689],{"__ignoreMap":200},[51,690,691,693,696,699],{"class":205,"line":206},[51,692,658],{"class":209},[51,694,695],{"class":213}," status",[51,697,698],{"class":213}," openshift",[51,700,702],{"class":701},"sYu0t"," -l\n",[15,704,705,706,708],{},"Now you will be able to login using ",[109,707,111],{}," (like we did before) and visit the web\nconsole.",[67,710,712],{"id":711},"deploy-gitlab","Deploy GitLab",[15,714,715],{},"Now that you got a taste of what OpenShift looks like, let's deploy GitLab!",[178,717,719],{"id":718},"create-a-new-project","Create a new project",[15,721,722],{},"First, we will create a new project to host our application. You can do this\neither by running the CLI client:",[195,724,728],{"className":725,"code":726,"language":727,"meta":200,"style":200},"language-bash shiki shiki-themes github-light","$ oc new-project gitlab\n","bash",[109,729,730],{"__ignoreMap":200},[51,731,732,734,736,739],{"class":205,"line":206},[51,733,329],{"class":209},[51,735,332],{"class":213},[51,737,738],{"class":213}," new-project",[51,740,741],{"class":213}," gitlab\n",[15,743,744],{},"or by using the web interface:",[15,746,747],{},[264,748],{"alt":749,"src":750},"Create a new project from the UI","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398305/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/create-project-ui.png",[15,752,753,754,756],{},"If you used the command line, ",[109,755,111],{}," automatically uses the new project and you\ncan see its status with:",[195,758,760],{"className":197,"code":759,"language":199,"meta":200,"style":200},"$ oc status\n\nIn project gitlab on server https://10.2.2.2:8443\n\nYou have no services, deployment configs, or build configs.\nRun 'oc new-app' to create an application.\n",[109,761,762,770,774,792,796,823],{"__ignoreMap":200},[51,763,764,766,768],{"class":205,"line":206},[51,765,329],{"class":209},[51,767,332],{"class":213},[51,769,598],{"class":213},[51,771,772],{"class":205,"line":338},[51,773,342],{"emptyLinePlaceholder":341},[51,775,776,779,781,784,787,790],{"class":205,"line":345},[51,777,778],{"class":209},"In",[51,780,561],{"class":213},[51,782,783],{"class":213}," gitlab",[51,785,786],{"class":213}," on",[51,788,789],{"class":213}," server",[51,791,395],{"class":213},[51,793,794],{"class":205,"line":353},[51,795,342],{"emptyLinePlaceholder":341},[51,797,798,800,802,805,808,811,814,817,820],{"class":205,"line":428},[51,799,451],{"class":209},[51,801,454],{"class":213},[51,803,804],{"class":213}," no",[51,806,807],{"class":213}," services,",[51,809,810],{"class":213}," deployment",[51,812,813],{"class":213}," configs,",[51,815,816],{"class":213}," or",[51,818,819],{"class":213}," build",[51,821,822],{"class":213}," configs.\n",[51,824,825,828,831,833,836,839],{"class":205,"line":434},[51,826,827],{"class":209},"Run",[51,829,830],{"class":213}," 'oc new-app'",[51,832,460],{"class":213},[51,834,835],{"class":213}," create",[51,837,838],{"class":213}," an",[51,840,841],{"class":213}," application.\n",[15,843,844,845,848],{},"If you visit the web console, you can now see ",[109,846,847],{},"gitlab"," listed in the projects list.",[15,850,851],{},"The next step is to import the OpenShift template for GitLab.",[178,853,855],{"id":854},"import-the-template","Import the template",[15,857,858,859,865],{},"The ",[19,860,864],{"href":861,"rel":862,"title":863},"https://docs.openshift.org/latest/architecture/core_concepts/templates.html",[],"Documentation - OpenShift templates","template"," is basically a JSON file which describes a set of\nrelated object definitions to be created together, as well as a set of\nparameters for those objects.",[15,867,868,869,319],{},"The template for GitLab resides in the Omnibus GitLab repository under the\ndocker directory. Let's download it locally with ",[109,870,871],{},"wget",[195,873,875],{"className":725,"code":874,"language":727,"meta":200,"style":200},"wget https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/docker/openshift-template.json\n",[109,876,877],{"__ignoreMap":200},[51,878,879,881],{"class":205,"line":206},[51,880,871],{"class":209},[51,882,883],{"class":213}," https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/docker/openshift-template.json\n",[15,885,886],{},"And then let's import it in OpenShift:",[195,888,890],{"className":725,"code":889,"language":727,"meta":200,"style":200},"oc create -f openshift-template.json -n openshift\n",[109,891,892],{"__ignoreMap":200},[51,893,894,896,898,901,904,907],{"class":205,"line":206},[51,895,111],{"class":209},[51,897,835],{"class":213},[51,899,900],{"class":701}," -f",[51,902,903],{"class":213}," openshift-template.json",[51,905,906],{"class":701}," -n",[51,908,531],{"class":213},[15,910,911],{},[121,912,913],{},"Note",[15,915,858,916,919,920,922,923,925,926,929,930,932,933,935],{},[109,917,918],{},"-n openshift"," namespace flag is a trick to make the template available to all\nprojects. If you recall from when we created the ",[109,921,847],{}," project, ",[109,924,111],{}," switched\nto it automatically, and that can be verified by the ",[109,927,928],{},"oc status"," command. If\nyou omit the namespace flag, the application will be available only to the\ncurrent project, in our case ",[109,931,847],{},". The ",[109,934,139],{}," namespace is a global\none that the administrators should use if they want the application to be\navailable to all users.",[15,937,938],{},"We are now ready to finally deploy GitLab!",[178,940,942],{"id":941},"create-a-new-application","Create a new application",[15,944,945,946,948,949,952],{},"The next step is to use the template we previously imported. Head over to the\n",[109,947,847],{}," project and hit the ",[121,950,951],{},"Add to Project"," button.",[15,954,955],{},[264,956],{"alt":957,"src":958},"Add to project","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398305/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/add-to-project.png",[15,960,961,962,964],{},"This will bring you to the catalog where you can find all the pre-defined\napplications ready to deploy with the click of a button. Search for ",[109,963,847],{},"\nand you will see the previously imported template:",[15,966,967],{},[264,968],{"alt":969,"src":970},"Add GitLab to project","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398304/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/add-gitlab-to-project.png",[15,972,973],{},"Select it, and in the following screen you will be presented with the predefined\nvalues used with the GitLab template:",[15,975,976],{},[264,977],{"alt":978,"src":979},"GitLab settings","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398308/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/gitlab-settings.png",[15,981,982],{},"Notice at the top that there are three resources to be created with this\ntemplate:",[86,984,985,990,995],{},[89,986,987],{},[109,988,989],{},"gitlab-ce",[89,991,992],{},[109,993,994],{},"gitlab-ce-redis",[89,996,997],{},[109,998,999],{},"gitlab-ce-postgresql",[15,1001,1002,1003,1009],{},"While PostgreSQL and Redis are bundled in Omnibus GitLab, the template is using\nseparate images as you can see from ",[19,1004,1008],{"href":1005,"rel":1006,"title":1007},"https://gitlab.com/gitlab-org/omnibus-gitlab/blob/658c065c8d022ce858dd63eaeeadb0b2ddc8deea/docker/openshift-template.json#L239",[],"GitLab - OpenShift template","this line"," in the template.",[15,1011,1012,1013,1016],{},"The predefined values have been calculated for the purposes of testing out\nGitLab in the all-in-one VM. You don't need to change anything here, hit\n",[121,1014,1015],{},"Create"," to start the deployment.",[15,1018,1019,1020,1023],{},"If you are deploying to production you will want to change the ",[121,1021,1022],{},"GitLab instance\nhostname"," and use greater values for the volume sizes. If you don't provide a\npassword for PostgreSQL, it will be created automatically.",[15,1025,1026],{},[121,1027,913],{},[15,1029,858,1030,1033,1034,1037,1038,40],{},[109,1031,1032],{},"gitlab.apps.10.2.2.2.xip.io"," hostname that is used by default will\nresolve to the host with IP ",[109,1035,1036],{},"10.2.2.2"," which is the IP our VM uses. It is a\ntrick to have distinct FQDNs pointing to services that are on our local network.\nRead more on how this works in ",[19,1039,1040],{"href":1040,"rel":1041},"http://xip.io",[],[15,1043,1044],{},"Now that we configured this, let's see how to manage and scale GitLab.",[67,1046,1048],{"id":1047},"manage-and-scale-gitlab","Manage and scale GitLab",[15,1050,1051],{},"Setting up GitLab for the first time might take a while depending on your\ninternet connection and the resources you have attached to the all-in-one VM.\nGitLab's docker image is quite big (~500MB), so you'll have to wait until\nit's downloaded and configured before you use it.",[178,1053,1055],{"id":1054},"watch-while-gitlab-gets-deployed","Watch while GitLab gets deployed",[15,1057,1058,1059,1061,1062,1065],{},"Navigate to the ",[109,1060,847],{}," project at ",[121,1063,1064],{},"Overview",". You can notice that the\ndeployment is in progress by the orange color. The Docker images are being\ndownloaded and soon they will be up and running.",[15,1067,1068],{},[264,1069],{"alt":1070,"src":1071},"GitLab overview","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398305/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/gitlab-overview.png",[15,1073,567,1074,1077],{},[121,1075,1076],{},"Browse > Pods"," and you will eventually see all 3 pods in a\nrunning status. Remember the 3 resources that were to be created when we first\ncreated the GitLab app? This is where you can see them in action.",[15,1079,1080],{},[264,1081],{"alt":1082,"src":1083},"Running pods","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398310/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/running-pods.png",[15,1085,1086,1087,1090,1091,1094],{},"You can see GitLab being reconfigured by taking look at the logs in realtime.\nClick on ",[109,1088,1089],{},"gitlab-ce-2-j7ioe"," (your ID will be different) and go to the ",[121,1092,1093],{},"Logs","\ntab.",[15,1096,1097],{},[264,1098],{"alt":1099,"src":1100},"GitLab logs","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398305/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/gitlab-logs.png",[15,1102,1103,1104,1110,1111,1113],{},"At a point you should see a ",[1105,1106,1107],"em",{},[121,1108,1109],{},"gitlab Reconfigured!"," message in the logs.\nNavigate back to the ",[121,1112,1064],{}," and hopefully all pods will be up and running.",[15,1115,1116],{},[264,1117],{"alt":1118,"src":1119},"GitLab running","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398306/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/gitlab-running.png",[15,1121,1122,1123,1127,1128,1131],{},"Congratulations! You can now navigate to your new shinny GitLab instance by\nvisiting ",[19,1124,1125],{"href":1125,"rel":1126},"http://gitlab.apps.10.2.2.2.xip.io",[]," where you will be asked to\nchange the root user password. Login using ",[109,1129,1130],{},"root"," as username and providing the\npassword you just set, and start using GitLab!",[178,1133,1135],{"id":1134},"scale-gitlab-with-the-push-of-a-button","Scale GitLab with the push of a button",[15,1137,1138],{},"If you reach to a point where your GitLab instance could benefit from a boost\nof resources, you'd be happy to know that you can scale up with the push of a\nbutton.",[15,1140,1141,1142,1144,1145,1148],{},"In the ",[121,1143,1064],{}," page just click the up arrow button in the pod where\nGitLab is. The change is instant and you can see the number of ",[51,1146,1147],{},"replicas"," now\nrunning scaled to 2.",[15,1150,1151],{},[264,1152],{"alt":1153,"src":1154},"GitLab scale","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398308/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/gitlab-scale.png",[15,1156,1157,1158,1164],{},"Upping the GitLab pods is actually like adding new application servers to your\ncluster. You can see how that would work if you didn't use GitLab with\nOpenShift by following the ",[19,1159,1163],{"href":1160,"rel":1161,"title":1162},"https://docs.gitlab.com/administration/reference_architectures/",[],"Documentation - GitLab High Availability","HA documentation"," for the application servers.",[15,1166,1167,1168,1171],{},"Bare in mind that you may need more resources (CPU, RAM, disk space) when you\nscale up. If a pod is in pending state for too long, you can navigate to\n",[121,1169,1170],{},"Browse > Events"," and see the reason and message of the state.",[15,1173,1174],{},[264,1175],{"alt":1176,"src":1177},"No resources","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398308/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/no-resources.png",[178,1179,1181,1182,1184],{"id":1180},"scale-gitlab-using-the-oc-cli","Scale GitLab using the ",[109,1183,111],{}," CLI",[15,1186,1187,1188,1190,1191,1197],{},"Using ",[109,1189,111],{}," is super easy to scale up the replicas of a pod. You may want to\nskim through the ",[19,1192,1196],{"href":1193,"rel":1194,"title":1195},"https://docs.openshift.org/latest/cli_reference/basic_cli_operations.html",[],"Documentation - Basic CLI operations","basic CLI operations"," to get a taste how the CLI\ncommands are used. Pay extra attention to the object types as we will use some\nof them and their abbreviated versions below.",[15,1199,1200],{},"In order to scale up, we need to find out the name of the replication controller.\nLet's see how to do that using the following steps.",[189,1202,1203,1222,1250,1284,1308],{},[89,1204,1205,1206,1208,1209],{},"Make sure you are in the ",[109,1207,847],{}," project:",[195,1210,1212],{"className":197,"code":1211,"language":199,"meta":200,"style":200},"oc project gitlab\n",[109,1213,1214],{"__ignoreMap":200},[51,1215,1216,1218,1220],{"class":205,"line":206},[51,1217,111],{"class":209},[51,1219,561],{"class":213},[51,1221,741],{"class":213},[89,1223,1224,1225,1240,1243,1244],{},"See what services are used for this project:",[195,1226,1228],{"className":197,"code":1227,"language":199,"meta":200,"style":200},"oc get svc\n",[109,1229,1230],{"__ignoreMap":200},[51,1231,1232,1234,1237],{"class":205,"line":206},[51,1233,111],{"class":209},[51,1235,1236],{"class":213}," get",[51,1238,1239],{"class":213}," svc\n",[1241,1242],"br",{},"The output will be similar to:",[195,1245,1248],{"className":1246,"code":1247,"language":630,"meta":200},[628],"NAME                   CLUSTER-IP       EXTERNAL-IP   PORT(S)         AGE\ngitlab-ce              172.30.243.177   \u003Cnone>        22/TCP,80/TCP   5d\ngitlab-ce-postgresql   172.30.116.75    \u003Cnone>        5432/TCP        5d\ngitlab-ce-redis        172.30.105.88    \u003Cnone>        6379/TCP        5d\n",[109,1249,1247],{"__ignoreMap":200},[89,1251,1252,1253,1255,1256,1274,1276,1277,1280,1281,40],{},"We need to see the replication controllers of the ",[109,1254,989],{}," service.\nGet a detailed view of the current ones:",[195,1257,1259],{"className":197,"code":1258,"language":199,"meta":200,"style":200},"oc describe rc gitlab-ce\n",[109,1260,1261],{"__ignoreMap":200},[51,1262,1263,1265,1268,1271],{"class":205,"line":206},[51,1264,111],{"class":209},[51,1266,1267],{"class":213}," describe",[51,1269,1270],{"class":213}," rc",[51,1272,1273],{"class":213}," gitlab-ce\n",[1241,1275],{},"This will return a large detailed list of the current replication controllers.\nSearch for the name of the GitLab controller, usually ",[109,1278,1279],{},"gitlab-ce-1"," or if\nthat failed at some point and you spawned another one, it will be named\n",[109,1282,1283],{},"gitlab-ce-2",[89,1285,1286,1287],{},"Scale GitLab using the previous information:",[195,1288,1290],{"className":197,"code":1289,"language":199,"meta":200,"style":200},"oc scale --replicas=2 replicationcontrollers gitlab-ce-2\n",[109,1291,1292],{"__ignoreMap":200},[51,1293,1294,1296,1299,1302,1305],{"class":205,"line":206},[51,1295,111],{"class":209},[51,1297,1298],{"class":213}," scale",[51,1300,1301],{"class":701}," --replicas=2",[51,1303,1304],{"class":213}," replicationcontrollers",[51,1306,1307],{"class":213}," gitlab-ce-2\n",[89,1309,1310,1311,1326,1328,1329],{},"Get the new replicas number to make sure scaling worked:",[195,1312,1314],{"className":197,"code":1313,"language":199,"meta":200,"style":200},"oc get rc gitlab-ce-2\n",[109,1315,1316],{"__ignoreMap":200},[51,1317,1318,1320,1322,1324],{"class":205,"line":206},[51,1319,111],{"class":209},[51,1321,1236],{"class":213},[51,1323,1270],{"class":213},[51,1325,1307],{"class":213},[1241,1327],{},"which will return something like:",[195,1330,1333],{"className":1331,"code":1332,"language":630,"meta":200},[628],"NAME          DESIRED   CURRENT   AGE\ngitlab-ce-2   2         2         5d\n",[109,1334,1332],{"__ignoreMap":200},[15,1336,1337],{},"And that's it! We successfully scaled the replicas to 2 using the CLI.",[15,1339,1340],{},"As always, you can find the name of the controller using the web console. Just\nclick on the service you are interested in and you will see the details in the\nright sidebar.",[15,1342,1343],{},[264,1344],{"alt":1345,"src":1346},"Replication controller name","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398310/blog/Content%20Images/get-started-with-openshift-origin-3-and-gitlab/rc-name.png",[178,1348,1350],{"id":1349},"autoscaling-gitlab","Autoscaling GitLab",[15,1352,1353],{},"In case you were wondering whether there is an option to autoscale a pod based\non the resources of your server, the answer is yes, of course there is.",[15,1355,1356,1357,40],{},"We will not expand on this matter, but feel free to read the documentation on\nOpenShift's website about ",[51,1358,1359],{},"autoscaling",[67,1361,1363],{"id":1362},"current-limitations","Current limitations",[15,1365,1366,1367,1371],{},"As stated in the ",[19,1368,1370],{"href":80,"rel":1369,"title":82},[],"all-in-one VM"," page:",[12,1373,1374],{},[15,1375,1376],{},"By default, OpenShift will not allow a container to run as root or even a\nnon-random container assigned userid. Most Docker images in the Dockerhub do not\nfollow this best practice and instead run as root.",[15,1378,1379],{},"The all-in-one VM we are using has this security turned off so it will not\nbother us. In any case, it is something to keep in mind when deploying GitLab\non a production cluster.",[15,1381,1382,1383,1386],{},"In order to deploy GitLab on a production cluster, you will need to assign the\nGitLab service account  to the ",[109,1384,1385],{},"anyuid"," Security Context.",[189,1388,1389,1410,1428],{},[89,1390,1391,1392],{},"Edit the Security Context:",[195,1393,1395],{"className":197,"code":1394,"language":199,"meta":200,"style":200},"oc edit scc anyuid\n",[109,1396,1397],{"__ignoreMap":200},[51,1398,1399,1401,1404,1407],{"class":205,"line":206},[51,1400,111],{"class":209},[51,1402,1403],{"class":213}," edit",[51,1405,1406],{"class":213}," scc",[51,1408,1409],{"class":213}," anyuid\n",[89,1411,1412,1413,1416,1417,1420,1421,1424,1425],{},"Add ",[109,1414,1415],{},"system:serviceaccount:\u003Cproject>:gitlab-ce-user"," to the ",[109,1418,1419],{},"users"," section.\nIf you changed the Application Name from the default the user will\nwill be ",[109,1422,1423],{},"\u003Capp-name>-user"," instead of ",[109,1426,1427],{},"gitlab-ce-user",[89,1429,1430],{},"Save and exit the editor",[67,1432,1434],{"id":1433},"conclusion","Conclusion",[15,1436,1437],{},"By now, you should have an understanding of the basic OpenShift Origin concepts\nand a sense of how things work using the web console or the CLI.",[15,1439,1440],{},"GitLab was hard to install in previous versions of OpenShift,\nbut now that belongs to the past. Upload a template, create a project, add an\napplication and you are done. You are ready to login to your new GitLab instance.",[15,1442,1443,1444,1450],{},"And remember that in this tutorial we just scratched the surface of what Origin\nis capable of. As always, you can refer to the detailed\n",[19,1445,1449],{"href":1446,"rel":1447,"title":1448},"https://docs.openshift.org",[],"OpenShift documentation","documentation"," to learn more about deploying your own OpenShift\nPaaS and managing your applications with the ease of containers.",[1452,1453,1454],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}",{"title":200,"searchDepth":338,"depth":338,"links":1456},[1457,1458,1464,1469,1476,1477],{"id":69,"depth":338,"text":70},{"id":172,"depth":338,"text":173,"children":1459},[1460,1461,1462,1463],{"id":180,"depth":345,"text":181},{"id":244,"depth":345,"text":245},{"id":299,"depth":345,"text":300},{"id":614,"depth":345,"text":615},{"id":711,"depth":338,"text":712,"children":1465},[1466,1467,1468],{"id":718,"depth":345,"text":719},{"id":854,"depth":345,"text":855},{"id":941,"depth":345,"text":942},{"id":1047,"depth":338,"text":1048,"children":1470},[1471,1472,1473,1475],{"id":1054,"depth":345,"text":1055},{"id":1134,"depth":345,"text":1135},{"id":1180,"depth":345,"text":1474},"Scale GitLab using the oc CLI",{"id":1349,"depth":345,"text":1350},{"id":1362,"depth":338,"text":1363},{"id":1433,"depth":338,"text":1434},"engineering","2016-06-28","In this tutorial, we will see how to deploy GitLab in OpenShift using GitLab's official Docker image","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749666262/Blog/Hero%20Images/default-blog-image.png",{},"/en-us/blog/get-started-with-openshift-origin-3-and-gitlab",{"title":5,"description":1480,"ogTitle":5,"ogDescription":1480,"noIndex":1483,"ogImage":1484,"ogUrl":1488,"ogSiteName":1489,"ogType":1490,"canonicalUrls":1488},"https://about.gitlab.com/blog/get-started-with-openshift-origin-3-and-gitlab","https://about.gitlab.com","article","get-started-with-openshift-origin-3-and-gitlab","en-us/blog/get-started-with-openshift-origin-3-and-gitlab","BlogPost","pb5MN7BgS9lykZEf0wWUj_heC4rR7vvQGp8bHJjmKkQ",{"logo":1496,"freeTrial":1501,"sales":1506,"login":1511,"items":1516,"search":1843,"minimal":1874,"duo":1893,"switchNav":1902,"pricingDeployment":1913},{"config":1497},{"href":1498,"dataGaName":1499,"dataGaLocation":1500},"/","gitlab logo","header",{"text":1502,"config":1503},"Get free trial",{"href":1504,"dataGaName":1505,"dataGaLocation":1500},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":1507,"config":1508},"Request a demo",{"href":1509,"dataGaName":1510,"dataGaLocation":1500},"/sales/?contact-topic=request-demo","sales",{"text":1512,"config":1513},"Sign in",{"href":1514,"dataGaName":1515,"dataGaLocation":1500},"https://gitlab.com/users/sign_in/","sign in",[1517,1546,1646,1651,1765,1821],{"text":1518,"config":1519,"menu":1521},"Platform",{"dataNavLevelOne":1520},"platform",{"type":1522,"columns":1523},"cards",[1524,1530,1538],{"title":1518,"description":1525,"link":1526},"The intelligent orchestration platform for DevSecOps",{"text":1527,"config":1528},"Explore our Platform",{"href":1529,"dataGaName":1520,"dataGaLocation":1500},"/platform/",{"title":1531,"description":1532,"link":1533},"GitLab Duo Agent Platform","Agentic AI for the entire software lifecycle",{"text":1534,"config":1535},"Meet GitLab Duo",{"href":1536,"dataGaName":1537,"dataGaLocation":1500},"/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":1539,"description":1540,"link":1541},"Why GitLab","See the top reasons enterprises choose GitLab",{"text":1542,"config":1543},"Learn more",{"href":1544,"dataGaName":1545,"dataGaLocation":1500},"/why-gitlab/","why gitlab",{"text":1547,"left":341,"config":1548,"menu":1550},"Product",{"dataNavLevelOne":1549},"solutions",{"type":1551,"link":1552,"columns":1556,"feature":1625},"lists",{"text":1553,"config":1554},"View all Solutions",{"href":1555,"dataGaName":1549,"dataGaLocation":1500},"/solutions/",[1557,1581,1604],{"title":1558,"description":1559,"link":1560,"items":1565},"Automation","CI/CD and automation to accelerate deployment",{"config":1561},{"icon":1562,"href":1563,"dataGaName":1564,"dataGaLocation":1500},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[1566,1570,1573,1577],{"text":1567,"config":1568},"CI/CD",{"href":1569,"dataGaLocation":1500,"dataGaName":1567},"/solutions/continuous-integration/",{"text":1531,"config":1571},{"href":1536,"dataGaLocation":1500,"dataGaName":1572},"gitlab duo agent platform - product menu",{"text":1574,"config":1575},"Source Code Management",{"href":1576,"dataGaLocation":1500,"dataGaName":1574},"/solutions/source-code-management/",{"text":1578,"config":1579},"Automated Software Delivery",{"href":1563,"dataGaLocation":1500,"dataGaName":1580},"Automated software delivery",{"title":1582,"description":1583,"link":1584,"items":1589},"Security","Deliver code faster without compromising security",{"config":1585},{"href":1586,"dataGaName":1587,"dataGaLocation":1500,"icon":1588},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[1590,1594,1599],{"text":1591,"config":1592},"Application Security Testing",{"href":1586,"dataGaName":1593,"dataGaLocation":1500},"Application security testing",{"text":1595,"config":1596},"Software Supply Chain Security",{"href":1597,"dataGaLocation":1500,"dataGaName":1598},"/solutions/supply-chain/","Software supply chain security",{"text":1600,"config":1601},"Software Compliance",{"href":1602,"dataGaName":1603,"dataGaLocation":1500},"/solutions/software-compliance/","software compliance",{"title":1605,"link":1606,"items":1611},"Measurement",{"config":1607},{"icon":1608,"href":1609,"dataGaName":1610,"dataGaLocation":1500},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[1612,1616,1620],{"text":1613,"config":1614},"Visibility & Measurement",{"href":1609,"dataGaLocation":1500,"dataGaName":1615},"Visibility and Measurement",{"text":1617,"config":1618},"Value Stream Management",{"href":1619,"dataGaLocation":1500,"dataGaName":1617},"/solutions/value-stream-management/",{"text":1621,"config":1622},"Analytics & Insights",{"href":1623,"dataGaLocation":1500,"dataGaName":1624},"/solutions/analytics-and-insights/","Analytics and insights",{"title":1626,"type":1551,"items":1627},"GitLab for",[1628,1634,1640],{"text":1629,"config":1630},"Enterprise",{"icon":1631,"href":1632,"dataGaLocation":1500,"dataGaName":1633},"Building","/enterprise/","enterprise",{"text":1635,"config":1636},"Small Business",{"icon":1637,"href":1638,"dataGaLocation":1500,"dataGaName":1639},"Work","/small-business/","small business",{"text":1641,"config":1642},"Public Sector",{"icon":1643,"href":1644,"dataGaLocation":1500,"dataGaName":1645},"Organization","/solutions/public-sector/","public sector",{"text":1647,"config":1648},"Pricing",{"href":1649,"dataGaName":1650,"dataGaLocation":1500,"dataNavLevelOne":1650},"/pricing/","pricing",{"text":1652,"config":1653,"menu":1655},"Resources",{"dataNavLevelOne":1654},"resources",{"type":1551,"link":1656,"columns":1660,"feature":1754},{"text":1657,"config":1658},"View all resources",{"href":1659,"dataGaName":1654,"dataGaLocation":1500},"/resources/",[1661,1694,1721],{"title":1662,"items":1663},"Getting started",[1664,1669,1674,1679,1684,1689],{"text":1665,"config":1666},"Install",{"href":1667,"dataGaName":1668,"dataGaLocation":1500},"/install/","install",{"text":1670,"config":1671},"Quick start guides",{"href":1672,"dataGaName":1673,"dataGaLocation":1500},"/get-started/","quick setup checklists",{"text":1675,"config":1676},"Learn",{"href":1677,"dataGaLocation":1500,"dataGaName":1678},"https://university.gitlab.com/","learn",{"text":1680,"config":1681},"Product documentation",{"href":1682,"dataGaName":1683,"dataGaLocation":1500},"https://docs.gitlab.com/","product documentation",{"text":1685,"config":1686},"Best practice videos",{"href":1687,"dataGaName":1688,"dataGaLocation":1500},"/getting-started-videos/","best practice videos",{"text":1690,"config":1691},"Integrations",{"href":1692,"dataGaName":1693,"dataGaLocation":1500},"/integrations/","integrations",{"title":1695,"items":1696},"Discover",[1697,1702,1707,1712,1716],{"text":1698,"config":1699},"Customer success stories",{"href":1700,"dataGaName":1701,"dataGaLocation":1500},"/customers/","customer success stories",{"text":1703,"config":1704},"Blog",{"href":1705,"dataGaName":1706,"dataGaLocation":1500},"/blog/","blog",{"text":1708,"config":1709},"Demo Hub",{"href":1710,"dataGaName":1711,"dataGaLocation":1500},"/demo-hub/","demo hub",{"text":1713,"config":1714},"The Source",{"href":1715,"dataGaName":1706,"dataGaLocation":1500},"/the-source/",{"text":1717,"config":1718},"Remote",{"href":1719,"dataGaName":1720,"dataGaLocation":1500},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":1722,"items":1723},"Connect",[1724,1729,1734,1739,1744,1749],{"text":1725,"config":1726},"GitLab Services",{"href":1727,"dataGaName":1728,"dataGaLocation":1500},"/services/","services",{"text":1730,"config":1731},"Contribute",{"href":1732,"dataGaName":1733,"dataGaLocation":1500},"https://contributors.gitlab.com","contribute",{"text":1735,"config":1736},"Community",{"href":1737,"dataGaName":1738,"dataGaLocation":1500},"/community/","community",{"text":1740,"config":1741},"Forum",{"href":1742,"dataGaName":1743,"dataGaLocation":1500},"https://forum.gitlab.com/","forum",{"text":1745,"config":1746},"Events",{"href":1747,"dataGaName":1748,"dataGaLocation":1500},"/events/","events",{"text":1750,"config":1751},"Partners",{"href":1752,"dataGaName":1753,"dataGaLocation":1500},"/partners/","partners",{"config":1755,"title":1758,"text":1759,"link":1760},{"background":1756,"textColor":1757},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1777322348/qpq8yrgn8knii57omj0c.png')","#000","What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":1761,"config":1762},"Read the latest",{"href":1763,"dataGaName":1764,"dataGaLocation":1500},"/whats-new/","whats new",{"text":1766,"config":1767,"menu":1769},"Company",{"dataNavLevelOne":1768},"company",{"type":1551,"columns":1770},[1771],{"items":1772},[1773,1778,1784,1786,1791,1796,1801,1806,1811,1816],{"text":1774,"config":1775},"About",{"href":1776,"dataGaName":1777,"dataGaLocation":1500},"/company/","about",{"text":1779,"config":1780,"footerGa":1783},"Jobs",{"href":1781,"dataGaName":1782,"dataGaLocation":1500},"/jobs/","jobs",{"dataGaName":1782},{"text":1745,"config":1785},{"href":1747,"dataGaName":1748,"dataGaLocation":1500},{"text":1787,"config":1788},"Leadership",{"href":1789,"dataGaName":1790,"dataGaLocation":1500},"/company/team/e-group/","leadership",{"text":1792,"config":1793},"Handbook",{"href":1794,"dataGaName":1795,"dataGaLocation":1500},"https://handbook.gitlab.com/","handbook",{"text":1797,"config":1798},"Investor relations",{"href":1799,"dataGaName":1800,"dataGaLocation":1500},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":1802,"config":1803},"Trust Center",{"href":1804,"dataGaName":1805,"dataGaLocation":1500},"/security/","trust center",{"text":1807,"config":1808},"AI Transparency Center",{"href":1809,"dataGaName":1810,"dataGaLocation":1500},"/ai-transparency-center/","ai transparency center",{"text":1812,"config":1813},"Newsletter",{"href":1814,"dataGaName":1815,"dataGaLocation":1500},"/company/contact/#contact-forms","newsletter",{"text":1817,"config":1818},"Press",{"href":1819,"dataGaName":1820,"dataGaLocation":1500},"/press/","press",{"text":1822,"config":1823,"menu":1824},"Contact us",{"dataNavLevelOne":1768},{"type":1551,"columns":1825},[1826],{"items":1827},[1828,1833,1838],{"text":1829,"config":1830},"Talk to sales",{"href":1831,"dataGaName":1832,"dataGaLocation":1500},"/sales/","talk to sales",{"text":1834,"config":1835},"Support portal",{"href":1836,"dataGaName":1837,"dataGaLocation":1500},"https://support.gitlab.com/hc/en-us","support portal",{"text":1839,"config":1840},"Customer portal",{"href":1841,"dataGaName":1842,"dataGaLocation":1500},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1844,"login":1845,"suggestions":1852},"Close",{"text":1846,"link":1847},"To search repositories and projects, login to",{"text":1848,"config":1849},"gitlab.com",{"href":1514,"dataGaName":1850,"dataGaLocation":1851},"search login","search",{"text":1853,"default":1854},"Suggestions",[1855,1857,1861,1863,1867,1871],{"text":1531,"config":1856},{"href":1536,"dataGaName":1531,"dataGaLocation":1851},{"text":1858,"config":1859},"Code Suggestions (AI)",{"href":1860,"dataGaName":1858,"dataGaLocation":1851},"/solutions/code-suggestions/",{"text":1567,"config":1862},{"href":1569,"dataGaName":1567,"dataGaLocation":1851},{"text":1864,"config":1865},"GitLab on AWS",{"href":1866,"dataGaName":1864,"dataGaLocation":1851},"/partners/technology-partners/aws/",{"text":1868,"config":1869},"GitLab on Google Cloud",{"href":1870,"dataGaName":1868,"dataGaLocation":1851},"/partners/technology-partners/google-cloud-platform/",{"text":1872,"config":1873},"Why GitLab?",{"href":1544,"dataGaName":1872,"dataGaLocation":1851},{"freeTrial":1875,"mobileIcon":1880,"desktopIcon":1885,"secondaryButton":1888},{"text":1876,"config":1877},"Start free trial",{"href":1878,"dataGaName":1505,"dataGaLocation":1879},"https://gitlab.com/-/trials/new/","nav",{"altText":1881,"config":1882},"Gitlab Icon",{"src":1883,"dataGaName":1884,"dataGaLocation":1879},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1881,"config":1886},{"src":1887,"dataGaName":1884,"dataGaLocation":1879},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1889,"config":1890},"Get Started",{"href":1891,"dataGaName":1892,"dataGaLocation":1879},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1894,"mobileIcon":1898,"desktopIcon":1900},{"text":1895,"config":1896},"Learn more about GitLab Duo",{"href":1536,"dataGaName":1897,"dataGaLocation":1879},"gitlab duo",{"altText":1881,"config":1899},{"src":1883,"dataGaName":1884,"dataGaLocation":1879},{"altText":1881,"config":1901},{"src":1887,"dataGaName":1884,"dataGaLocation":1879},{"button":1903,"mobileIcon":1908,"desktopIcon":1910},{"text":1904,"config":1905},"/switch",{"href":1906,"dataGaName":1907,"dataGaLocation":1879},"#contact","switch",{"altText":1881,"config":1909},{"src":1883,"dataGaName":1884,"dataGaLocation":1879},{"altText":1881,"config":1911},{"src":1912,"dataGaName":1884,"dataGaLocation":1879},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1914,"mobileIcon":1919,"desktopIcon":1921},{"text":1915,"config":1916},"Back to pricing",{"href":1649,"dataGaName":1917,"dataGaLocation":1879,"icon":1918},"back to pricing","GoBack",{"altText":1881,"config":1920},{"src":1883,"dataGaName":1884,"dataGaLocation":1879},{"altText":1881,"config":1922},{"src":1887,"dataGaName":1884,"dataGaLocation":1879},{"title":1924,"titleMobile":1925,"button":1926,"config":1931},"Duo Agent Platform delivers 400% ROI, per new Forrester Consulting study.","400% ROI: Forrester TEI for GitLab Duo",{"text":1542,"config":1927},{"href":1928,"dataGaName":1929,"dataGaLocation":1930},"https://about.gitlab.com/blog/gitlab-duo-agent-platform-delivers-400-percent-roi/","forrester-tei-dap-banner","global-banner",{"layout":1932,"disabled":1483},"release",{"data":1934},{"text":1935,"source":1936,"edit":1942,"contribute":1947,"config":1952,"items":1957,"minimal":2167},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":1937,"config":1938},"View page source",{"href":1939,"dataGaName":1940,"dataGaLocation":1941},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":1943,"config":1944},"Edit this page",{"href":1945,"dataGaName":1946,"dataGaLocation":1941},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":1948,"config":1949},"Please contribute",{"href":1950,"dataGaName":1951,"dataGaLocation":1941},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":1953,"facebook":1954,"youtube":1955,"linkedin":1956},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1958,2005,2059,2103,2135],{"title":1647,"links":1959,"subMenu":1974},[1960,1964,1969],{"text":1961,"config":1962},"View plans",{"href":1649,"dataGaName":1963,"dataGaLocation":1941},"view plans",{"text":1965,"config":1966},"Why Premium?",{"href":1967,"dataGaName":1968,"dataGaLocation":1941},"/pricing/premium/","why premium",{"text":1970,"config":1971},"Why Ultimate?",{"href":1972,"dataGaName":1973,"dataGaLocation":1941},"/pricing/ultimate/","why ultimate",[1975],{"title":1976,"links":1977},"Contact Us",[1978,1981,1983,1985,1990,1995,2000],{"text":1979,"config":1980},"Contact sales",{"href":1831,"dataGaName":1510,"dataGaLocation":1941},{"text":1834,"config":1982},{"href":1836,"dataGaName":1837,"dataGaLocation":1941},{"text":1839,"config":1984},{"href":1841,"dataGaName":1842,"dataGaLocation":1941},{"text":1986,"config":1987},"Status",{"href":1988,"dataGaName":1989,"dataGaLocation":1941},"https://status.gitlab.com/","status",{"text":1991,"config":1992},"Terms of use",{"href":1993,"dataGaName":1994,"dataGaLocation":1941},"/terms/","terms of use",{"text":1996,"config":1997},"Privacy statement",{"href":1998,"dataGaName":1999,"dataGaLocation":1941},"/privacy/","privacy statement",{"text":2001,"config":2002},"Cookie preferences",{"dataGaName":2003,"dataGaLocation":1941,"id":2004,"isOneTrustButton":341},"cookie preferences","ot-sdk-btn",{"title":1547,"links":2006,"subMenu":2015},[2007,2011],{"text":2008,"config":2009},"DevSecOps platform",{"href":1529,"dataGaName":2010,"dataGaLocation":1941},"devsecops platform",{"text":2012,"config":2013},"AI-Assisted Development",{"href":1536,"dataGaName":2014,"dataGaLocation":1941},"ai-assisted development",[2016],{"title":2017,"links":2018},"Topics",[2019,2024,2029,2034,2039,2044,2049,2054],{"text":2020,"config":2021},"CICD",{"href":2022,"dataGaName":2023,"dataGaLocation":1941},"/topics/ci-cd/","cicd",{"text":2025,"config":2026},"GitOps",{"href":2027,"dataGaName":2028,"dataGaLocation":1941},"/topics/gitops/","gitops",{"text":2030,"config":2031},"DevOps",{"href":2032,"dataGaName":2033,"dataGaLocation":1941},"/topics/devops/","devops",{"text":2035,"config":2036},"Version Control",{"href":2037,"dataGaName":2038,"dataGaLocation":1941},"/topics/version-control/","version control",{"text":2040,"config":2041},"DevSecOps",{"href":2042,"dataGaName":2043,"dataGaLocation":1941},"/topics/devsecops/","devsecops",{"text":2045,"config":2046},"Cloud Native",{"href":2047,"dataGaName":2048,"dataGaLocation":1941},"/topics/cloud-native/","cloud native",{"text":2050,"config":2051},"AI for Coding",{"href":2052,"dataGaName":2053,"dataGaLocation":1941},"/topics/devops/ai-for-coding/","ai for coding",{"text":2055,"config":2056},"Agentic AI",{"href":2057,"dataGaName":2058,"dataGaLocation":1941},"/topics/agentic-ai/","agentic ai",{"title":2060,"links":2061},"Solutions",[2062,2064,2066,2071,2075,2078,2082,2085,2087,2090,2093,2098],{"text":1591,"config":2063},{"href":1586,"dataGaName":1591,"dataGaLocation":1941},{"text":1580,"config":2065},{"href":1563,"dataGaName":1564,"dataGaLocation":1941},{"text":2067,"config":2068},"Agile development",{"href":2069,"dataGaName":2070,"dataGaLocation":1941},"/solutions/agile-delivery/","agile delivery",{"text":2072,"config":2073},"SCM",{"href":1576,"dataGaName":2074,"dataGaLocation":1941},"source code management",{"text":2020,"config":2076},{"href":1569,"dataGaName":2077,"dataGaLocation":1941},"continuous integration & delivery",{"text":2079,"config":2080},"Value stream management",{"href":1619,"dataGaName":2081,"dataGaLocation":1941},"value stream management",{"text":2025,"config":2083},{"href":2084,"dataGaName":2028,"dataGaLocation":1941},"/solutions/gitops/",{"text":1629,"config":2086},{"href":1632,"dataGaName":1633,"dataGaLocation":1941},{"text":2088,"config":2089},"Small business",{"href":1638,"dataGaName":1639,"dataGaLocation":1941},{"text":2091,"config":2092},"Public sector",{"href":1644,"dataGaName":1645,"dataGaLocation":1941},{"text":2094,"config":2095},"Education",{"href":2096,"dataGaName":2097,"dataGaLocation":1941},"/solutions/education/","education",{"text":2099,"config":2100},"Financial services",{"href":2101,"dataGaName":2102,"dataGaLocation":1941},"/solutions/finance/","financial services",{"title":1652,"links":2104},[2105,2107,2109,2111,2114,2116,2119,2121,2123,2125,2127,2129,2131,2133],{"text":1665,"config":2106},{"href":1667,"dataGaName":1668,"dataGaLocation":1941},{"text":1670,"config":2108},{"href":1672,"dataGaName":1673,"dataGaLocation":1941},{"text":1675,"config":2110},{"href":1677,"dataGaName":1678,"dataGaLocation":1941},{"text":1680,"config":2112},{"href":1682,"dataGaName":2113,"dataGaLocation":1941},"docs",{"text":1703,"config":2115},{"href":1705,"dataGaName":1706,"dataGaLocation":1941},{"text":2117,"config":2118},"What's new",{"href":1763,"dataGaName":1764,"dataGaLocation":1941},{"text":1698,"config":2120},{"href":1700,"dataGaName":1701,"dataGaLocation":1941},{"text":1717,"config":2122},{"href":1719,"dataGaName":1720,"dataGaLocation":1941},{"text":1725,"config":2124},{"href":1727,"dataGaName":1728,"dataGaLocation":1941},{"text":1730,"config":2126},{"href":1732,"dataGaName":1733,"dataGaLocation":1941},{"text":1735,"config":2128},{"href":1737,"dataGaName":1738,"dataGaLocation":1941},{"text":1740,"config":2130},{"href":1742,"dataGaName":1743,"dataGaLocation":1941},{"text":1745,"config":2132},{"href":1747,"dataGaName":1748,"dataGaLocation":1941},{"text":1750,"config":2134},{"href":1752,"dataGaName":1753,"dataGaLocation":1941},{"title":1766,"links":2136},[2137,2139,2141,2143,2145,2147,2151,2156,2158,2160,2162],{"text":1774,"config":2138},{"href":1776,"dataGaName":1768,"dataGaLocation":1941},{"text":1779,"config":2140},{"href":1781,"dataGaName":1782,"dataGaLocation":1941},{"text":1787,"config":2142},{"href":1789,"dataGaName":1790,"dataGaLocation":1941},{"text":1792,"config":2144},{"href":1794,"dataGaName":1795,"dataGaLocation":1941},{"text":1797,"config":2146},{"href":1799,"dataGaName":1800,"dataGaLocation":1941},{"text":2148,"config":2149},"Sustainability",{"href":2150,"dataGaName":2148,"dataGaLocation":1941},"/sustainability/",{"text":2152,"config":2153},"Diversity, inclusion and belonging (DIB)",{"href":2154,"dataGaName":2155,"dataGaLocation":1941},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1802,"config":2157},{"href":1804,"dataGaName":1805,"dataGaLocation":1941},{"text":1812,"config":2159},{"href":1814,"dataGaName":1815,"dataGaLocation":1941},{"text":1817,"config":2161},{"href":1819,"dataGaName":1820,"dataGaLocation":1941},{"text":2163,"config":2164},"Modern Slavery Transparency Statement",{"href":2165,"dataGaName":2166,"dataGaLocation":1941},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2168},[2169,2172,2175],{"text":2170,"config":2171},"Terms",{"href":1993,"dataGaName":1994,"dataGaLocation":1941},{"text":2173,"config":2174},"Cookies",{"dataGaName":2003,"dataGaLocation":1941,"id":2004,"isOneTrustButton":341},{"text":2176,"config":2177},"Privacy",{"href":1998,"dataGaName":1999,"dataGaLocation":1941},[2179],{"id":2180,"title":7,"body":1482,"config":2181,"content":2183,"description":1482,"extension":2187,"meta":2188,"navigation":341,"path":2189,"seo":2190,"stem":2191,"__hash__":2192},"blogAuthors/en-us/blog/authors/achilleas-pipinellis.yml",{"template":2182},"BlogAuthor",{"name":7,"config":2184},{"headshot":2185,"ctfId":2186},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749671703/Blog/Author%20Headshots/axil-headshot.jpg","Achilleas-Pipinellis","yml",{},"/en-us/blog/authors/achilleas-pipinellis",{},"en-us/blog/authors/achilleas-pipinellis","vSsnKACisBQ6cIWVfVkuQ4WeAp0ylxXfqK5oJMhxEEg",[2194,2203,2211],{"title":2195,"description":2196,"heroImage":2197,"category":1478,"date":2198,"authors":2199,"slug":2202,"externalUrl":1482},"Confidential AI for GitLab Self-Hosted","Give developers AI coding agents in GitLab Duo without source code leaving a hardware-encrypted boundary — no GPUs needed.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1773866173/vte9qh8rriznvyclhkes.png","2026-08-06",[2200,2201],"Mathias Ewald","Martin Paloncy, Edgeless Systems","confidential-ai-for-gitlab-self-hosted",{"title":2204,"description":2205,"heroImage":2206,"category":1478,"date":2207,"authors":2208,"slug":2210,"externalUrl":1482},"Green DevOps: Why carbon measurement belongs in your CI/CD pipeline","CI/CD pipelines have a hidden carbon cost. Here's why measuring it matters, and how you can get started with Eco CI and Carmen in GitLab.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1765809212/noh0mdfn9o94ry9ykura.png","2026-07-09",[2209],"Lysanne Pinto","green-devops-carbon-measurement-cicd-pipeline",{"title":2212,"description":2213,"heroImage":2214,"category":1478,"date":2215,"authors":2216,"slug":2218,"externalUrl":1482},"How to build CI/CD observability at scale","This practical guide to GitLab pipeline analytics helps self-managed users gain operational insights using Prometheus and Grafana.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-04-28",[2217],"Paul Meresanu","how-to-build-ci-cd-observability-at-scale",{"promotions":2220},[2221,2235,2247,2259],{"id":2222,"categories":2223,"header":2225,"text":2226,"button":2227,"image":2232},"ai-modernization",[2224],"ai","Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":2228,"config":2229},"Get your AI maturity score",{"href":2230,"dataGaName":2231,"dataGaLocation":1706},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":2233},{"src":2234},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":2236,"categories":2237,"header":2239,"text":2226,"button":2240,"image":2244},"devops-modernization",[2238,2043],"product","Are you just managing tools or shipping innovation?",{"text":2241,"config":2242},"Get your DevOps maturity score",{"href":2243,"dataGaName":2231,"dataGaLocation":1706},"/assessments/devops-modernization-assessment/",{"config":2245},{"src":2246},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":2248,"categories":2249,"header":2251,"text":2226,"button":2252,"image":2256},"security-modernization",[2250],"security","Are you trading speed for security?",{"text":2253,"config":2254},"Get your security maturity score",{"href":2255,"dataGaName":2231,"dataGaLocation":1706},"/assessments/security-modernization-assessment/",{"config":2257},{"src":2258},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":2260,"paths":2261,"header":2264,"text":2265,"button":2266,"image":2271},"github-azure-migration",[2262,2263],"migration-from-azure-devops-to-gitlab","integrating-azure-devops-scm-and-gitlab","Is your team ready for GitHub's Azure move?","GitHub is already rebuilding around Azure. Find out what it means for you.",{"text":2267,"config":2268},"See how GitLab compares to GitHub",{"href":2269,"dataGaName":2270,"dataGaLocation":1706},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":2272},{"src":2246},{"header":2274,"blurb":2275,"button":2276,"secondaryButton":2281},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":2277,"config":2278},"Get your free trial",{"href":2279,"dataGaName":1505,"dataGaLocation":2280},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1979,"config":2282},{"href":1831,"dataGaName":1510,"dataGaLocation":2280},1786803747337]