{"id":18894412,"url":"https://github.com/garylouisstewart/kthw","last_synced_at":"2026-02-27T09:30:13.727Z","repository":{"id":144558046,"uuid":"225235997","full_name":"GaryLouisStewart/kthw","owner":"GaryLouisStewart","description":"Using Terraform and Packer to bootstrap a core environment for CKA + CKAD courses","archived":false,"fork":false,"pushed_at":"2020-10-04T09:51:10.000Z","size":2569,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T07:26:30.707Z","etag":null,"topics":["devops","devops-tools","devops-workflow","kubernetes-cluster","packer-template","shell-scripts","terraform-aws"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/GaryLouisStewart.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-12-01T21:49:40.000Z","updated_at":"2020-10-04T09:51:13.000Z","dependencies_parsed_at":"2024-06-28T10:48:06.497Z","dependency_job_id":null,"html_url":"https://github.com/GaryLouisStewart/kthw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryLouisStewart%2Fkthw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryLouisStewart%2Fkthw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryLouisStewart%2Fkthw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaryLouisStewart%2Fkthw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaryLouisStewart","download_url":"https://codeload.github.com/GaryLouisStewart/kthw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239869218,"owners_count":19710485,"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":["devops","devops-tools","devops-workflow","kubernetes-cluster","packer-template","shell-scripts","terraform-aws"],"created_at":"2024-11-08T08:21:25.746Z","updated_at":"2026-02-27T09:30:13.675Z","avatar_url":"https://github.com/GaryLouisStewart.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KTHW\nKubernetes the hard way (gary's way)\n---\n\nThe following is a combination of resources provisioned in terraform to allow us to do kubernetes adminsitration and originally created as a helper to aid me in my studies for the CKA and CKAD certifications. I have drawn from previous experience with all of the tools used in this repository.\n\n---\n### \n\nI have automated most of this using a makefile to allow for very easy creates, updates, and deletion of resources. you can however view the actual code behind the scenes in each of the three folders `packer, cluster, bastion_host and the scripts folder` to gain an idea of what is going on. The following table below provides an idea of what each makefile target does\n\n---\n|Target                 |description                                           |\n|-----------------------|------------------------------------------------------|\n| worker_ami            | Build the worker ami for kubernetes                  |\n| master_ami            | Build the master ami for kubernetes                  |\n| ssh_cleanup           | Clean up the local ssh keys and aws keypairs         |\n| kube_test             | Runs a terraform plan for the kube cluster           |\n| kube_build            | Runs a terraform apply for the kube cluster          |\n| kube_destroy          | Runs a terraform destroy for the kube cluster        |\n| bastion_validate      | Runs a terraform validate in the bastion_host DIR    |\n| kube_validate         | Runs a terraform validate in the cluster DIR         |\n---\n\n## Here are a few examples that I have captured when running the makefile\n\n\n- [ ] Make all, to print out the help for us.\n- ``` make all```\n\n![alt text](https://github.com/GaryLouisStewart/kthw/blob/master/src/common/images/make_all.png?raw=true)\n\n- [ ] make worker_ami to build a worker-ami\n- ```make worker_ami```\n\n![alt text](https://github.com/GaryLouisStewart/kthw/blob/master/src/common/images/makefile-build-amis.png?raw=true)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarylouisstewart%2Fkthw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarylouisstewart%2Fkthw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarylouisstewart%2Fkthw/lists"}