1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 11:21:08 +00:00
Mirror RKE from github
Go to file
github-actions[bot] 455bedcc88 go generate
2025-03-05 12:04:38 +00:00
.github bump golint version to v1.63.4 2025-02-21 13:47:59 +05:30
addons Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
authz removal of podsecuritypolicy code 2024-05-17 22:32:40 +05:30
cloudprovider Support harvester cloud provider 2021-11-10 17:19:29 +08:00
cluster added enable_br_netfilter env var 2025-02-28 19:25:26 +05:30
cmd fix golint errors 2025-02-21 14:07:20 +05:30
codegen updates for rke v1.8.0 2025-02-12 12:20:55 -08:00
data go generate 2025-03-05 12:04:38 +00:00
dind Move from drone to Github Actions for 1.6 2024-06-10 11:14:35 +05:30
docker downgrade docker to 20.10.25 2023-09-01 22:12:17 +05:30
docs Add architecture.md 2024-01-09 09:42:19 +01:00
hosts fix node lookup for external aws 2023-11-28 08:37:46 -08:00
k8s [v1.6] Fixes 478 2024-06-14 12:01:31 -07:00
log Revert "Revert "Encryption Key Rotation Changes"" 2020-12-14 11:51:46 -07:00
metadata updates for rke v1.8.0 2025-02-12 12:20:55 -08:00
pki fix: fix slice init length (#3785) 2025-02-10 10:17:50 -07:00
scripts updated kubectl download url for ci 2024-10-03 23:29:22 +05:30
services add timeout to etcd member add call 2024-06-27 16:33:39 -07:00
templates removal of podsecuritypolicy code 2024-05-17 22:32:40 +05:30
types go generate 2025-02-28 19:30:47 +05:30
util fix golint errors 2025-02-21 14:07:20 +05:30
.dockerignore Test all CNI in CI 2021-06-24 13:36:56 +02:00
.gitignore Remove build/bin directory 2021-06-12 13:44:51 +02:00
.golangci.json update dependencies, KDM data URL and skip revive rules 2023-09-01 11:51:22 +05:30
CODEOWNERS Update CODEOWNERS 2024-05-31 15:47:20 -04:00
Dockerfile.dapper Bump dependencies to support k8s v1.32 2025-02-21 13:03:15 +05:30
generate.go updated libraries for k8s 1.30 2024-06-12 05:44:01 +05:30
go.mod Bump dependencies to support k8s v1.32 2025-02-21 13:03:15 +05:30
go.sum Bump dependencies to support k8s v1.32 2025-02-21 13:03:15 +05:30
LICENSE Initial Commit 2017-10-25 17:02:49 -07:00
main.go updated libraries for k8s 1.30 2024-06-12 05:44:01 +05:30
Makefile update to k8s v1.21 and go 1.16 2021-04-30 15:16:59 -07:00
README-template.md update README and add troubleshooting doc links 2023-07-28 15:25:17 +02:00
README.md updates for rke v1.8.0 2025-02-12 12:20:55 -08:00
vendor.go Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00

rke

This file is auto-generated from README-template.md, please make any changes there.

Rancher Kubernetes Engine, an extremely simple, lightning fast Kubernetes installer that works everywhere.

🚨 Important Notice: RKE End of Life Announcement

Rancher Kubernetes Engine (RKE) is reaching its end of life. Version 1.8 will be the final release in the RKE 1.x series. We strongly recommend migrating to Rancher's newer Kubernetes distribution, RKE2, to stay supported, secure, and take advantage of the latest features and updates. For more details, please refer to the official SUSE EOL article.

Latest Release

  • v1.7
    • v1.7.2 - Read the full release notes.
  • v1.6
    • v1.6.6 - Read the full release notes.

Download

Please check the releases page.

Requirements

Please review the Requirements for each node in your Kubernetes cluster.

Getting Started

Please refer to our RKE docs for information on how to get started! For cluster config examples, refer to RKE cluster.yml examples

Installing Rancher HA using rke

Please use Setting up a High-availability RKE Kubernetes Cluster to install Rancher in a high-availability configuration.

Building

RKE can be built using the make command, and will use the scripts in the scripts directory as subcommands. The default subcommand is ci and will use scripts/ci. Cross compiling can be enabled by setting the environment variable CROSS=1. The compiled binaries can be found in the build/bin directory. Dependencies are managed by Go modules and can be found in go.mod.

Read codegen/codegen.go to check the default location for fetching data.json. You can override the default location as seen in the example below:

# Fetch data.json from default location
go generate

# Fetch data.json from URL using RANCHER_METADATA_URL
RANCHER_METADATA_URL=${URL} go generate

# Use data.json from local file
RANCHER_METATDATA_URL=./local/data.json go generate

# Compile RKE
make

To override RANCHER_METADATA_URL at runtime, populate the environment variable when running rke CLI. For example:

RANCHER_METADATA_URL=${URL} rke [commands] [options]

RANCHER_METADATA_URL=${./local/data.json} rke [commands] [options]

License

Copyright © 2017 - 2023 SUSE LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.