Hey,
As the integration of Jupyterhub and Gitlab seems so seamless using Jupyterhub as a managed app, I wanted to give it a go.
Install gitlab docker image
Figured out that a kubernete node is needed to power Gitlab’s managed apps
Install minikube on the machine
Add the existing cluster
Jupyterhub grayed out
Install Prometheus
Install Ingress
Install Jupyterhub
And I can’t figure out how to debug the ingress pod, is there any workaround or any mean to have an output more detailed ?
kubectl get pods
NAME READY STATUS RESTARTS AGE
install-ingress 0/1 Error 0 13m
prometheus-kube-state-metrics-6b5764b4-qnt5x 1/1 Running 0 27m
prometheus-prometheus-server-7d499465c7-4zs57 2/2 Running 0 27m
kubectl describe pods install-ingress
Name: install-ingress
Namespace: gitlab-managed-apps
Priority: 0
Node: minikube/192.168.39.197
Start Time: Sun, 23 Aug 2020 12:30:00 +0200
Labels: gitlab.org/action=install
gitlab.org/application=ingress
Annotations: <none>
Status: Failed
IP: 172.17.0.8
IPs:
IP: 172.17.0.8
Containers:
helm:
Container ID: docker://8bd9229a4683dbf38b153792927b9c1377266949da47ee9f179cb8b016dc088c
Image: registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.9-kube-1.13.12
Image ID: docker-pullable://registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.9-kube-1.13.12@sha256:bcbbb7a1d9b5617af7ab18f66542c86a153b9fef387014467390f6ea9bb4f1b1
Port: <none>
Host Port: <none>
Command:
/bin/sh
Args:
-c
$(COMMAND_SCRIPT)
State: Terminated
Reason: Error
Exit Code: 1
Started: Sun, 23 Aug 2020 12:30:05 +0200
Finished: Sun, 23 Aug 2020 12:35:20 +0200
Ready: False
Restart Count: 0
Environment:
HELM_VERSION: 2.16.9
TILLER_NAMESPACE: gitlab-managed-apps
COMMAND_SCRIPT: set -xeo pipefail
export HELM_HOST="localhost:44134"
tiller -listen ${HELM_HOST} -alsologtostderr &
helm init --client-only
helm repo update
helm upgrade ingress stable/nginx-ingress --install --atomic --cleanup-on-fail --reset-values --version 1.29.7 --set rbac.create\=true,rbac.enabled\=true --namespace gitlab-managed-apps -f /data/helm/ingress/config/values.yaml
Mounts:
/data/helm/ingress/config from configuration-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from tiller-token-9v2x5 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
configuration-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: values-content-configuration-ingress
Optional: false
tiller-token-9v2x5:
Type: Secret (a volume populated by a Secret)
SecretName: tiller-token-9v2x5
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 6m22s default-scheduler Successfully assigned gitlab-managed-apps/install-ingress to minikube
Normal Pulling 6m20s kubelet, minikube Pulling image "registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.9-kube-1.13.12"
Normal Pulled 6m18s kubelet, minikube Successfully pulled image "registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.9-kube-1.13.12"
Normal Created 6m18s kubelet, minikube Created container helm
Normal Started 6m17s kubelet, minikube Started container helm
Thanks kindly for your answers, I’m kinda stuck here
Bests,
MAJ (5h later) : tried to install gitlab via the helm chart, made new profile in my minikube and manually executed minikube addons enable ingress
, fails cf issue#8756 in minikube. That may be related