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
Krunal Hingu 2feb2893cf
Merge pull request #3830 from vardhaman22/fix-dep
[release/v1.8] fix go mod dependencies
2025-04-10 22:52:59 +05:30
.github fix the workflow for updating the README file (#3825) 2025-04-04 09:50:11 -07:00
addons
authz
cloudprovider
cluster use sha256 for checksumming when k8s version >= 1.31.6 2025-03-03 12:43:18 -06:00
cmd fix golint errors 2025-02-21 14:07:20 +05:30
codegen Update KDM release URL to release-v2.11 (#3812) 2025-03-19 14:45:26 -04:00
data go generate 2025-03-25 19:36:13 +00:00
dind
docker
docs
hosts
k8s
log
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
services
templates
types go generate 2025-02-28 19:30:47 +05:30
util use sha256 for checksumming when k8s version >= 1.31.6 2025-03-03 12:43:18 -06:00
.dockerignore
.gitignore
.golangci.json
CODEOWNERS
Dockerfile.dapper Bump dependencies to support k8s v1.32 2025-02-21 13:03:15 +05:30
generate.go
go.mod fix github.com/opencontainers/image-spec dep version 2025-04-09 15:10:21 +05:30
go.sum fix github.com/opencontainers/image-spec dep version 2025-04-09 15:10:21 +05:30
LICENSE
main.go
Makefile
README-template.md fix the workflow for updating the README file (#3825) 2025-04-04 09:50:11 -07:00
README.md updates for rke v1.8.0 2025-02-12 12:20:55 -08:00
vendor.go

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.