Gitlab

Create Namespace

kubectl create ns gitlab-system

Get YAML

mkdir gitlab;cd gitlab

確認首次登入 root 密碼

kubectl exec -n gitlab-system -it gitlab-0 -- grep 'Password:' /etc/gitlab/initial_root_password

GitLab Runner

helm repo add gitlab https://charts.gitlab.io
helm repo update

helm search repo -l gitlab/gitlab-runner

TOKEN=glrt-yWvR19CrgvgUGQF7Z2sa
helm install --namespace gitlab-system gitlab-runner --token $TOKEN gitlab/gitlab-runner

Last updated