1
0
mirror of https://github.com/rancher/rke.git synced 2025-05-08 16:27:43 +00:00
Mirror RKE from github
Go to file
Rayan Das f014d19f8a
Merge pull request from rayandas/docker24-kdm-data
[release/v1.4.8] Vendor KDM data
2023-06-30 11:15:49 +05:30
.github Improve getting releases/tags when updating README 2022-11-29 09:09:20 +01:00
addons Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
authz Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
cloudprovider Support harvester cloud provider 2021-11-10 17:19:29 +08:00
cluster Revert "set the default PodSecurityConfiguration value only if the cluster's k8s version is at least 1.23 ()" 2023-06-21 08:56:15 -07:00
cmd add the support for PodSecurity on cluster at least v1.23 2022-11-22 12:03:45 -07:00
codegen vendor KDM data 2023-06-30 10:40:43 +05:30
data vendor KDM data 2023-06-30 10:40:43 +05:30
dind Test all CNI in CI 2021-06-24 13:36:56 +02:00
docker Added retry for snapshot and s3 upload, verify etcd running on host () 2022-06-23 18:30:58 -04:00
hosts Added retry for snapshot and s3 upload, verify etcd running on host () 2022-06-23 18:30:58 -04:00
k8s drop the checks for PSP resources in the cluster 2023-03-02 10:55:40 -07:00
log Revert "Revert "Encryption Key Rotation Changes"" 2020-12-14 11:51:46 -07:00
metadata update rke dev version 2022-10-14 13:12:27 -07:00
package Update base images to Ubuntu 20.04 2020-08-07 15:53:08 +02:00
pki Use constant instead of value for cert duration 2022-09-21 14:07:37 +09:00
scripts fix ci 2023-05-03 16:51:27 +05:30
services Added retry for snapshot and s3 upload, verify etcd running on host () 2022-06-23 18:30:58 -04:00
templates Add compatibility with k8s v1.22 2021-11-04 16:50:58 +01:00
types Added ACI-CNI 5.2.7.1 variables 2023-06-14 09:50:38 +05:30
util Do not rewrite SELinux labels on volume mounts 2021-11-19 22:39:56 +01:00
.dockerignore Test all CNI in CI 2021-06-24 13:36:56 +02:00
.drone.yml enable fossa scanning () 2022-05-31 16:27:49 -04: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 bump Go version used in Dapper 2022-11-22 12:03:45 -07:00
generate.go Move rke types from rancher/types to ./types 2020-07-11 23:29:33 -07:00
go.mod Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible () 2023-06-15 12:05:57 -07:00
go.sum Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible () 2023-06-15 12:05:57 -07: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-template.md Add workflow to update README with latest versions 2022-06-09 14:50:43 +02:00
README.md update README with latest 2023-04-07 06:24:11 +00:00
SECURITY.md Add security policy 2022-01-27 11:29:17 +01:00
vendor.go Move rke away from kdm vendor 2020-02-24 10:14:25 -07:00

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.4 - Read the full release notes.
  • v1.3
    • v1.3.19 - 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 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.6/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.6/data.json.

License

Copyright (c) 2023 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.