Skip to content
/ rke Public
forked from rancher/rke

Rancher Kubernetes Engine (RKE), an extremely simple, lightning fast Kubernetes distribution that runs entirely within containers.

License

Notifications You must be signed in to change notification settings

ko5tas/rke

This branch is 304 commits behind rancher/rke:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
Dec 5, 2017
Mar 30, 2020
Aug 19, 2019
Dec 13, 2017
Jul 12, 2020
Jul 24, 2020
Jul 24, 2020
Mar 27, 2020
Jul 30, 2020
Jan 22, 2019
Jul 24, 2020
Jul 12, 2020
Mar 27, 2020
Jan 16, 2020
Jul 22, 2020
Jan 15, 2018
Jul 24, 2020
Jul 12, 2020
Jul 24, 2020
Jul 12, 2020
Jul 21, 2020
Sep 20, 2019
Jul 12, 2020
Oct 26, 2017
Jun 24, 2019
Feb 6, 2020
Dec 9, 2019
Oct 26, 2017
Oct 26, 2017
Feb 24, 2020
Jul 12, 2020
Jul 12, 2020
Jul 12, 2020
Jul 12, 2020
Aug 21, 2019
Feb 24, 2020

Repository files navigation

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.

About

Rancher Kubernetes Engine (RKE), an extremely simple, lightning fast Kubernetes distribution that runs entirely within containers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%