Skip to content

rancher/cluster-template-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RKE2 cluster template

This project contains rke2 cluster template helm chart, which can be applied with values.yaml as configurations to create clusters.

Adding the Helm Chart via CLI

helm repo add cluster-templates https://raw.githubusercontent.com/rancher/cluster-template-examples/main
helm repo update

Adding the Helm Chart via Rancher Manager

  1. Authenticate into the Rancher Manager UI.
  2. Open local cluster in Cluster Explorer.
  3. In the left sidebar, go to Apps -> Charts -> Repositories.
  4. Click Create and provide the following details:
Name: cluster-templates
Target: Git Repository containing Helm chart definitions
Git Repo URL: https://github.com/rancher/cluster-template-examples
Authentication: None

How to use

The general cluster configuration options are available through values.yaml.

To provide your own configuration, modify the original values.yaml and create your own version, and pass it to helm. For example:

helm install --namespace fleet-default --values ./charts/your-own-values.yaml do-cluster ./charts

For different cloud provider options on nodepools, checkout

Amazonec2

DigitalOcean

Harvester

Vsphere

Azure

Version control

The version control is implemented as helm release history and can easily be implemented by UI to provide operation history and rollback.

License

Copyright (c) 2014-2021 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

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published