RunbooksInstallation
Dev
Dev environment installation process
Prerequisites
- A Kubernetes cluster running with k3d
- The Kubectl and Helm CLI installed on the host
Process
With Make
Clone the repository
git clone https://github.com/TimotheeRen/KubePods.gitStart the cluster
make devIt will automatically create a cluster, then install and configure the flux-operator in it.
Manually
Clone the repository
git clone https://github.com/TimotheeRen/KubePods.gitCreate the cluster with K3d
k3d cluster create --config k3d/dev-env.yaml \
--port "8080:30080@loadbalancer" \
--port "8443:30443@loadbalancer"Install the flux-operator chart
helm install flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \
--namespace flux-system \
--create-namespaceApply Flux's dev configuration file
kubectl apply -f flux-dev.yamlVerification
Check if the Kubernetes cluster is running:
kubectl cluster-infoIf you have the Flux CLI installed, check for any reconciliation error:
flux get allMake sure everything is marked as "Ready".