1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-13 07:04:52 +00:00
Mirror RKE from github
Go to file
Chirayu Kapoor 03c7518d93
Remove stage-binaries step from drone CI in continuation to PR #3368 | Move to BCI
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2023-09-27 13:06:55 +05:30
.github Remove 1.2 and add 1.5 to README template 2023-09-18 11:29:01 +02:00
addons Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
authz Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
cloudprovider Support harvester cloud provider 2021-11-10 17:19:29 +08:00
cluster Merge pull request #3337 from manuelbuil/weaveDeprecation 2023-09-19 14:57:20 +02:00
cmd Replace deprecated io/ioutil 2023-08-04 15:24:27 +02:00
codegen update dependencies, KDM data URL and skip revive rules 2023-09-01 11:51:22 +05:30
data go generate 2023-09-26 04:57:47 +00:00
dind Move to BCI 2023-09-13 10:36:31 +02:00
docker downgrade docker to 20.10.25 2023-09-01 22:12:17 +05:30
docs update README and add troubleshooting doc links 2023-07-28 15:25:17 +02:00
hosts Replace deprecated io/ioutil 2023-08-04 15:24:27 +02:00
k8s drop the checks for PSP resources in the cluster 2023-03-02 10:55:40 -07:00
log Revert "Revert "Encryption Key Rotation Changes"" 2020-12-14 11:51:46 -07:00
metadata update rke dev version to v1.5.99 2023-09-19 08:16:15 +05:30
pki Replace deprecated io/ioutil 2023-08-04 15:24:27 +02:00
scripts Move to BCI 2023-09-13 10:36:31 +02:00
services Merge pull request #3329 from rancher/replaceDeprecatedIOutil 2023-08-07 14:18:04 -07:00
templates Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
types Added ACI-CNI 5.2.7.1 variables 2023-06-14 09:50:38 +05:30
util Replace deprecated io/ioutil 2023-08-04 15:24:27 +02:00
.dockerignore Test all CNI in CI 2021-06-24 13:36:56 +02:00
.drone.yml Remove stage-binaries step from drone CI in continuation to PR #3368 | Move to BCI 2023-09-27 13:06:55 +05:30
.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 Add CODEOWNERS 2023-09-13 10:38:36 +02:00
Dockerfile.dapper Move to BCI 2023-09-13 10:36:31 +02:00
generate.go Move rke types from rancher/types to ./types 2020-07-11 23:29:33 -07:00
go.mod Replace some k8s modules with specific versions to get rid of the "unknown revision v0.0.0" error caused by the k8s.io/kubernetes module 2023-09-21 12:43:16 -07:00
go.sum Security bumps 2023-09-19 07:19:35 -03:00
LICENSE Initial Commit 2017-10-25 17:02:49 -07:00
main.go Replace deprecated io/ioutil 2023-08-04 15:24:27 +02:00
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 update README with latest 2023-09-20 10:46:16 +00:00
SECURITY.md Add security policy 2022-01-27 11:29:17 +01: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.

Latest Release

  • v1.4
    • v1.4.10 - Read the full release notes.
  • v1.3
    • v1.3.24 - 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.