1
0
mirror of https://github.com/rancher/rke.git synced 2025-05-08 00:07:34 +00:00
Mirror RKE from github
Go to file
2024-10-21 15:57:12 -07:00
.github Add setup to generate and upload sha256sum file 2024-08-14 17:18:37 +05:30
addons
authz
cloudprovider
cluster Add ACI CNI 6042 variables 2024-06-30 23:03:17 -07:00
cmd
codegen switch KDM to the dev branch after the release is done 2024-10-21 15:24:28 -07:00
data go generate 2024-08-28 17:05:44 +00:00
dind Move from drone to GHA for rke 1.4 () 2024-07-02 18:21:04 -04:00
docker
docs
hosts
k8s
log
metadata
package
pki
scripts Move from drone to GHA for rke 1.4 () 2024-07-02 18:21:04 -04:00
services
templates
types Add ACI CNI 6042 variables 2024-06-30 23:03:17 -07:00
util Move from drone to GHA for rke 1.4 () 2024-07-02 18:21:04 -04:00
.dockerignore
.gitignore
.golangci.json
Dockerfile.dapper
generate.go
go.mod
go.sum
LICENSE
main.go
Makefile
README-template.md
README.md
SECURITY.md
vendor.go

rke

This file is auto-generated from README-template.md, please make any changes there.

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

Latest Release

  • v1.4
    • v1.4.7 - Read the full release notes.
  • v1.3
    • v1.3.22 - Read the full release notes.
  • v1.2
    • v1.2.23 - Read the full release notes.

Download

Please check the releases page.

Requirements

Please review the 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 Setting up a High-availability RKE Kubernetes Cluster 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.

Read codegen/codegen.go to check the default location for fetching data.json. You can override the default location as seen in the example below:

# Fetch data.json from default location
go generate

# Fetch data.json from URL using RANCHER_METADATA_URL
RANCHER_METADATA_URL=${URL} go generate

# Use data.json from local file
RANCHER_METATDATA_URL=./local/data.json go generate

# Compile RKE
make

To override RANCHER_METADATA_URL at 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]

License

Copyright © 2017 - 2023 SUSE LLC 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.