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.
- Host: GitHub
- URL: https://github.com/dxas90/k3d-cluster
- Owner: dxas90
- License: apache-2.0
- Created: 2021-06-08T11:50:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-27T16:35:37.000Z (11 months ago)
- Last Synced: 2025-03-02T02:13:14.930Z (11 months ago)
- Topics: helm, k3s, localhost, makefile
- Language: Makefile
- Homepage:
- Size: 1.7 MB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
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
