24 lines
751 B
Markdown
24 lines
751 B
Markdown
# Home Kubernetes
|
|
|
|
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 --values cilium-values.yaml
|
|
``` |