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

https://github.com/dxas90/k3d-cluster

This repo is to create a full kubernetes cluster using k3d with MetalLb, prometheus, cert-manager, and traefik.
https://github.com/dxas90/k3d-cluster

helm k3s localhost makefile

Last synced: 11 months ago
JSON representation

This repo is to create a full kubernetes cluster using k3d with MetalLb, prometheus, cert-manager, and traefik.

Awesome Lists containing this project

README

          

# K3s local cluster

## Table of Contents

- [K3s local cluster](#Readme.md)
- [Table of Contents](#table-of-contents)
- [Description](#description)
- [Requirements](#requirements)
- [Install](#install)
- [Usage](#usage)
- [Monitoring](#monitoring)
- [Troubleshooting](#troubleshooting)
- [License](#license)

## Description

This repo is to create a full kubernetes cluster using [k3d](https://k3d.io/) with MetalLb, prometheus, certmanager and traefik.

## Requirements

You will need it on your computer

* [direnv](https://direnv.net/docs/installation.html)
* [docker](https://docs.docker.com/engine/install/ubuntu/)
* [jq](https://stedolan.github.io/jq/download/)
* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-kubectl-on-linux)
* [K3d](https://k3d.io/)
* [task](https://taskfile.dev/installation/)

## Install

Here you should document any install steps required to use this module. You should consider documenting any pre-requisites in this section too.

```console
# Normal user
wget https://github.com/go-task/task/releases/download/latest/task_linux_amd64.tar.gz
tar xf task_linux_amd64.tar.gz
install -m 0755 task /usr/local/bin/task

# or YOLO mode
sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin

#After that you can run

task init
sudo task install:docker
task # or task all
```

## Usage

To create the cluster just run the `make` command.

```sh
make
```

## Troubleshooting

you can use the `--debug` flag to check the commands

## License

![Apache2](https://img.shields.io/github/license/dxas90/k3d-cluster)