{"id":15840164,"url":"https://github.com/h3poteto/k8s-clusters","last_synced_at":"2026-04-07T04:31:17.777Z","repository":{"id":36778649,"uuid":"171673997","full_name":"h3poteto/k8s-clusters","owner":"h3poteto","description":"kops kubernetes cluster definition","archived":false,"fork":false,"pushed_at":"2026-03-23T14:09:29.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-24T11:52:15.719Z","etag":null,"topics":["kops","kubernetes"],"latest_commit_sha":null,"homepage":"","language":null,"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/h3poteto.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-20T13:01:25.000Z","updated_at":"2026-03-23T14:09:46.000Z","dependencies_parsed_at":"2024-02-19T16:57:55.860Z","dependency_job_id":"634431e3-3b94-4083-9b05-52e751fb5a5a","html_url":"https://github.com/h3poteto/k8s-clusters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/h3poteto/k8s-clusters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3poteto%2Fk8s-clusters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3poteto%2Fk8s-clusters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3poteto%2Fk8s-clusters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3poteto%2Fk8s-clusters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h3poteto","download_url":"https://codeload.github.com/h3poteto/k8s-clusters/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3poteto%2Fk8s-clusters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["kops","kubernetes"],"created_at":"2024-10-05T16:41:49.067Z","updated_at":"2026-04-07T04:31:17.751Z","avatar_url":"https://github.com/h3poteto.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Create cluster\n```\n$ kops create cluster $CLUSTER_NAME --zones ap-northeast-1a,ap-northeast-1c,ap-northeast-1d --node-count 3 --master-zones ap-northeast-1a,ap-northeast-1c,ap-northeast-1d --node-size t3.medium --master-size t3.small\n```\n\nEdit this cluster before apply. And apply it.\n\n```\n$ kops update cluster --name $CLUSTER_NAME --create-kube-config --admin --yes\n```\n\n\n## Edit cluster\n\nYou can edit cluster or instancegroup.\n\nEdit cluster.\n\n```bash\n$ kops edit cluster $CLUSTER_NAME\n```\n\nEdit master instancegroup. You have to edit each master instance.\n\n```bash\n$ kops edit instancegroup master-ap-northeast-1a --name external-prd-20200329.k8s.h3poteto.dev\n$ kops edit instancegroup master-ap-northeast-1c --name external-prd-20200329.k8s.h3poteto.dev\n...\n```\nEdit node instancegroup.\n\n\n```bash\n$ kops edit instancegroup nodes --name external-prd-20200329.k8s.h3poteto.dev\n```\n\n## Update cluster\nAnd after that, please update the cluster.\n\nAt first, update cluster definition.\nThen rolling update the cluster to replace all master and node instances.\n\n```bash\n$ kops update cluster --yes --admin --create-kube-config\n```\n\nSometimes the command show some differences about iam role, please ignore it. I added required policy to role, but kops added the poliyc as inline policy, so the differences are appear. But it is no problem.\n\n```bash\n# update master instances\n$ kops rolling-update cluster external-prd-20200329.k8s.h3poteto.dev --instance-group-roles=control-plane --force --yes\n# update node instances\n$ kops rolling-update cluster external-prd-20200329.k8s.h3poteto.dev --instance-group-roles=node --force --yes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3poteto%2Fk8s-clusters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh3poteto%2Fk8s-clusters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3poteto%2Fk8s-clusters/lists"}