Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new readme #1

Merged
merged 1 commit into from
Apr 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# terraform-hcloud-rancher-cloudflare
This project deploys rancher on hetzner with a custom cluster configuration.
<div align="center" width="100%">
<h2>hcloud rke2 module</h2>
<p>Simple and fast creation of a rke2 Kubernetes cluster on Hetzner Cloud.</p>
<a target="_blank" href="https://github.com/wenzel-felix/terraform-hcloud-rke2/stargazers"><img src="https://img.shields.io/github/stars/wenzel-felix/terraform-hcloud-rke2" /></a>
<a target="_blank" href="https://github.com/wenzel-felix/terraform-hcloud-rke2/releases"><img src="https://img.shields.io/github/v/release/wenzel-felix/terraform-hcloud-rke2?display_name=tag" /></a>
<a target="_blank" href="https://github.com/wenzel-felix/terraform-hcloud-rke2/commits/master"><img src="https://img.shields.io/github/last-commit/wenzel-felix/terraform-hcloud-rke2" /></a>
</div>

## ✨ Features

- Create a robust Kubernetes cluster deployed to multiple zones
- Fast and easy to use
- Available as module

## 🤔 Why?

There are existing Kubernetes projects with Terraform on Hetzner Cloud, but they often seem to have a large overhead of code. This project focuses on creating an integrated Kubernetes experience for Hetzner Cloud with high availability and resilience while keeping a small code base.

## 🔧 Prerequisites

There are no special prerequirements in order to take advantage of this module. Only things required are:
* a Hetzner Cloud account
* access to Terraform

## 🚀 Usage

### Standalone

``` bash
terraform init
terraform apply
```

### As module

Refer to the module registry documentation [here](https://registry.terraform.io/modules/wenzel-felix/rke2/hcloud/latest).
3 changes: 2 additions & 1 deletion examples/rancher-setup/helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ provider "helm" {

resource "helm_release" "cert_manager" {
depends_on = [
cloudflare_record.rancher
cloudflare_record.rancher,
module.rke2
]
name = "cert-manager"
namespace = "cert-manager"
Expand Down