infrastructure information
This page contains how to use Kubernetes in this project.
We use FluxCD and GitRepository to manage Kubernetes manifests.
This git repository was generated from This template.
Kubectl
This code from Kubernetes Docs
# Download Kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
# Install kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# Completion
echo 'source <(kubectl completion bash)' >>~/.bashrc
Flux CLI
curl -s https://fluxcd.io/install.sh | sudo bash
# add completion
echo '. <(flux completion bash)' >>~/.bashrc
flux bootstrap github \
--components-extra=image-reflector-controller,image-automation-controller \
--token-auth \
--owner=solufit \
--repository=infrastructure \
--branch=main \
--path=clusters/production \