Answers: <p>You probably do not have a default StorageClass.<br />
  I had similar problem.<br />
  Here is a piece of my own code in ansible provisioning nfs dynamic provider.</p>
  <pre><code>  - name: helm install nfs provisioner
      kubernetes.core.helm:
        atomic: true
        chart_ref: nfs-subdir-external-provisioner
        chart_repo_url: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
        create_namespace: true
        name: nfs-provisioner
        namespace: nfs-provisioner
        state: present
        wait: true
        values:
          nfs:
            server: 10.1.1.20 (replace with your own)
            path: /srv/nfs/kubernetes/development
          storageClass:
            name: default-nfs
            defaultClass: true
            archiveOnDelete: false
  </code></pre>
  <p>You need to have nfs server installed on some server (in my case it is the same machine)</p>
  
Answers: CC BY-SA 4.0
Answers: 2023-03-22T14:22:36.950Z
Answers: 2023-03-22T14:23:10.227Z
Answers: 2023-03-22T14:23:10.227Z
Answers: neo
Answers: <p>You can use Helm to install GitLab on a bare-metal Kubernetes cluster, as well as on a cloud-based Kubernetes cluster. Helm is a package manager for Kubernetes that makes it easy to install and manage applications on a Kubernetes cluster.</p>
  <p>To install GitLab on a bare-metal cluster using Helm, you will first need to install Helm on your cluster. Then, you can use the GitLab Helm chart to deploy GitLab to your cluster. The Helm chart includes all of the necessary resources and configurations to run GitLab on Kubernetes.</p>
  <p>To install GitLab using the Helm chart, you will need to run the helm install command and specify the GitLab chart repository, as well as any additional configuration options that you want to set. For example:</p>
  <pre><code>    helm install gitlab gitlab/gitlab \
        --set global.hosts.domain=example.com \
        --set certmanager-issuer.email=your@email.com
  </code></pre>
  <p>This will install the GitLab chart and deploy all of the necessary resources to your cluster. Once the installation is complete, you will be able to access GitLab from your cluster's external URL.</p>
  <p>Keep in mind that running GitLab on a bare-metal cluster may require additional configuration and resources compared to running it on a cloud-based cluster. You will need to ensure that you have sufficient resources and network connectivity to support the GitLab installation and any additional workloads that you plan to run on your cluster.</p>
  
Answers: CC BY-SA 4.0
Answers: 2023-01-05T11:44:31.363Z
Answers: Hello Dear, Yes I know about helm how it's work because I already used it to install argocd. I did want to know if someone have already installed gitlab on baremetal cluster using helm chart. On official doc it's say " Install GitLab on Kubernetes by using the cloud native GitLab Helm chart." that's why I have doubt
Answers: Rabah DevOps
Answers: CC BY-SA 4.0
Answers: 2023-01-05T06:38:39.770Z
Answers: 2023-01-05T06:38:39.770Z
Answers: Rami M. Nassar
Body: <p>I'm trying to install gitlab using helm on my kubernetes cluster running on vbox.</p>
  <p>I have already installed traeffik, metallb and argocd.</p>
  <p>I have tried to install gitlab using helm with this command:</p>
  <pre><code>helm upgrade \
    --install gitlab gitlab/gitlab\
    --timeout 600s \
    --set certmanager-issuer.email=me@example.com  \
    --set postgresql.image.tag=13.6.0 \
    -n gitlab
  </code></pre>
  <p>but I have several pods in <code>CrashloopBack </code> due to PVC, PV and others issues.</p>
  <p>I have read the documentation, but it is so big that I am lost.</p>
  <p>So my question is:</p>
  <p>Can I use helm chart to install gitlab on my baremetal cluster or it's only for designed to run on Cloud provider ?</p>
  
