Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HomeEnterpriseInc/Home-Setup-Pub
https://github.com/HomeEnterpriseInc/Home-Setup-Pub
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/HomeEnterpriseInc/Home-Setup-Pub
- Owner: HomeEnterpriseInc
- License: apache-2.0
- Created: 2021-10-27T15:09:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T13:37:26.000Z (about 1 year ago)
- Last Synced: 2024-08-01T13:29:05.367Z (3 months ago)
- Size: 13.7 KB
- Stars: 21
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Home Setup
This is a project for starter to setup whole home in kubernetes infrastructure. Please contact me if you need my help to setup this project.
### Pre Requisites
* Hardware running Linux OS
* Kubernetes with worker nodes or standalone setup
* ArgoCD for gitops
* Metrics - I prefer datadog free tier
* cert-bot operator
* persistent volume### Assumed Constants
* `ClusterIssuer` by name `letsencrypt`### Steps to use this repository
1. Install Ubuntu Server & Open SSH
2. Install Docker - https://docs.docker.com/engine/install/ubuntu/
3. Install Kubernetes - K3s
```shell
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644 --docker --disable traefik,local-storage,metrics-server
```
3. Install ArgoCD -
```shell
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```
4. Get ArgoCD secret
```shell
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
```
5. Expose ArgoCD UI -
```shell
kubectl port-forward svc/argocd-server -n argocd 8080:443
```
6. Access ArgoCD https://localhost:8080 with username `admin` and password got it in step 4
7. Configure Projects, Repositories
8. Fork the repository, make your changes and add it as repository
9. Create Application from Git and direct to `apps` folder and all the application should be created automatically.