Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hetznercloud/kubernetes-dev-env

Kubernetes development environment for our Integrations.
https://github.com/hetznercloud/kubernetes-dev-env

k3s kubernetes terraform terraform-module

Last synced: 26 days ago
JSON representation

Kubernetes development environment for our Integrations.

Awesome Lists containing this project

README

        

# Kubernetes development environment

This repository contains a terraform module used to setup a Kubernetes development environment in Hetzner Cloud.

> [!WARNING]
> This project is not an official Hetzner Cloud Integration and is intended to be used internally. There is no backwards-compatibility promise.

## Usage

To setup a development environment, make sure you installed the following tools:

- [tofu](https://opentofu.org/)
- [k3sup](https://github.com/alexellis/k3sup)

1. Configure a `HCLOUD_TOKEN` in your shell session.

> [!WARNING]
> The development environment runs on Hetzner Cloud servers which will induce costs.

2. Deploy the development cluster:

```sh
make -C example up
```

3. Load the generated configuration to access the development cluster:

```sh
source example/files/env.sh
```

4. Check that the development cluster is healthy:

```sh
kubectl get nodes -o wide
```

⚠️ Do not forget to clean up the development cluster once are finished:

```sh
make -C example down
```