[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1909":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},1909,"k3s","k3s-io\u002Fk3s","k3s-io","Lightweight Kubernetes","https:\u002F\u002Fk3s.io",null,"Go",33227,2676,283,122,0,6,60,254,43,45,"Apache License 2.0",false,"main",true,[27,28],"k8s","kubernetes","2026-06-12 02:00:34","K3s - Lightweight Kubernetes\n===============================================\n[![FOSSA Status](https:\u002F\u002Fapp.fossa.com\u002Fapi\u002Fprojects\u002Fcustom%2B25850%2Fgithub.com%2Fk3s-io%2Fk3s.svg?type=shield)](https:\u002F\u002Fapp.fossa.com\u002Fprojects\u002Fcustom%2B25850%2Fgithub.com%2Fk3s-io%2Fk3s?ref=badge_shield)\n[![Nightly CI](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Fnightly-install.yaml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Fnightly-install.yaml)\n[![Build Status](https:\u002F\u002Fdrone-publish.k3s.io\u002Fapi\u002Fbadges\u002Fk3s-io\u002Fk3s\u002Fstatus.svg)](https:\u002F\u002Fdrone-publish.k3s.io\u002Fk3s-io\u002Fk3s)\n[![Integration Test Coverage](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Fintegration.yaml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Fintegration.yaml)\n[![Unit Test Coverage](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Funitcoverage.yaml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Factions\u002Fworkflows\u002Funitcoverage.yaml)\n[![OpenSSF Best Practices](https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F6835\u002Fbadge)](https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F6835)\n[![OpenSSF Scorecard](https:\u002F\u002Fapi.scorecard.dev\u002Fprojects\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Fbadge)](https:\u002F\u002Fscorecard.dev\u002Fviewer\u002F?uri=github.com\u002Fk3s-io\u002Fk3s)\n[![Releases](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fk3s-io\u002Fk3s\u002Ftotal.svg)](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Ftags?label=Downloads)\n[![CLOMonitor](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https:\u002F\u002Fclomonitor.io\u002Fapi\u002Fprojects\u002Fcncf\u002Fk3s\u002Fbadge)](https:\u002F\u002Fclomonitor.io\u002Fprojects\u002Fcncf\u002Fk3s)\n\nLightweight Kubernetes.  Production ready, easy to install, half the memory, all in a binary less than 100 MB.\n\nGreat for:\n\n* Edge\n* IoT\n* CI\n* Development\n* ARM\n* Embedding k8s\n* Situations where a PhD in k8s clusterology is infeasible\n\nWhat is this?\n---\n\nK3s is a [fully conformant](https:\u002F\u002Fgithub.com\u002Fcncf\u002Fk8s-conformance\u002Fpulls?q=is%3Apr+k3s) production-ready Kubernetes distribution with the following changes:\n\n1. It is packaged as a single binary.\n1. It adds support for sqlite3 as the default storage backend. Etcd3, MariaDB, MySQL, and Postgres are also supported.\n1. It wraps Kubernetes and other components in a single, simple launcher.\n1. It is secure by default with reasonable defaults for lightweight environments.\n1. It has minimal to no OS dependencies (just a sane kernel and cgroup mounts needed).\n1. It eliminates the need to expose a port on Kubernetes worker nodes for the kubelet API by exposing this API to the Kubernetes control plane nodes over a websocket tunnel.\n\nK3s bundles the following technologies together into a single cohesive distribution:\n\n* [Containerd](https:\u002F\u002Fcontainerd.io\u002F) & [runc](https:\u002F\u002Fgithub.com\u002Fopencontainers\u002Frunc)\n* [Flannel](https:\u002F\u002Fgithub.com\u002Fflannel-io\u002Fflannel) for CNI\n* [CoreDNS](https:\u002F\u002Fcoredns.io\u002F)\n* [Metrics Server](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fmetrics-server)\n* [Traefik](https:\u002F\u002Fcontaino.us\u002Ftraefik\u002F) for ingress\n* [Klipper-lb](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fklipper-lb) as an embedded service load balancer provider\n* [Kube-router](https:\u002F\u002Fwww.kube-router.io\u002F) netpol controller for network policy\n* [Helm-controller](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fhelm-controller) to allow for CRD-driven deployment of helm manifests\n* [Kine](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fkine) as a datastore shim that allows etcd to be replaced with other databases\n* [Local-path-provisioner](https:\u002F\u002Fgithub.com\u002Francher\u002Flocal-path-provisioner) for provisioning volumes using local storage\n* [Host utilities](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s-root) such as iptables\u002Fnftables, ebtables, ethtool, & socat\n\nThese technologies can be disabled or swapped out for technologies of your choice.\n\nAdditionally, K3s simplifies Kubernetes operations by maintaining functionality for:\n\n* Managing the TLS certificates of Kubernetes components\n* Managing the connection between worker and server nodes\n* Auto-deploying Kubernetes resources from local manifests in realtime as they are changed.\n* Managing an embedded etcd cluster\n\nWhat's with the name?\n--------------------\n\nWe wanted an installation of Kubernetes that was half the size in terms of memory footprint. Kubernetes is a\n10 letter word stylized as k8s. So something half as big as Kubernetes would be a 5 letter word stylized as\nK3s. A '3' is also an '8' cut in half vertically. There is neither a long-form of K3s nor official pronunciation.\n\nIs this a fork?\n---------------\n\nNo, it's a distribution. A fork implies continued divergence from the original. This is not K3s's goal or practice. K3s explicitly intends not to change any core Kubernetes functionality. We seek to remain as close to upstream Kubernetes as possible. However, we maintain a small set of patches (well under 1000 lines) important to K3s's use case and deployment model. We maintain patches for other components as well. When possible, we contribute these changes back to the upstream projects, for example, with [SELinux support in containerd](https:\u002F\u002Fgithub.com\u002Fcontainerd\u002Fcri\u002Fpull\u002F1487\u002Fcommits\u002F24209b91bf361e131478d15cfea1ab05694dc3eb). This is a common practice amongst software distributions.\n\nK3s is a distribution because it packages additional components and services necessary for a fully functional cluster that go beyond vanilla Kubernetes. These are opinionated choices on technologies for components like ingress, storage class, network policy, service load balancer, and even container runtime. These choices and technologies are touched on in more detail in the [What is this?](#what-is-this) section.\n\nHow is this lightweight or smaller than upstream Kubernetes?\n---\n\nThere are two major ways that K3s is lighter weight than upstream Kubernetes:\n1. The memory footprint to run it is smaller\n2. The binary, which contains all the non-containerized components needed to run a cluster, is smaller\n\nThe memory footprint is reduced primarily by running many components inside of a single process. This eliminates significant overhead that would otherwise be duplicated for each component.\n\nThe binary is smaller by removing third-party storage drivers and cloud providers, explained in more detail below.\n\nWhat have you removed from upstream Kubernetes?\n---\n\nThis is a common point of confusion because it has changed over time. Early versions of K3s had much more removed than the current version. K3s currently removes two things:\n\n1. In-tree storage drivers\n1. In-tree cloud provider\n\nBoth of these have out-of-tree alternatives in the form of [CSI](https:\u002F\u002Fgithub.com\u002Fcontainer-storage-interface\u002Fspec\u002Fblob\u002Fmaster\u002Fspec.md) and [CCM](https:\u002F\u002Fkubernetes.io\u002Fdocs\u002Ftasks\u002Fadminister-cluster\u002Frunning-cloud-controller\u002F), which work in K3s and which upstream is moving towards.\n\nWe remove these to achieve a smaller binary size. They can be removed while remaining conformant because neither affects core Kubernetes functionality. They are also dependent on third-party cloud or data center technologies\u002Fservices, which may not be available in many K3s' use cases.\n\nGetting Started\n---\n- [Quick Install](https:\u002F\u002Fdocs.k3s.io\u002Fquick-start)\n- [Architecture](https:\u002F\u002Fdocs.k3s.io\u002Farchitecture)\n- [FAQ](https:\u002F\u002Fdocs.k3s.io\u002Ffaq)\n- [Contribute](CONTRIBUTING.md)\n\nCommunity\n---\n- ### Slack\n\nJoin [Slack](https:\u002F\u002Fslack.rancher.io\u002F) to chat with K3s developers and other K3s users. Great place to learn and ask questions: [#k3s](https:\u002F\u002Francher-users.slack.com\u002Farchives\u002FCGGQEHPPW) and [#k3s-contributor](https:\u002F\u002Francher-users.slack.com\u002Farchives\u002FCGXR87T8B) and [#k3s](https:\u002F\u002Fcloud-native.slack.com\u002Farchives\u002FC0196ULKX8S) channel in [CNCF Slack](https:\u002F\u002Fcloud-native.slack.com)\n\n- ### Getting involved\n[GitHub Issues](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Fissues) - Submit your issues and feature requests via GitHub.\n\n- ### Community Meetings and Office hours\nThe K3s developer community hangs out on Zoom to chat. Everybody is welcome.\n\n**Add the [Linux Foundation iCal](https:\u002F\u002Fwebcal.prod.itx.linuxfoundation.org\u002Flfx\u002Fa092M00001IkYIjQAN) to your calendar**: \n- AMS\u002FEMEA TZ 10:00 am PST - every *second* Tuesday of the month\n- EMEA\u002FAPAC TimeZone friendly - every *third* Tuesday of the month\n\n**Meeting notes and agenda**: https:\u002F\u002Fhackmd.io\u002F@k3s\u002Fmeet-notes\u002F\n\n**Meeting recordings**: [K3s Channel](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=HRuJROA6Z3k&list=PLlBG85HKlLE9KFDqJ_K6NOpup-zVw8ANl&pp=gAQB)\n\nYou can check also the full details on the website: https:\u002F\u002Fk3s.io\u002Fcommunity\n\n\nWhat's next?\n---\n\nCheck out our [roadmap](ROADMAP.md) to see what we have planned moving forward.\n\nRelease cadence\n---\n\nK3s maintains pace with upstream Kubernetes releases. Our goal is to release patch releases within one week, and new minors within 30 days.\n\nOur release versioning reflects the version of upstream Kubernetes that is being released. For example, the K3s release [v1.27.4+k3s1](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Freleases\u002Ftag\u002Fv1.27.4%2Bk3s1) maps to the `v1.27.4` Kubernetes release. We add a postfix in the form of `+k3s\u003Cnumber>` to allow us to make additional releases using the same version of upstream Kubernetes while remaining [semver](https:\u002F\u002Fsemver.org\u002F) compliant. For example, if we discovered a high severity bug in `v1.27.4+k3s1` and needed to release an immediate fix for it, we would release `v1.27.4+k3s2`.\n\nDocumentation\n-------------\n\nPlease see [the official docs site](https:\u002F\u002Fdocs.k3s.io) for complete documentation.\n\nQuick-Start - Install Script\n--------------\n\nThe `install.sh` script provides a convenient way to download K3s and add a service to systemd or openrc.\n\nTo install k3s as a service, run:\n\n```bash\ncurl -sfL https:\u002F\u002Fget.k3s.io | sh -\n```\n\nA kubeconfig file is written to `\u002Fetc\u002Francher\u002Fk3s\u002Fk3s.yaml` and the service is automatically started or restarted.\nThe install script will install K3s and additional utilities, such as `kubectl`, `crictl`, `k3s-killall.sh`, and `k3s-uninstall.sh`, for example:\n\n```bash\nsudo kubectl get nodes\n```\n\n`K3S_TOKEN` is created at `\u002Fvar\u002Flib\u002Francher\u002Fk3s\u002Fserver\u002Fnode-token` on your server.\nTo install on worker nodes, pass `K3S_URL` along with\n`K3S_TOKEN` environment variables, for example:\n\n```bash\ncurl -sfL https:\u002F\u002Fget.k3s.io | K3S_URL=https:\u002F\u002Fmyserver:6443 K3S_TOKEN=XXX sh -\n```\n\nManual Download\n---------------\n\n1. Download `k3s` from latest [release](https:\u002F\u002Fgithub.com\u002Fk3s-io\u002Fk3s\u002Freleases\u002Flatest), x86_64, armhf, arm64 and s390x are supported.\n1. Run the server.\n\n```bash\nsudo k3s server &\n# Kubeconfig is written to \u002Fetc\u002Francher\u002Fk3s\u002Fk3s.yaml\nsudo k3s kubectl get nodes\n\n# On a different node run the below. NODE_TOKEN comes from\n# \u002Fvar\u002Flib\u002Francher\u002Fk3s\u002Fserver\u002Fnode-token on your server\nsudo k3s agent --server https:\u002F\u002Fmyserver:6443 --token ${NODE_TOKEN}\n```\n\nContributing\n------------\n\nPlease check out our [contributing guide](CONTRIBUTING.md) if you're interested in contributing to K3s.\n\nSecurity\n--------\n\nSecurity issues in K3s can be reported by sending an email to [security@k3s.io](mailto:security@k3s.io).\nPlease do not file issues about security issues.\n","K3s 是一个轻量级的 Kubernetes 发行版，专为资源受限环境设计。它将完整的 Kubernetes 功能封装在一个不到 100MB 的二进制文件中，支持 SQLite3 作为默认存储后端，并且集成了 Containerd、Flannel、CoreDNS 等关键技术组件，极大地简化了安装和管理过程。K3s 通过减少对外部依赖的需求来实现更小的内存占用和更高的安全性，默认配置适用于边缘计算、物联网设备、CI\u002FCD 流水线以及开发测试等场景，尤其适合那些不具备深厚 Kubernetes 知识背景的用户使用。",2,"2026-06-11 02:46:46","top_all"]