back to home

kubesphere / kubekey

Install Kubernetes/K3s, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳

View on GitHub
2,797 stars
821 forks
318 issues
GoShellMakefile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing kubesphere/kubekey in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/kubesphere/kubekey)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

> English | 中文 **👋 Welcome to KubeKey!** KubeKey is an open-source lightweight task flow execution tool. It provides a flexible and fast way to install Kubernetes. > KubeKey has passed the CNCF Kubernetes Conformance Certification Comparison of new features in 3.x • Expanded from Kubernetes lifecycle management tool to task execution tool (flow design refers to Ansible) • Supports multiple ways to manage task templates: git, local, etc. • Supports multiple node connection methods, including: local, ssh, kubernetes, prometheus. • Supports cloud-native automated batch task management • Advanced features: UI page (not yet open) Install kubekey Install in Kubernetes Install kubekey via helm. Binary Get the corresponding binary files from the release page. Download Binary with UI **UI only support after v4.0.0** > If there is a config.yaml file in the current directory, running to build an offline package. Deploy Kubernetes • Supported deployment environments: Linux distributions • almaLinux: 9.0 (not fully tested) • centOS: 8 • debian: 10, 11 • kylin: V10SP3 (not fully tested) • ubuntu: 18.04, 20.04, 22.04, 24.04. • Supported Kubernetes versions: v1.23.x ~ v1.33.x Requirements • One or more computers running Linux operating systems compatible with deb/rpm; for example: Ubuntu or CentOS. • Each machine should have more than 2 GB of memory; applications will be limited if memory is insufficient. • Control plane nodes should have at least 2 CPUs. • Full network connectivity among all machines in the cluster. You can use public or private networks. Define node information kubekey uses the resource to define node connection information. You can use to get the default inventory.yaml resource. The default configuration is as follows: The inventory contains the following built-in groups: • k8s_cluster: Kubernetes cluster. Contains two subgroups: kube_control_plane, kube_worker • kube_control_plane: control_plane node group in the Kubernetes cluster • kube_worker: worker node group in the Kubernetes cluster. • etcd: node group for installing etcd cluster. • image_registry: node group for installing image registry (including harbor, registry) • nfs: node group for installing nfs. Define key configuration information kubekey uses the resource to define node connection information. You can use to get the default inventory.yaml resource. The default configuration is as follows: Default config configurations are provided as references for different Kubernetes versions: • Config for installing Kubernetes v1.23.x • Config for installing Kubernetes v1.24.x • Config for installing Kubernetes v1.25.x • Config for installing Kubernetes v1.26.x • Config for installing Kubernetes v1.27.x • Config for installing Kubernetes v1.28.x • Config for installing Kubernetes v1.29.x • Config for installing Kubernetes v1.30.x • Config for installing Kubernetes v1.31.x • Config for installing Kubernetes v1.32.x • Config for installing Kubernetes v1.33.x • Config for installing Kubernetes v1.34.x Install cluster If is not provided, the default inventory.yaml is used. Kubernetes will only be installed on the executing machine. If is not provided, the default config.yaml is used. Installs Kubernetes version v1.33.1. Documentation **Custom Playbook** **Kubernetes Playbook**