{"id":22138283,"url":"https://github.com/z0mbix/d0k8s","last_synced_at":"2026-01-05T05:51:38.607Z","repository":{"id":139776673,"uuid":"162765693","full_name":"z0mbix/d0k8s","owner":"z0mbix","description":"DigitalOcean Kubernetes Cluster Terraform","archived":false,"fork":false,"pushed_at":"2018-12-21T23:30:36.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T15:50:46.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/z0mbix.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":"2018-12-21T23:14:28.000Z","updated_at":"2019-01-25T00:01:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d54dc9ce-3943-44ce-9bb4-38b8e0559c94","html_url":"https://github.com/z0mbix/d0k8s","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/z0mbix%2Fd0k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fd0k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fd0k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fd0k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0mbix","download_url":"https://codeload.github.com/z0mbix/d0k8s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245251118,"owners_count":20584833,"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":[],"created_at":"2024-12-01T20:09:18.207Z","updated_at":"2026-01-05T05:51:38.582Z","avatar_url":"https://github.com/z0mbix.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DigitalOcean Kubernetes Cluster Terraform\n\nThis is just something for me to easily spin up a one node k8s cluster on DigitalOcean for testing/learning/playing.\n\nSet the required environment variables:\n\n```\nexport DIGITALOCEAN_TOKEN=[your token]\nexport KUBECONFIG=kubeconfig\n```\n\nCreate the cluster:\n\n```\ncd kubernetes\nterraform init\nterraform apply -var-file=../vars/dev.tfvars\n```\n\nCreate the kubectl config file:\n\n```\nterraform output \u003e kubeconfig\n```\n\nCheck out the node(s):\n\n```\nkubectl get nodes\nNAME                  STATUS   ROLES    AGE   VERSION\nhopeful-bartik-34tg   Ready    \u003cnone\u003e   60m   v1.13.1\n```\n\nSee your pods:\n\n```\nkubectl get pods\nNAME                      READY   STATUS    RESTARTS   AGE\nconsul-76ffc7bf57-4vpsq   1/1     Running   0          54s\nweb-fd8dd954-5z7nd        1/1     Running   0          10s\nweb-fd8dd954-t5qhz        1/1     Running   0          10s\nweb-fd8dd954-zknzx        1/1     Running   0          10s\n```\n\nWhen you're finished testing, kill it all off:\n\n```\nterraform destroy -var-file=../vars/dev.tfvars\nrm kubeconfig\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fd0k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0mbix%2Fd0k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fd0k8s/lists"}