{"id":19319497,"url":"https://github.com/rmkanda/jenkins-helm","last_synced_at":"2026-02-27T22:40:54.640Z","repository":{"id":100682267,"uuid":"212149484","full_name":"rmkanda/jenkins-helm","owner":"rmkanda","description":"Steps to setup Jenkins on a GKE cluster - GCP","archived":false,"fork":false,"pushed_at":"2020-01-06T14:13:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-15T02:45:12.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmkanda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-01T16:49:39.000Z","updated_at":"2020-01-06T14:13:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"76b0444e-f0c6-4734-ac4d-287a6a16f708","html_url":"https://github.com/rmkanda/jenkins-helm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rmkanda/jenkins-helm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmkanda%2Fjenkins-helm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmkanda%2Fjenkins-helm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmkanda%2Fjenkins-helm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmkanda%2Fjenkins-helm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmkanda","download_url":"https://codeload.github.com/rmkanda/jenkins-helm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmkanda%2Fjenkins-helm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T01:23:59.114Z","updated_at":"2026-02-27T22:40:54.596Z","avatar_url":"https://github.com/rmkanda.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steps to setup Jenkins on GKE cluster - GCP\n\n## Requirements\n\n- GCP - GKE cluster\n- Google Cloud SDK  \n  `brew cask install google-cloud-sdk`\n- Helm\n  ```sh\n  brew install kubernetes-helm\n  helm repo add stable https://kubernetes-charts.storage.googleapis.com/\n  helm repo update\n  ```\n\n## Steps\n\n### Setup Kubernetes Cluster\n\n- Create a two node GKE cluster\n\n```\ngcloud container clusters create test-cluster --num-nodes 2 --machine-type n1-standard-2 --scopes \"https://www.googleapis.com/auth/projecthosting,cloud-platform\"\n```\n\n- Create a Role\n\n```\nkubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account)\n```\n\n- Connect to the created cluster\n\n```\ngcloud container clusters get-credentials test-cluster\n\n```\n\n### Jenkins setup\n\n- Install Jenkins using helm chart with custom values.yaml file\n\n```\nhelm install ci-jenkins stable/jenkins -f values.yaml --wait\n```\n\n- Get the admin user's login passowrd for jenkins\n\n```\nprintf $(kubectl get secret --namespace default ci-jenkins -o jsonpath=\"{.data.jenkins-admin-password}\" | base64 --decode);echo\n```\n\n- Elevate the privileges of jenkins service account\n\n```\nkubectl create clusterrolebinding jenkins-deploy --clusterrole=cluster-admin --serviceaccount=default:ci-jenkins\n```\n\n# Using Helm v2 (old)\n\n## Requirements\n\n- GCP - GKE cluster\n- Google Cloud SDK  \n  `brew cask install google-cloud-sdk`\n- Helm\n  ```\n  brew install kubernetes-helm\n  helm init --client-only\n  helm repo update\n  ```\n\n## Steps\n\n### Setup Kubernetes Cluster\n\n- Create a two node GKE cluster\n\n```\ngcloud container clusters create test-cluster --num-nodes 2 --machine-type n1-standard-2 --scopes \"https://www.googleapis.com/auth/projecthosting,cloud-platform\"\n```\n\n- Create a Role\n\n```\nkubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account)\n```\n\n- Connect to the created cluster\n\n```\ngcloud container clusters get-credentials test-cluster\n\n```\n\n### Helm setup\n\n- Create service account for tiller and initialize helm\n\n```\nkubectl create serviceaccount tiller --namespace kube-system\n\nkubectl create clusterrolebinding tiller-admin-binding --clusterrole=cluster-admin --serviceaccount=kube-system:tiller\n\nhelm init --service-account=tiller\n```\n\n- Verify helm installation\n\n```\nhelm update\nhelm version\n```\n\n### Jenkins setup\n\n- Install Jenkins using helm chart with custom values.yaml file\n\n```\nhelm install -n ci-jenkins stable/jenkins -f values.yaml --wait\n```\n\n- Get the admin user's login passowrd for jenkins\n\n```\nprintf $(kubectl get secret --namespace default ci-jenkins -o jsonpath=\"{.data.jenkins-admin-password}\" | base64 --decode);echo\n```\n\n- Elevate the privileges of jenkins service account\n\n```\nkubectl create clusterrolebinding jenkins-deploy --clusterrole=cluster-admin --serviceaccount=default:ci-jenkins\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmkanda%2Fjenkins-helm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmkanda%2Fjenkins-helm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmkanda%2Fjenkins-helm/lists"}