Get the App
SLTechnology News&Howtos  ›  Servers  › 

Install kubernetes gitlab runner

Shulou Source: shulou.com Published: 2022-06-03 02:59:32 10月03日 Update

Install kubernetes gitlab runner to add helm warehouse helm repo add gitlab https://charts.gitlab.iohelm repo update pull helm chart package helm fetch gitlab/gitlab-runner extract helm chart package tar xf gitlab-runner-0.11.0.tgz modify value.yaml# gitlab address gitlabUrl: https://git.xxx.com/# gitlab runner token. Check runnerRegistrationToken in admin--runners: "Qxr8WHByt4Q6ekknP_tL" # access the secret of S3, and use certsSecretName: s3accessrbac: # enable rbac permissions when doing cache create: true # use docker in the container You need to enable privileged mode privileged: true # cache related configuration cache: # cache type cacheType: S3 cachePath: "export" cacheShared: true # # S3 settings # S3 stored address s3ServerAddress: minio.minio:9000 # cached directory Create s3BucketName: runner s3BucketLocation: s3CacheInsecure: true secretName: s3access in the minio root directory, create namespacekubectl create namespace runner, create S3 secretkubectl create secret generic s3access-- from-literal=accesskey= "minio"-- from-literal=secretkey= "minio123"-- n runner create runnerhelm-n runner install runner. / gitlab-runner (the actual path of helm chart) reference:

Https://docs.gitlab.com/runner/install/kubernetes.html

Https://www.cnblogs.com/heweiblog/p/11792839.html

Tags: Address warehouse actual container permission root directory pattern privilege directory type cache path reference storage configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Information OPPO Reno Microsoft MySQL