1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-01 07:08:38 +00:00
Mirror RKE from github
Go to file
Jack Luo 78f79d88f3
Improve the workflows (#3838)
1. Use Personal Access Token (PAT) for creating PR in the update-readme workflow

Currently, the PR made by the update-readme workflow does not trigger the CI to run, because GitHub does not trigger workflows for pull requests made by a GitHub Actions token (GITHUB_TOKEN) by default.
To fix the above issue, with this PR, the workflow will now retrieve and use a Personal Access Token (PAT) for creating the PR.

2. Add the same paths-ignore to the test-cni workflow as the one in the main workflow
2025-04-25 12:18:35 -07:00
.github Improve the workflows (#3838) 2025-04-25 12:18:35 -07:00
addons
authz removal of podsecuritypolicy code 2024-05-17 22:32:40 +05:30
cloudprovider
cluster Revert "use sha256 for checksumming when k8s version >= 1.31.6" 2025-04-17 11:13:08 -07:00
cmd [v1.6] Fixes 478 2024-06-14 12:01:31 -07:00
codegen Fixes for generating data.json 2024-08-29 12:28:14 -07:00
data go generate (#3840) 2025-04-24 11:31:37 -07:00
dind Move from drone to Github Actions for 1.6 2024-06-10 11:14:35 +05:30
docker
docs Add architecture.md 2024-01-09 09:42:19 +01:00
hosts
k8s [v1.6] Fixes 478 2024-06-14 12:01:31 -07:00
log
metadata update kdm to dev-v2.9 2024-04-17 10:35:39 -07:00
pki Reapply "fix: fix slice init length (#3695)" 2025-02-19 16:42:08 -03:00
scripts updated kubectl download url for ci 2024-10-03 23:29:22 +05:30
services add timeout to etcd member add call 2024-06-27 16:33:39 -07:00
templates removal of podsecuritypolicy code 2024-05-17 22:32:40 +05:30
types go generate 2025-03-05 22:11:04 +05:30
util Revert "use sha256 for checksumming when k8s version >= 1.31.6" 2025-04-17 11:13:08 -07:00
.dockerignore
.gitignore
.golangci.json
CODEOWNERS Update CODEOWNERS 2024-05-31 15:47:20 -04:00
Dockerfile.dapper [ci] golangci version to 1.57.2 | golang to 1.22 | fix ci issue 2024-05-17 22:33:07 +05:30
generate.go updated libraries for k8s 1.30 2024-06-12 05:44:01 +05:30
go.mod bump go to v1.22.8 2024-10-24 11:46:25 +05:30
go.sum Bump github.com/opencontainers/runc from 1.1.12 to 1.1.14 2024-09-03 20:28:13 +00:00
LICENSE
main.go updated libraries for k8s 1.30 2024-06-12 05:44:01 +05:30
Makefile
README-template.md
README.md update latest versions in readme 2024-04-10 13:59:40 -07:00
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.5
    • v1.5.8 - Read the full release notes.
  • v1.4
    • v1.4.17 - 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.