Hi folks,
I am trying to install GitLab Community Edition in a K3S simple cluster, which contains only a k3s server without any others agents. In that Cluster I have installed CoreDNS and MetricServer. I just create a new yaml file in order to install the Helm Chart into my K3S cluster which looks like this:
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: gitlab
namespace: kube-system
spec:
chart: gitlab
repo: https://charts.gitlab.io/
targetNamespace: kube-system
version: v6.2.2
set:
valuesContent: |-
global:
edition: ce
hosts:
domain: domain.io
https: true
externalIP: MY_EXTERNAL_IP
ssh: ~
gitlab:
name: git.domain.io
https: true
registry:
name: registry.domain.io
https: true
minio:
name: storage.domain.io
https: true
minio:
enabled: true
ingress:
configureCertmanager: false
class: "nginx"
enabled: true
tls:
enabled: true
certmanager:
install: false
nginx-ingress:
enabled: true
prometheus:
install: false
redis:
install: true
postgresql:
install: true
gitlab-runner:
install: false
registry:
enable: true
And when K3S runs the helm config I got:
"Event occurred" object="kube-system/gitlab-sidekiq-all-in-1-v2" fieldPath="" kind="HorizontalPodAutoscaler" apiVersion="autoscaling/v2" type="Warning" reason="FailedComputeMetricsReplicas" message="invalid metrics (1 invalid out of 1), first error is: failed to get cpu utilization: unable to get metrics for resource cpu: no metrics returned from resource metrics API"
and the status of the pods are:
kube-system local-path-provisioner-7b7dc8d6f5-vcvtj 1/1 Running 0 170m
kube-system coredns-b96499967-69ws2 1/1 Running 0 170m
kube-system metrics-server-668d979685-gmfgc 1/1 Running 0 170m
kube-system helm-install-gitlab-qqhkp 0/1 Completed 0 170m
kube-system gitlab-nginx-ingress-defaultbackend-576f497646-6jlz5 1/1 Running 0 168m
kube-system svclb-gitlab-nginx-ingress-controller-81016b60-t2mrf 3/3 Running 0 168m
kube-system gitlab-minio-74dfc6b6c7-fxdjf 1/1 Running 0 168m
kube-system gitlab-minio-create-buckets-1-gnc4s 0/1 Completed 0 168m
kube-system gitlab-kas-7c86f6fc4b-wsskd 1/1 Running 0 168m
kube-system gitlab-kas-7c86f6fc4b-29gxx 1/1 Running 0 168m
kube-system gitlab-registry-b4c6f7dff-64mmh 1/1 Running 0 168m
kube-system gitlab-registry-b4c6f7dff-g4sdd 1/1 Running 0 168m
kube-system gitlab-gitlab-exporter-688b496459-kt9m6 1/1 Running 0 168m
kube-system gitlab-migrations-1-vsz6n 0/1 Error 0 168m
kube-system gitlab-nginx-ingress-controller-859645d798-lt2vf 0/1 Completed 0 168m
kube-system gitlab-nginx-ingress-controller-859645d798-tswmk 0/1 Completed 0 168m
kube-system gitlab-webservice-default-c7f7f848-tpmxl 0/2 Init:Error 1 (163m ago) 168m
kube-system gitlab-webservice-default-c7f7f848-j9p54 0/2 Init:Error 1 (163m ago) 168m
kube-system gitlab-gitlab-shell-87ccff5bd-qm9wf 0/1 Completed 0 168m
kube-system gitlab-gitlab-shell-87ccff5bd-lgq9r 0/1 Completed 0 168m
kube-system gitlab-toolbox-c6b8555d4-6c7j8 0/1 Error 0 168m
kube-system gitlab-sidekiq-all-in-1-v2-84c98d697b-smhtc 0/1 Init:Error 1 (163m ago) 168m
kube-system gitlab-redis-master-0 2/2 Running 0 163m
kube-system gitlab-postgresql-0 2/2 Running 0 163m
kube-system gitlab-nginx-ingress-controller-859645d798-vkvw2 1/1 Running 0 162m
kube-system gitlab-nginx-ingress-controller-859645d798-t6xgh 1/1 Running 0 162m
kube-system gitlab-gitlab-shell-87ccff5bd-6t9f6 1/1 Running 0 162m
kube-system gitlab-gitlab-shell-87ccff5bd-8pz86 1/1 Running 0 162m
kube-system gitlab-toolbox-c6b8555d4-8ss7l 1/1 Running 0 161m
kube-system gitlab-gitaly-0 0/1 Running 31 (52s ago) 163m
kube-system gitlab-sidekiq-all-in-1-v2-84c98d697b-mvpp2 0/1 Init:2/3 22 (13m ago) 161m
kube-system gitlab-webservice-default-c7f7f848-mv8vn 0/2 Init:2/3 22 (13m ago) 162m
kube-system gitlab-webservice-default-c7f7f848-dprjx 0/2 Init:Error 22 (13m ago) 162m
Anyone have any idea why?