Skip to content

samip5/k8s-dev-cluster

Repository files navigation

DEV Kubernetes cluster

This is the cluster where I test things.

Cluster bootstrap using ArgoCD

Cilium install aka CNI

kubectl kustomize --enable-helm kubernetes/infra/core/cilium | kubectl apply -f -

External Secrets Operator and token secret to go along with it

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

kubectl kustomize --enable-helm kubernetes/infra/controllers/cert-manager| kubectl apply -f -

Argo CD

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

kubectl -n argocd get secret argocd-initial-admin-secret -ojson | jq -r ' .data.password | @base64d'

Apply app-of-apps

kubectl apply -k kubernetes/sets

💻 Nodes

Node Hostname RAM Storage Function Operating System
Raspberry Pi 4 Model B m1 8GB 128GB SSD Kube Master Talos 1.8.0-alpha.1
Raspberry Pi 4 Model B w2 8GB 256GB SSD Kube Worker Talos 1.8.0-alpha.1