Install the GoCD Helm chart

    Your query search resulted in no results.

    Getting Started with GoCD on Kubernetes

    Step 2: Install the GoCD Helm chart

    Helm is a package manager for Kubernetes. Kubernetes packages are called charts. Charts are curated applications for Kubernetes.

    First verify your Helm version using command helm version, then install the official GoCD Helm chart as follows:

    1. Add the GoCD helm chart repository:
    helm repo add gocd https://gocd.github.io/helm-chart
    helm repo update
    
    1. Run the install command:

    For Helm v3:

    kubectl create ns gocd
    helm install gocd gocd/gocd --namespace gocd
    

    If you’re using an older version of Helm, then use this command:

    helm install gocd/gocd --name gocd --namespace gocd
    

    Access the GoCD server

    After you’ve installed the GoCD helm chart, you should be able to access the GoCD server from the Ingress IP.

    The Ingress IP address can be obtained as specified below:

    • Minikube

      minikube ip
      
    • For other Kubernetes offerings like GKE and EKS:

      ip=$(kubectl get ingress --namespace gocd gocd-server -o jsonpath="{.status.loadBalancer.ingress[0].ip}")
      echo "http://$ip"
      

    Note: It might take a few minutes for the GoCD server to come up for the first time. You can check if the GoCD server is available with this command:

    kubectl get deployments --namespace gocd
    

    The GoCD server starts with a sample “Hello World” pipeline that looks like: