1
0
mirror of https://github.com/rancher/rke.git synced 2024-09-17 03:31:03 +00:00
Mirror RKE from github
Go to file
Raúl Sánchez f3f7320a44
Merge pull request #2674 from rawmind0/kdmmaster
Bump KDM and go generate
2021-08-25 11:06:54 +02:00
.github Add stale bot configuration 2020-09-30 18:01:18 +02:00
addons Use golangci-lint v0.40.1 2021-06-06 14:20:54 +02:00
authz Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
cloudprovider Remove references to rancher/types 2020-07-11 23:29:33 -07:00
cluster Changed Credential Helper to a predefined type ECRCredentialHelper and associated changes for the same 2021-08-19 19:30:48 +10:00
cmd Use golangci-lint v0.40.1 2021-06-06 14:20:54 +02:00
codegen change kdm source to dev-v2.6 2021-06-12 13:44:44 +02:00
data Bump KDM and go generate 2021-08-25 10:12:18 +02:00
dind Test all CNI in CI 2021-06-24 13:36:56 +02:00
docker Changed Credential Helper to a predefined type ECRCredentialHelper and associated changes for the same 2021-08-19 19:30:48 +10:00
hosts Revert "Do not rewrite SELinux labels on volume mounts" 2021-07-29 08:59:54 +02:00
k8s Updated nginx ingress addon to remove admission batch jobs if they exist 2021-08-18 12:50:37 +02:00
log Revert "Revert "Encryption Key Rotation Changes"" 2020-12-14 11:51:46 -07:00
metadata rke version v1.3.0-rc0 for master 2021-04-19 08:20:31 -07:00
package Update base images to Ubuntu 20.04 2020-08-07 15:53:08 +02:00
pki Revert "Do not rewrite SELinux labels on volume mounts" 2021-07-29 08:59:54 +02:00
scripts Clean up Drone CI steps 2021-06-26 14:06:16 +02:00
services Revert "Do not rewrite SELinux labels on volume mounts" 2021-07-29 08:59:54 +02:00
templates Remove references to rancher/types 2020-07-11 23:29:33 -07:00
types generated types 2021-08-19 19:34:32 +10:00
util Changed Credential Helper to a predefined type ECRCredentialHelper and associated changes for the same 2021-08-19 19:30:48 +10:00
.dockerignore Test all CNI in CI 2021-06-24 13:36:56 +02:00
.drone.yml Clean up Drone CI steps 2021-06-26 14:06:16 +02:00
.gitignore Remove build/bin directory 2021-06-12 13:44:51 +02:00
.golangci.json Use golangci-lint v0.40.1 2021-06-06 14:20:54 +02:00
Dockerfile.dapper Golang 1.16.6 / golangci-lint v1.41.1 2021-07-23 17:04:41 +02:00
generate.go Move rke types from rancher/types to ./types 2020-07-11 23:29:33 -07:00
go.mod Initial commit for adding ecr credential plugin 2021-07-05 10:16:44 +10:00
go.sum Initial commit for adding ecr credential plugin 2021-07-05 10:16:44 +10:00
LICENSE Initial Commit 2017-10-25 17:02:49 -07:00
main.go Use go mod to run go generate 2021-02-01 11:06:34 -07:00
Makefile update to k8s v1.21 and go 1.16 2021-04-30 15:16:59 -07:00
README.md updated latest rke version 2021-07-28 11:41:24 -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.

Latest Release

  • v1.2.11 - Read the full release notes.

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_METADATA_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) 2021 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.