Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- docker
- 웹 취약점
- CD
- Kubernetes
- Service Mesh
- Jenkins
- eks
- 웹 해킹
- 모의해킹
- DevOps
- GitLab
- sonarqube
- Crawling
- opentelemetry
- ECR
- gitlab ci
- gitlab cd
- linkerd
- deploy
- Resource
- Prometheus
- 크롤링
- Monitoring
- scraping
- 스크레이핑
- Grafana
- argocd
- CI/CD
- CI
- helm
Archives
- Today
- Total
ㅡ.ㅡ
[Gitlab] Gitlab Runner 연동 본문
CI/CD 진행 시 해당 Runner를 통해 작업을 지시한다.
helm gitlab-runner 설치
helm repo add gitlab https://charts.gitlab.io
helm pull gitlab/gitlab-runner
tar -xvzf gitlab-runner.tgz
values.yaml파일 수정
40 gitlabUrl: 주소
41
42 ## The Registration Token for adding new Runners to the GitLab Server. This must
43 ## be retrieved from your GitLab Instance.
44 ## ref: https://docs.gitlab.com/ce/ci/runners/README.html
45 ##
46 runnerRegistrationToken: "토큰 값"
47
~
109 ## For RBAC support:
110 rbac:
111 create: true
~
207 ## Specify the tags associated with the runner. Comma-separated list of tags.
208 ##
209 ## ref: https://docs.gitlab.com/ce/ci/runners/#use-tags-to-limit-the-number-of-jobs-using-the-runner
210 ##
211 tags: "태그"
212
213 ## Specify the name for the runner.
214 ##
215 name: "이름"
~
232 ## Run all containers with the privileged flag enabled
233 ## This will allow the docker:dind image to run if you need to run Docker
234 ## commands. Please read the docs before turning this on:
235 ## ref: https://docs.gitlab.com/runner/executors/kubernetes.html#using-dockerdind
236 ##
237 ## DEPRECATED: See https://docs.gitlab.com/runner/install/kubernetes.html#additional-configuration
238 privileged: true
설치(values.yaml이 포함된 경로에서) 및 확인
kubectl create ns gitlab
helm upgrade --install gitlab-runner ./ -f ./values.yaml -n gitlab-
helm ls -n gitlab
'WorkFlow' 카테고리의 다른 글
[Gitlab] CD/Kubectl (0) | 2021.09.25 |
---|---|
[Gitlab] CI/ECR (3) | 2021.09.20 |
[Gitlab] CI/GitLab Container Registry (0) | 2021.09.20 |
[Gitlab] Gitlab - K8S 연동 (0) | 2021.09.19 |
[Gitlab] Gitlab (0) | 2021.09.18 |