Comments: CC BY-SA 4.0
Comments: 2023-01-04T23:18:10.887Z
Comments: It would probably help to have more information about why things are failing -- why are pods ending up in CrashLoopBackoff state? What sort of problems are you having with PVCs? It seems likely that you should be able to deploy Gitlab onto a bare metal Kubernetes cluster, but you would need to ensure that you have things like dynamic volume provisioning enabled to support PVCs, etc. Give us more information about *why* things are failing and we can probably provide more useful answers.
Comments: larsks
Comments: CC BY-SA 4.0
Comments: 2023-01-05T11:42:24.040Z
Comments: Oh ok, I did not want to post it in this first thread? Should I post it here or create new post ?
Comments: Rabah DevOps
Tags: <kubernetes><gitlab><helm><kubernetes-helm><kubernetes-on-premises>
Title: Install gitlab on baremetal cluster using helm chart
UserDisplayName: Rabah DevOps
ThreadText: # Install gitlab on baremetal cluster using helm chart
  
  (Asked by: username_0 on 2023-01-04)
  
  I'm trying to install gitlab using helm on my kubernetes cluster running on vbox.
  
  I have already installed traeffik, metallb and argocd.
  
  I have tried to install gitlab using helm with this command:
  
  ```
  helm upgrade \
    --install gitlab gitlab/gitlab\
    --timeout 600s \
    --set certmanager-issuer.email=me@example.com  \
    --set postgresql.image.tag=13.6.0 \
    -n gitlab
  
  ```
  
  but I have several pods in `CrashloopBack`  due to PVC, PV and others issues.
  
  I have read the documentation, but it is so big that I am lost.
  
  So my question is:
  
  Can I use helm chart to install gitlab on my baremetal cluster or it's only for designed to run on Cloud provider ?
  
  **Tags:** kubernetes, gitlab, helm, kubernetes-helm, kubernetes-on-premises
  
  > **Comments:**
  > **username_1**: It would probably help to have more information about why things are failing -- why are pods ending up in CrashLoopBackoff state? What sort of problems are you having with PVCs? It seems likely that you should be able to deploy Gitlab onto a bare metal Kubernetes cluster, but you would need to ensure that you have things like dynamic volume provisioning enabled to support PVCs, etc. Give us more information about *why* things are failing and we can probably provide more useful answers.  
  > **username_0**: Oh ok, I did not want to post it in this first thread? Should I post it here or create new post ?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2023-03-22. Score: 1 | Accepted answer
  
  You probably do not have a default StorageClass.  
  I had similar problem.  
  Here is a piece of my own code in ansible provisioning nfs dynamic provider.
  
  ```
    - name: helm install nfs provisioner
      kubernetes.core.helm:
        atomic: true
        chart_ref: nfs-subdir-external-provisioner
        chart_repo_url: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
        create_namespace: true
        name: nfs-provisioner
        namespace: nfs-provisioner
        state: present
        wait: true
        values:
          nfs:
            server: 10.1.1.20 (replace with your own)
            path: /srv/nfs/kubernetes/development
          storageClass:
            name: default-nfs
            defaultClass: true
            archiveOnDelete: false
  
  ```
  
  You need to have nfs server installed on some server (in my case it is the same machine)
  
  
  ---
  
  ### Answer by username_3 on 2023-01-05. Score: 0
  
  You can use Helm to install GitLab on a bare-metal Kubernetes cluster, as well as on a cloud-based Kubernetes cluster. Helm is a package manager for Kubernetes that makes it easy to install and manage applications on a Kubernetes cluster.
  
  To install GitLab on a bare-metal cluster using Helm, you will first need to install Helm on your cluster. Then, you can use the GitLab Helm chart to deploy GitLab to your cluster. The Helm chart includes all of the necessary resources and configurations to run GitLab on Kubernetes.
  
  To install GitLab using the Helm chart, you will need to run the helm install command and specify the GitLab chart repository, as well as any additional configuration options that you want to set. For example:
  
  ```
      helm install gitlab gitlab/gitlab \
        --set global.hosts.domain=example.com \
        --set certmanager-issuer.email=your@email.com
  
  ```
  
  This will install the GitLab chart and deploy all of the necessary resources to your cluster. Once the installation is complete, you will be able to access GitLab from your cluster's external URL.
  
  Keep in mind that running GitLab on a bare-metal cluster may require additional configuration and resources compared to running it on a cloud-based cluster. You will need to ensure that you have sufficient resources and network connectivity to support the GitLab installation and any additional workloads that you plan to run on your cluster.
  
  > **Comments:**
  > **username_0**: Hello Dear, Yes I know about helm how it's work because I already used it to install argocd. I did want to know if someone have already installed gitlab on baremetal cluster using helm chart. On official doc it's say " Install GitLab on Kubernetes by using the cloud native GitLab Helm chart." that's why I have doubt  
  
  ---
  
  