user avatar
Update kdm data
Steven Crespo authored
72358733
Name Last commit Last update
.github Add issue template
addons Remove user addons when not present
authz Update to new certs package since latest k8s dropped it
build/bin Remove k8s unit test
cloudprovider Remove references to rancher/types
cluster Validate Ingress Webhook and pass to template
cmd Warn when snapshot name contains file extension
codegen Change data.json source to dev-v2.5
data Update kdm data
dind Test all CNI in CI
docker Added etcd snapshot timeout parameter
hosts hosts: mapping Flatcar from the docker host info
k8s Updated nginx ingress addon to remove admission batch jobs if they exist
log key rotation as part of ClusterUp, more robust secrets rewrite, improved logging
metadata vendor update kdm
package Update base images to Ubuntu 20.04
pki Write kubeconfig/state with stricter permission
scripts Clean up Drone CI steps
services Base64 encoding etcd backup S3 accessKey and secretKey and passing them as env variables to rke-tools
templates Remove references to rancher/types
types Add IngressWebhook to sys imgs struct
util Add util command
vendor Update to k8s v1.20
.dockerignore Test all CNI in CI
.drone.yml Clean up Drone CI steps
.gitignore Change RKE upgrade logic for zero downtime
Dockerfile.dapper Pin Golang to 1.16.4
LICENSE Initial Commit
Makefile Initial Commit
README.md Move rke away from kdm vendor
generate.go Move rke types from rancher/types to ./types
go.mod Update to k8s v1.20
go.sum update go modules after golang 1.16.4 bump
main.go Add util command
vendor.conf Vendor Update
vendor.go Move rke away from kdm vendor

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.