{"id":30292525,"url":"https://github.com/felix-kaestner/kubeadm-install","last_synced_at":"2026-06-29T15:31:11.787Z","repository":{"id":306142721,"uuid":"1024085705","full_name":"felix-kaestner/kubeadm-install","owner":"felix-kaestner","description":"kubeadm-install: quickly install the kubeadm toolbox on Ubuntu.","archived":false,"fork":false,"pushed_at":"2025-07-23T20:19:17.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T20:36:04.182Z","etag":null,"topics":["k8s","kubeadm","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felix-kaestner.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,"zenodo":null}},"created_at":"2025-07-22T06:57:43.000Z","updated_at":"2025-07-23T20:19:21.000Z","dependencies_parsed_at":"2025-07-23T23:04:43.714Z","dependency_job_id":"4fdb53a2-3382-44a5-82ed-3aec11ef6045","html_url":"https://github.com/felix-kaestner/kubeadm-install","commit_stats":null,"previous_names":["felix-kaestner/kubeadm-install"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felix-kaestner/kubeadm-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felix-kaestner%2Fkubeadm-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felix-kaestner%2Fkubeadm-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felix-kaestner%2Fkubeadm-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felix-kaestner%2Fkubeadm-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felix-kaestner","download_url":"https://codeload.github.com/felix-kaestner/kubeadm-install/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felix-kaestner%2Fkubeadm-install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34933498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["k8s","kubeadm","ubuntu"],"created_at":"2025-08-17T00:34:27.155Z","updated_at":"2026-06-29T15:31:11.767Z","avatar_url":"https://github.com/felix-kaestner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n# SPDX-FileCopyrightText: 2025 Felix Kästner\n# SPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# kubeadm-install\n\nThis script automates the process of preparing a fresh Ubuntu LTS machine to be a Kubernetes node.\n\n[![Issues](https://img.shields.io/github/issues/felix-kaestner/kubeadm-install?color=29b6f6\u0026style=flat-square)](https://github.com/felix-kaestner/kubeadm-install/issues)\n[![License](https://img.shields.io/github/license/felix-kaestner/kubeadm-install?color=29b6f6\u0026style=flat-square)](https://github.com/felix-kaestner/kubeadm-install/blob/main/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/felix-kaestner/kubeadm-install/pulls)\n\n## Features\n\n- **Fully Automated**: Installs and configures all required software from official sources.\n- **Smart Versioning**: Automatically fetches the latest stable versions of Kubernetes, containerd, runc, and CNI plugins.\n- **Flexible**: Allows you to override component versions with command-line flags.\n- **Role-Aware**: Can set up a standard worker node or initialize a control-plane node.\n- **Best Practices**:\n  - Configures `containerd` with the required `SystemdCgroup` driver.\n  - Enables required kernel modules (`overlay`, `br_netfilter`) and `sysctl` settings.\n  - Uses the official Kubernetes `apt` repository and holds package versions to prevent unintended upgrades.\n- **User-Friendly**: Provides clear, color-coded output to track progress and results.\n\n## Prerequisites\n\n- A fresh installation of **Ubuntu LTS** (e.g., 24.04).\n- Root or `sudo` access on the machine.\n- Internet connectivity to download components from GitHub and `pkgs.k8s.io`.\n\n## Usage\n\nThe script is meant to be piped directly into `bash`.\n\n**Important:** The `--` is used to separate `bash` options from the script's arguments. Always include it when passing flags to the script.\n\n### 1. Set Up a Worker Node (Default)\n\nThis command uses the latest stable versions for all components.\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/felix-kaestner/kubeadm-install/main/install.sh | sudo bash -s\n```\n\n### 2. Set Up a Control-Plane Node\n\nUse the `--control-plane` flag to install all dependencies and then initialize the cluster with `kubeadm init`.\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/felix-kaestner/kubeadm-install/main/install.sh | sudo bash -s -- --control-plane\n```\n\nThe script will output the `kubeadm join` command for your worker nodes.\n\n### 3. Pinning Specific Versions (Advanced)\n\nYou can override the automatically detected versions for specific needs.\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/felix-kaestner/kubeadm-install/main/install.sh | sudo bash -s -- --k8s-version 1.33 --containerd-version 2.1.3\n```\n\nAvailable override flags:\n\n- `--k8s-version \u003cversion\u003e` (e.g., `1.33`)\n- `--containerd-version \u003cversion\u003e` (e.g., `2.1.3`)\n- `--runc-version \u003cversion\u003e` (e.g., `1.3.0`)\n- `--cni-plugins-version \u003cversion\u003e` (e.g., `1.7.1`)\n\n---\n\nReleased under the [Apache 2.0 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelix-kaestner%2Fkubeadm-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelix-kaestner%2Fkubeadm-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelix-kaestner%2Fkubeadm-install/lists"}