Install GitLab on OKD 3.11 stuck
Summary
I am following the official documentation to install GitLab on OKD using Hem, but it stuck without error message
Steps to reproduce
modify the permission of PV
cd /var/openshift
chown -R a+rxw *
Add anyuid scc to gitlab default user
# oc project gitlab
Now using project "gitlab" on server "https://console:8443".
# oc adm policy add-scc-to-group anyuid default
scc "anyuid" added to groups: ["default"]
Create the service account and rolebinding for RBAC and install Tiller:
# kubectl create -f https://gitlab.com/charts/gitlab/raw/master/doc/installation/examples/rbac-config.yaml
serviceaccount/tiller created
clusterrolebinding.rbac.authorization.k8s.io/tiller created
Add repo gitlab
./helm repo add gitlab https://charts.gitlab.io/
./helm repo update
install tiller
oc process -f https://github.com/openshift/origin/raw/master/examples/helm/tiller-template.yaml -p TILLER_NAMESPACE="${TILLER_NAMESPACE}" -p HELM_VERSION=v2.14.0 | oc create -f -
oc rollout status deployment tiller
OpenShift version
[root@console linux-amd64]# oc version
oc v3.11.0+62803d0-1
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://console:8443
openshift v3.11.0+e88d6e9-205
kubernetes v1.11.0+d4cacc0
Helm version
# ./helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.0", GitCommit:"05811b84a3f93603dd6c2fcfe57944dfa7ab7fd0", GitTreeState:"clean"}
tiller is running...
# oc get pods
NAME READY STATUS RESTARTS AGE
tiller-7c75ccf47d-p49jm 1/1 Running 0 2h
install it with helm
./helm upgrade --install gitlab gitlab/gitlab \
--set certmanager-issuer.email=me@example.com \
--timeout 600 \
--set global.hosts.domain=test.pamhk.com \
--set global.hosts.externalIP=192.168.10.185
[debug] Created tunnel using local port: '45916'
[debug] SERVER: "127.0.0.1:45916"
[debug] Fetched gitlab/gitlab to /root/.helm/cache/archive/gitlab-1.9.3.tgz
Release "gitlab" does not exist. Installing it now.
[debug] CHART PATH: /root/.helm/cache/archive/gitlab-1.9.3.tgz
Error: watch closed before UntilWithoutRetry timeout
Edited by Jason Plum