Một mục mã nguồn mở trong kho dữ liệu GitHub của TopGit: rancher/rke2, 2.4k sao, Go.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.
It is a fully conformant Kubernetes distribution that focuses on security and compliance within the U.S. Federal Government sector.
To meet these goals, RKE2 does the following:
Provides defaults and configuration options that allow clusters to pass the CIS Kubernetes Benchmark with minimal operator intervention
Enables FIPS 140-2 compliance
Supports SELinux policy and Multi-Category Security (MCS) label enforcement
Regularly scans components for CVEs using trivy in our build pipeline
For more information and detailed installation and operation instructions, please visit our docs.
Quick Start
Here's the extremely quick start:
curl -sfL https://get.rke2.io | sh -
systemctl enable rke2-server.service
systemctl start rke2-server.service
# Wait a bit
export KUBECONFIG=/etc/rancher/rke2/rke2.yaml PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes
For a bit more, check out our full quick start guide.
Installation
A full breakdown of installation methods and information can be found here.
Configuration File
The primary way to configure RKE2 is through its config file. Command line arguments and environment variables are also available, but RKE2 is installed as a systemd service and thus these are not as easy to leverage.
By default, RKE2 will launch with the values present in the YAML file located at /etc/rancher/rke2/config.yaml.
An example of a basic server config file is below:
In general, cli arguments map to their respective yaml key, with repeatable cli args being represented as yaml lists. So, an identical configuration using solely cli arguments is shown below to demonstrate this:
It is also possible to use both a configuration file and cli arguments. In these situations, values will be loaded from both sources, but cli arguments will take precedence. For repeatable arguments such as --node-label, the cli arguments will overwrite all values in the list.
Finally, the location of the config file can be changed either through the cli argument --config FILE, -c FILE, or the environment variable $RKE2_CONFIG_FILE.
Release cadence
RKE2 maintains pace with upstream Kubernetes releases. Our goal is to release patch releases within one week, and new minors within 30 days.
Our release versioning reflects the version of upstream Kubernetes that is being released. For example, the RKE2 release v1.36.1+rke2r1 maps to the v1.36.1 Kubernetes release. We add a postfix in the form of +rke2r to allow us to make additional releases using the same version of upstream Kubernetes while remaining semver compliant. For example, if we discovered a high severity bug in v1.36.1+rke2r1 and needed to release an immediate fix for it, we would release v1.36.1+rke2r2.
FAQ
How is this different from RKE1 or K3s?
Why two names?
Security
Please do not open security issues here. Instead, refer to our Security Policy to learn how to report any vulnerabilities.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/rancher/rke2 là nguồn chính thức.
rancher/rke2 có bao nhiêu sao?
rancher/rke2 có 2.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/rancher/rke2. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
rancher/rke2 có phải mã nguồn mở không?
Có — rancher/rke2 phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/rancher/rke2.
rancher/rke2 còn đang phát triển không?
Commit gần nhất trên rancher/rke2 là 2 ngày trước (theo timestamp GitHub). Repo có 352 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
rancher/rke2 là gì?
rancher/rke2 (rancher/rke2) là dự án Go TopGit theo dõi. Tính tới lần đồng bộ gần nhất, repo có 2.4k sao.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc rke2 có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về rke2.