0

I created a kubernettes cluster through Kind with the config below.

apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
networking:
  apiServerAddress: "195.191.216.89"
# add to the apiServer certSANs the name of the docker (dind) service in order to be able to reach the cluster through it
kubeadmConfigPatchesJSON6902:
  - group: kubeadm.k8s.io
    version: apps/v1
    kind: ClusterConfiguration
    patch: |
      - op: add
        path: /apiServer/certSANs/-
        value: docker
nodes:
  - role: control-plane
    kubeadmConfigPatches:
    - |
      kind: InitConfiguration
      nodeRegistration:
        kubeletExtraArgs:
          node-labels: "ingress-ready=true"
    extraPortMappings:
    - containerPort: 80
      hostPort: 80
      protocol: TCP
      listenAddress: "195.191.216.89"
    - containerPort: 443
      hostPort: 443
      protocol: TCP
      listenAddress: "195.191.216.89"
  - role: worker

Later I successfully connected gitlab and installed helm tiller, runner and prometheus. The problem occurred while installing ingress. Following are the logs of install-ingress Pod

Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
+ helm upgrade ingress stable/nginx-ingress --install --atomic --cleanup-on-fail --reset-values --tls --tls-ca-cert /data/helm/ingress/config/ca.pem --tls-cert /data/helm/ingress/config/cert.pem --tls-key /data/helm/ingress/config/key.pem --version 1.29.7 --set 'rbac.create=true,rbac.enabled=true' --namespace gitlab-managed-apps -f /data/helm/ingress/config/values.yaml
Release "ingress" does not exist. Installing it now.
INSTALL FAILED
PURGING CHART
Error: release ingress failed: timed out waiting for the condition
Successfully purged a chart!
Error: release ingress failed: timed out waiting for the condition
Bilal Ali Jafri
  • 652
  • 3
  • 14

0 Answers0