add skeleton of values file for cilium, add some bash notes into readme

This commit is contained in:
2024-06-08 11:16:47 +02:00
parent db6dfeaeb9
commit c24aef3d7c
2 changed files with 35 additions and 1 deletions

View File

@@ -1,3 +1,25 @@
# Home Kubernetes
Home kubernetes lab IAC and documentation
Home kubernetes lab IAC and documentation
## helper commands & notes
```bash
export KUBECONFIG=/etc/kubernetes/admin.conf
alias k=kubectl
# install helm
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
# cilium installation
helm repo add cilium https://helm.cilium.io/
helm install cilium cilium/cilium --version 1.15.5 \
--namespace kube-system
```

View File

@@ -0,0 +1,12 @@
cluster:
name: "home-kube"
hubble:
relay:
enabled: true
ui:
enabled: true
ipam:
mode: cluster-pool
operator:
clusterPoolIPv4MaskSize: 24
clusterPoolIPv4PodCIDRList: "10.96.0.0/16"