Giter Site home page Giter Site logo

k3s-hcloud's Introduction

K3S on Hetzner Cloud

This repository contains a Terraform template to spin up a k3s cluster on Rancher. It also provides a Helm-Chart which contains two Subcharts for installing the hcloud-cloud-controller-manager and the hcloud-csi-driver. Thanks to Matthias Lohr for providing the Helm Charts.

Usage

Cluster Provisioning

  1. Copy the terraform.tfvars.example to terraform.tfvars and hand in the information
  2. Take a look at the variables.tf to check if you want to add more config
  3. Run terraform init and terraform plan. Check if everything seems ok
  4. Run terraform apply and let Terraform do the deployment
  5. Get your kubeconfig by running chmod +x ./cp-kubeconf.sh followed by ./cp-kubeconf.sh <IP Adress of your Management Node>

Add Hetzner Cloud Integrations

The attached Helm Chart can install all necessary components to provide a tight integration with Hetzner Cloud.

  1. Initialize the submodules by running git submodule update --init --recursive
  2. Install the Helm-Chart, using e.g. helm --kubeconfig ./kube_config.yaml upgrade --namespace kube-system --install -f ./controller-values.yaml setup ./controller
    • If you choose another command for helm installation, please name your Helm deployment setup or change the variable hcloud-csi-driver.csiDriver.secret.name
  3. Check if all components get up

k3s-hcloud's People

Contributors

alexzimmer96 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.