https://github.com/thatmlopsguy/k8s-homelab
GitOps Configuration and documentation of my Kubernetes homelab powered by ArgoCD
https://github.com/thatmlopsguy/k8s-homelab
argocd devops gitops gitops-bridge homelab k8s kubernetes platform-engineering terraform
Last synced: over 1 year ago
JSON representation
GitOps Configuration and documentation of my Kubernetes homelab powered by ArgoCD
- Host: GitHub
- URL: https://github.com/thatmlopsguy/k8s-homelab
- Owner: thatmlopsguy
- Created: 2025-02-11T18:39:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T08:27:38.000Z (over 1 year ago)
- Last Synced: 2025-02-25T09:29:13.107Z (over 1 year ago)
- Topics: argocd, devops, gitops, gitops-bridge, homelab, k8s, kubernetes, platform-engineering, terraform
- Language: HCL
- Homepage: https://thatmlopsguy.github.io/k8s-homelab/
- Size: 704 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8s-homelab
My kubernetes homelab to test some applications.
## Prerequisite
* [Docker](https://www.docker.com/)
* [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/)
* [Helm](https://helm.sh/docs/intro/install/)
* [Kubectl](https://kubernetes.io/docs/tasks/tools/)
* [kustomize](https://kustomize.io/)
* [k9s](https://k9scli.io/) (optional, if you'd like to inspect your cluster visually)
```sh
$ kubectl version
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
$ kind version
kind v0.23.0 go1.22.5 linux/amd64
$ helm version
version.BuildInfo{Version:"v3.15.2", GitCommit:"v3.15.2", GitTreeState:"", GoVersion:"go1.22.5"}
```
To increase these limits temporarily run the following commands on the host:
```sh
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512
```
Source: [Pod errors due to “too many open files”](https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files)
## Installation
The following command with create a kind cluster.
```sh
make terraform-apply
```
If you enable in `terraform.tfvars` the gitops bridge by setting `enable_gitops_bridge = true`, then argocd will be also
installed and all the enabled addons.
You can inspect the deployed clusters by typing:
```sh
$ kind get clusters
main
```