{"id":17272220,"url":"https://github.com/eumel8/gcp-cka","last_synced_at":"2026-05-19T03:34:38.104Z","repository":{"id":211635701,"uuid":"729627463","full_name":"eumel8/gcp-cka","owner":"eumel8","description":"Lab to setup Kubernetes with kubeadm in GCP","archived":false,"fork":false,"pushed_at":"2023-12-18T20:12:56.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-09T06:05:40.121Z","etag":null,"topics":["cka","kubeadm","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eumel8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-09T20:34:47.000Z","updated_at":"2023-12-10T18:55:15.000Z","dependencies_parsed_at":"2023-12-18T23:17:01.952Z","dependency_job_id":null,"html_url":"https://github.com/eumel8/gcp-cka","commit_stats":null,"previous_names":["eumel8/gcp-cka"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eumel8%2Fgcp-cka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eumel8%2Fgcp-cka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eumel8%2Fgcp-cka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eumel8%2Fgcp-cka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eumel8","download_url":"https://codeload.github.com/eumel8/gcp-cka/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eumel8%2Fgcp-cka/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258828380,"owners_count":22763930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cka","kubeadm","kubernetes","terraform"],"created_at":"2024-10-15T08:48:08.922Z","updated_at":"2026-05-19T03:34:33.082Z","avatar_url":"https://github.com/eumel8.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcp-cka\n\n## abstract\n\nThis repo contains a lab to setup Kubernetes environment to learn for the [CKA](https://www.cncf.io/training/certification/cka/) with Terraform on Google Cloud. Basically two Virtual Machines are deployed within a private network.\n\n\n## preparation\n\nRegister for the Google Cloud Platform (GCP) on https://cloud.google.com\n\nSetup a project and connect to a billing account. Don't worry, we use Spot instances which are available for 1 ct per hour. You can flexible bootstrap this stack, learn 1-2 hours and have to pay less then 5 ct.\n\n# deployment\n\nWe will use [Google Cloud Shell](https://shell.cloud.google.com), reachable from the [Console](https://console.cloud.google.com). This is a Virtual Machine, running in the background on GCP, accessable within your web browser with the complete installed environment like [GCP Terraform](https://cloud.google.com/docs/terraform/basic-commands?hl=de).\n\nWhen you enter the Cloud Shell you need to set the ProjectId as environment (pick up from the Cloud Console), clone this repo and run terraform with the default settings:\n\n```bash\nexport GOOGLE_CLOUD_PROJECT=k8s-test-246009\ngit clone https://github.com/eumel8/gcp-cka.git\ncd gcp-cka\nterraform plan\nterraform apply\n```\n\nSome authorization window will appear and needs to accept and after this one VM will deployed as `master` node. Public ip-address will shown at the end and you can enter:\n\n```bash\nssh -i cka_key cka@35.232.110.87\n```\n\nNOTE: this repository contains an ssh *example* key pair `cka_key`. you should create and use your own:\n\n```\nssh-keygen -C cka -f cka_key\n```\n\nIf you familar with the `master` node you can continue to deploy `node1` as worker or additional master:\n\n```\nterraform apply --var create_nodes=true\n```\n\nsee [KUBEADM](KUBEADM.md) for usage this lab\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feumel8%2Fgcp-cka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feumel8%2Fgcp-cka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feumel8%2Fgcp-cka/lists"}