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
2020-02-24 10:14:25 -07:00
.github Add issue template 2017-12-05 13:20:10 -08:00
addons remove support for default versioned templates 2019-08-20 13:59:03 -07:00
authz Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
build/bin Remove k8s unit test 2017-12-13 21:37:35 +02:00
cloudprovider AWS: fix log typo 2019-09-24 16:14:52 -07:00
cluster Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
cmd Change RKE upgrade logic for zero downtime 2020-02-05 16:19:47 -08:00
codegen Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
data Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
dind Work around systemd-resolved for dind 2019-01-22 09:10:02 -08:00
docker Don't retry on Docker error address already in use 2019-12-09 22:32:04 -08:00
hosts Add per node kubelet server certificate 2019-10-31 15:56:44 -07:00
k8s Change RKE upgrade logic for zero downtime 2020-02-05 16:19:47 -08:00
log Drop the log level to Debug since rancher can call this everytime worker connects back every ~2 mins 2020-01-15 16:29:38 -08:00
metadata Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
package remove artifacts images 2018-01-15 20:04:13 +02:00
pki Fix for deleting unused etcd and kubelet certs 2020-02-20 08:21:52 +08:00
scripts Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
services Merge pull request #1800 from mrajashree/workers_upgrade 2020-02-06 11:03:29 -08:00
templates Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
util Print proxy env vars when applying authz resources 2019-09-20 09:16:30 -07:00
vendor Update vendor 2020-02-20 17:13:01 -07:00
.dockerignore
.drone.yml Add listing of artifacts in Drone similar to CLI 2019-06-24 15:56:35 -07:00
.gitignore Change RKE upgrade logic for zero downtime 2020-02-05 16:19:47 -08:00
Dockerfile.dapper go 1.13.4 2019-12-09 10:52:24 -08:00
go.mod Update vendor 2020-02-20 17:13:01 -07:00
go.sum Update vendor 2020-02-20 17:13:01 -07:00
LICENSE
main.go Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
Makefile
README.md Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00
vendor.conf Vendor Update 2019-08-21 11:47:42 -07:00
vendor.go Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00

rke

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

Download

Please check the releases page.

Requirements

Please review the OS 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 High Availability (HA) Install 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.

RKE now fetches data.json from https://github.com/rancher/kontainer-driver-metadata. To fetch data.json and compile it in rke, run

go generate

# Change RANCHER_METADATA_URL to an external URL instead of using https://releases.rancher.com/kontainer-driver-metadata/dev-v2.4/data.json by default
RANCHER_METADATA_URL=${URL} go generate

# Or load it from local file
RANCHER_METATDATA_URL=./local/data.json go generate

# Compile RKE
make

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

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

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

RANCHER_METADATA_URL defaults to https://releases.rancher.com/kontainer-driver-metadata/dev-v2.4/data.json.

License

Copyright (c) 2019 Rancher Labs, Inc.

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.