add skeleton of values file for cilium, add some bash notes into readme
This commit is contained in:
22
README.md
22
README.md
@@ -1,3 +1,25 @@
|
|||||||
# Home Kubernetes
|
# 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
|
||||||
|
```
|
||||||
12
vagrant/k8s/cilium-values.yaml
Normal file
12
vagrant/k8s/cilium-values.yaml
Normal 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"
|
||||||
Reference in New Issue
Block a user