自建 gitlab 版本:v16.3.2-ce
自建 gitlab helm 版本:v16.3.2-ce
数据迁移后,helm gitlab runner 无法正常运行
^C[root@k8s-control-plane-1 ~]# kubectl -n gitlab-helm get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
gitlab-helm-certmanager-5c99bff97-hfqz5 1/1 Running 2 (4h21m ago) 46h 192.168.140.91 k8s-node-2 <none> <none>
gitlab-helm-certmanager-cainjector-798ff77b94-ct26r 1/1 Running 5 (4h21m ago) 46h 192.168.140.110 k8s-node-2 <none> <none>
gitlab-helm-certmanager-webhook-6d6ff6ffc8-zrqfw 1/1 Running 6 (132m ago) 46h 192.168.140.99 k8s-node-2 <none> <none>
gitlab-helm-gitaly-0 1/1 Running 5 (131m ago) 46h 192.168.109.111 k8s-node-1 <none> <none>
gitlab-helm-gitlab-exporter-649fbb6796-9q4zs 1/1 Running 2 (4h21m ago) 46h 192.168.76.138 k8s-node-3 <none> <none>
gitlab-helm-gitlab-pages-66b6647c6f-v2bsp 1/1 Running 0 2m38s 192.168.55.157 k8s-node-4 <none> <none>
gitlab-helm-gitlab-runner-5cf7794b9c-972vb 0/1 CrashLoopBackOff 18 (4m ago) 119m 192.168.86.190 k8s-node-5 <none> <none>
gitlab-helm-gitlab-shell-b9b686856-c7xzc 1/1 Running 4 (4h21m ago) 46h 192.168.140.107 k8s-node-2 <none> <none>
gitlab-helm-gitlab-shell-b9b686856-f4jdg 1/1 Running 4 (132m ago) 46h 192.168.76.145 k8s-node-3 <none> <none>
gitlab-helm-kas-569bf6bd55-5xf2s 1/1 Running 0 124m 192.168.86.188 k8s-node-5 <none> <none>
gitlab-helm-kas-569bf6bd55-96v7c 1/1 Running 0 123m 192.168.55.148 k8s-node-4 <none> <none>
gitlab-helm-migrations-6-lg5ln 0/1 Completed 0 2m37s 192.168.140.101 k8s-node-2 <none> <none>
gitlab-helm-minio-76db4fb886-gnkjn 1/1 Running 4 (132m ago) 46h 192.168.109.91 k8s-node-1 <none> <none>
gitlab-helm-minio-create-buckets-6-sx59g 0/1 Completed 0 2m37s 192.168.140.122 k8s-node-2 <none> <none>
gitlab-helm-nginx-ingress-controller-d89fd7587-8wsjk 1/1 Running 5 (133m ago) 46h 192.168.76.144 k8s-node-3 <none> <none>
gitlab-helm-nginx-ingress-controller-d89fd7587-8zb9f 1/1 Running 4 (136m ago) 46h 192.168.140.100 k8s-node-2 <none> <none>
gitlab-helm-postgresql-0 2/2 Running 6 (131m ago) 46h 192.168.109.114 k8s-node-1 <none> <none>
gitlab-helm-prometheus-server-846d5754cc-zbz55 2/2 Running 4 (4h21m ago) 24h 192.168.109.93 k8s-node-1 <none> <none>
gitlab-helm-redis-master-0 2/2 Running 4 (4h21m ago) 46h 192.168.109.84 k8s-node-1 <none> <none>
gitlab-helm-registry-865d8b8b75-2hl9x 1/1 Running 4 (4h21m ago) 46h 192.168.140.97 k8s-node-2 <none> <none>
gitlab-helm-registry-865d8b8b75-qjqjf 1/1 Running 3 (4h21m ago) 46h 192.168.76.129 k8s-node-3 <none> <none>
gitlab-helm-sidekiq-all-in-1-v2-7576f85ffb-95zg8 1/1 Running 0 2m38s 192.168.55.153 k8s-node-4 <none> <none>
gitlab-helm-toolbox-7fbd9cf79d-kbvwh 1/1 Running 0 2m7s 192.168.140.75 k8s-node-2 <none> <none>
gitlab-helm-webservice-default-6bb74cfd6c-2qkhw 2/2 Running 0 83s 192.168.55.152 k8s-node-4 <none> <none>
gitlab-helm-webservice-default-6bb74cfd6c-gzlg2 2/2 Running 0 2m38s 192.168.86.187 k8s-node-5 <none> <none>
[root@k8s-control-plane-1 ~]# kubectl -n gitlab-helm logs -f gitlab-helm-gitlab-runner-5cf7794b9c-972vb
Registration attempt 1 of 30
Runtime platform arch=amd64 os=linux pid=16 revision=782e15da version=16.2.0
WARNING: Running in user-mode.
WARNING: The user-mode requires you to manually start builds processing:
WARNING: $ gitlab-runner run
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner...
Merging configuration from template file "/configmaps/config.template.toml"
WARNING: Support for registration tokens and runner parameters in the 'register' command has been deprecated in GitLab Runner 15.6 and will be replaced with support for authentication tokens. For more information, see https://gitlab.com/gitlab-org/gitlab/-/issues/380872
ERROR: Registering runner... forbidden (check registration token) runner=PZ8mp5dI
PANIC: Failed to register the runner.