https://github.com/samip5/k8s-dev-cluster
DEV fullstack cluster
https://github.com/samip5/k8s-dev-cluster
kubesearch
Last synced: about 1 year ago
JSON representation
DEV fullstack cluster
- Host: GitHub
- URL: https://github.com/samip5/k8s-dev-cluster
- Owner: samip5
- License: mit
- Created: 2023-07-17T03:37:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T20:05:27.000Z (over 1 year ago)
- Last Synced: 2024-11-12T21:19:04.410Z (over 1 year ago)
- Topics: kubesearch
- Language: Python
- Homepage:
- Size: 741 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEV Kubernetes cluster
This is the cluster where I test things.
## Cluster bootstrap using ArgoCD
Cilium install aka CNI
```shell
kubectl kustomize --enable-helm kubernetes/infra/core/cilium | kubectl apply -f -
```
CoreDNS
```shell
kubectl kustomize --enable-helm kubernetes/infra/core/coredns | kubectl apply -f -
```
External Secrets Operator and token secret to go along with it
```shell
sops -d kubernetes/infra/controllers/external-secrets/secret.sops.yaml | kubectl apply -f -
kubectl kustomize --enable-helm kubernetes/infra/controllers/external-secrets | kubectl apply -f -
```
cert-manager
```shell
kubectl kustomize --enable-helm kubernetes/infra/controllers/cert-manager| kubectl apply -f -
```
Argo CD
```shell
sops -d kubernetes/infra/core/argocd/sops-secret.sops.yaml | kubectl apply -f -
kubectl kustomize --enable-helm kubernetes/infra/core/argocd | kubectl apply -f -
```
Get Argo CD admin secret
```shell
kubectl -n argocd get secret argocd-initial-admin-secret -ojson | jq -r ' .data.password | @base64d'
```
Apply app-of-apps
```shell
kubectl apply -k kubernetes/sets
```
## 💻 Nodes
| Node | Hostname | RAM | Storage | Function | Operating System |
|-------------------------------|----------|-----|----------------|-------------|------------------|
| Raspberry Pi Compute Module 4 | m1 | 8GB | 256GB NVMe SSD | Kube Master | Talos |
| Raspberry Pi 4 Model B | w1 | 8GB | 256GB SSD | Kube Worker | Talos |