Skip to content

FullStackS-GmbH/k3s-rancher-autoregister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

k3s-rancher-autoregister

FullStackS GmbH

OpenNebula Systems

Use Case

This is a mockup of a self registering K3S cluster in Rancher. The self-registering is done via the Rancher API and Shell scripts inside a (auto deployed) Pod, running in the local cluster.

This mockup is used for SUSECON DIGITAL 2021 together with our partner OpenNebula Systems showcasing a new approach for the far edge.

Warning

This is not fail-safe and production ready. It is an mockup for showcasing possibilites. In production we run those automations with a different approach.

How-To

Rancher Management Cluster

API Token

OpenNebula

K3S Manifest

Place the YAML Manifest under /var/lib/rancher/k3s/server/manifests

Secret

Populate the secret with

  • RANCHER_API_ENDPOINT: URL of your Rancher Server
  • CATTLE_ACCESS_KEY: User Part of API Token
  • CATTLE_SECRET_KEY: Password Part of API Token

About

Mockup for self registering K3S clusters in Rancher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published