MCPcopy Index your code
hub / github.com/rancher/rke

github.com/rancher/rke @v1.8.14 sqlite

repository ↗ · DeepWiki ↗ · release v1.8.14 ↗
1,030 symbols 3,687 edges 110 files 223 documented · 22% 1 cross-repo links
README

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.

🚨 Important Notice: RKE End of Life Announcement

Rancher Kubernetes Engine (RKE) is reaching its end of life. Version 1.8 will be the final release in the RKE 1.x series. We strongly recommend migrating to Rancher's newer Kubernetes distribution, RKE2, to stay supported, secure, and take advantage of the latest features and updates. For more details, please refer to the official SUSE EOL article.

Latest Release

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 - CURRENTYEAR 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.

Extension points exported contracts — how you extend this code

CloudProvider (Interface)
(no doc) [6 implementers]
cloudprovider/cloudprovider.go
DialerFactory (FuncType)
(no doc)
hosts/dialer.go
RestartFunc (FuncType)
(no doc)
services/services.go
GenFunc (FuncType)
(no doc)
pki/pki.go
CSRFunc (FuncType)
(no doc)
pki/pki.go

Core symbols most depended-on inside this repo

Infof
called by 209
log/log.go
Debugf
called by 201
log/log.go
setDefaultIfEmpty
called by 84
cluster/defaults.go
Infof
called by 63
log/log.go
Warnf
called by 42
log/log.go
ToCertObject
called by 41
pki/util.go
d
called by 41
cluster/defaults.go
Warnf
called by 35
log/log.go

Shape

Function 588
Method 323
Struct 110
FuncType 5
Interface 2
TypeAlias 2

Languages

Go100%

Modules by API surface

types/zz_generated_deepcopy.go146 symbols
types/rke_types.go67 symbols
pki/util.go43 symbols
cluster/cluster.go41 symbols
docker/docker.go37 symbols
hosts/hosts.go29 symbols
cluster/defaults.go27 symbols
cluster/addons.go27 symbols
pki/services.go26 symbols
cluster/encryption.go25 symbols
cluster/validation.go23 symbols
cluster/plan.go23 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

github.com/Azure/go-ansitermv0.0.0-2023012417243 · 1×
github.com/MakeNowJust/heredocv1.0.0 · 1×
github.com/Masterminds/goutilsv1.1.1 · 1×
github.com/Masterminds/semver/v3v3.1.1 · 1×
github.com/Microsoft/go-winiov0.6.2 · 1×
github.com/Microsoft/hcsshimv0.9.10 · 1×
github.com/apparentlymart/go-cidrv1.0.1 · 1×
github.com/aws/aws-sdk-gov1.38.65 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/blang/semverv3.5.1+incompatible · 1×
github.com/blang/semver/v4v4.0.0 · 1×

For agents

$ claude mcp add rke \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact