You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastiaan van Steenis 58f00056aa
Merge pull request #2204 from superseb/pin_xsys
1 month ago
.github Add issue template 2 years ago
addons Remove user addons when not present 5 months ago
authz Update to new certs package since latest k8s dropped it 1 year ago
build/bin Remove k8s unit test 2 years ago
cloudprovider Remove references to rancher/types 2 months ago
cluster Change file copy method for state file 1 month ago
cmd Change file copy method for state file 1 month ago
codegen Change data.json source to dev-v2.5 5 months ago
data vendor update kdm 1 month ago
dind Work around systemd-resolved for dind 1 year ago
docker Change file copy method for state file 1 month ago
hosts Remove references to rancher/types 2 months ago
k8s Refactor to new client-go API in k8s 1.18 5 months ago
log Drop the log level to Debug since rancher can call this everytime worker connects back every ~2 mins 8 months ago
metadata update rke version 1 month ago
package Update base images to Ubuntu 20.04 1 month ago
pki Change file copy method for state file 1 month ago
scripts Move rke types from rancher/types to ./types 2 months ago
services Merge pull request #2152 from superseb/snapshot_include_state 1 month ago
templates Remove references to rancher/types 2 months ago
types go fmt 1 month ago
util Print proxy env vars when applying authz resources 1 year ago
vendor pin golang.org/x/sys due to breaking API change 1 month ago
.dockerignore Initial Commit 2 years ago
.drone.yml Always build all binaries in Drone 1 month ago
.gitignore Change RKE upgrade logic for zero downtime 7 months ago
Dockerfile.dapper Update to Go 1.14.7 1 month ago
LICENSE Initial Commit 2 years ago
Makefile Initial Commit 2 years ago
README.md Move rke away from kdm vendor 6 months ago
generate.go Move rke types from rancher/types to ./types 2 months ago
go.mod pin golang.org/x/sys due to breaking API change 1 month ago
go.sum pin golang.org/x/sys due to breaking API change 1 month ago
main.go Remove references to rancher/types 2 months ago
vendor.conf Vendor Update 1 year ago
vendor.go Move rke away from kdm vendor 6 months ago

README.md

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.