{"id":16367603,"url":"https://github.com/mmontes11/k8s-bootstrap","last_synced_at":"2025-03-21T01:31:06.268Z","repository":{"id":145284775,"uuid":"462478967","full_name":"mmontes11/k8s-bootstrap","owner":"mmontes11","description":"🚀 Bootstrap Kubernetes clusters on Raspberry Pi using kubeadm","archived":false,"fork":false,"pushed_at":"2024-10-11T18:32:33.000Z","size":173,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T02:50:28.352Z","etag":null,"topics":["bare-metal","cilium","cluster","containerd","flux","helm","infrastructure","kubeadm","kubernetes","kubernetes-cluster","raspberry-pi","raspberry-pi-5","raspberry-pi4","ubuntu","ubuntu-server","ubuntu2404"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mmontes11.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":"2022-02-22T21:22:42.000Z","updated_at":"2024-10-11T18:32:37.000Z","dependencies_parsed_at":"2023-10-16T03:56:51.324Z","dependency_job_id":"51df93c9-b115-4d00-926a-d6f788950bf5","html_url":"https://github.com/mmontes11/k8s-bootstrap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmontes11%2Fk8s-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmontes11%2Fk8s-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmontes11%2Fk8s-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmontes11%2Fk8s-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmontes11","download_url":"https://codeload.github.com/mmontes11/k8s-bootstrap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221810749,"owners_count":16884186,"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":["bare-metal","cilium","cluster","containerd","flux","helm","infrastructure","kubeadm","kubernetes","kubernetes-cluster","raspberry-pi","raspberry-pi-5","raspberry-pi4","ubuntu","ubuntu-server","ubuntu2404"],"created_at":"2024-10-11T02:50:19.977Z","updated_at":"2024-10-28T08:59:40.472Z","avatar_url":"https://github.com/mmontes11.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 k8s-bootstrap\n\n[![CI](https://github.com/mmontes11/k8s-bootstrap/actions/workflows/ci.yml/badge.svg)](https://github.com/mmontes11/k8s-bootstrap/actions/workflows/ci.yml)\n[![Release](https://github.com/mmontes11/k8s-bootstrap/actions/workflows/release.yml/badge.svg)](https://github.com/mmontes11/k8s-bootstrap/actions/workflows/release.yml)\n\nBootstrap Kubernetes clusters on Raspberry Pi using [kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/).\n\nYou may also take a look at the Talos installation: [k8s-bootstrap-talos](https://github.com/mmontes11/k8s-bootstrap-talos).\n\n### System compatibility\n\nThis Kubernetes installation has been verified on Ubuntu 24.04 running on both Raspberry Pi 4 and 5.\n\n### Node preparation\n\nExecute the provided script on all nodes (both control plane and worker nodes) prior to starting the installation process:\n\n```bash\nsudo bash node-prepare.sh\n```\n\nOnce completed, reboot the node and proceed with the [installation](#installation).\n\n### Installation\n\nSetup the control-plane by running:\n```bash\nsudo bash control-plane.sh\n```\n\nCopy the generated configuration files `config/kubeadm-join.\u003cnode-type\u003e.yaml` to each node and run this command to join the cluster:\n```bash\nsudo bash node.sh 'config/kubeadm-join.\u003cnode-type\u003e.yaml' \n``` \n\nRun this on the control-plane for bootstrapping the [infrastructure](https://github.com/mmontes11/k8s-infrastructure):\n```bash\nexport GITHUB_USER=mmontes11\nexport GITHUB_REPO=k8s-infrastructure \nexport GITHUB_BRANCH=main\nexport GITHUB_PATH=clusters/homelab\nexport GITHUB_TOKEN=\u003cyour-personal-access-token\u003e\n./bootstrap.sh\n``` \n\n### Kubeconfig\n\n`admin` and `super-admin` kubeconfigs are available in the following control-plane paths:\n- `/etc/kubernetes/admin.conf`\n- `/etc/kubernetes/super-admin.conf`\n\nThis [article](https://raesene.github.io/blog/2024/01/06/when-is-admin-not-admin/) depicts the differences between them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmontes11%2Fk8s-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmontes11%2Fk8s-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmontes11%2Fk8s-bootstrap/lists"}