Guide here:https://joshuajordancallis.medium.com/setup-eks-and-flux-2-with-terraform-c9677eea5731
Navigate to eks/cluster.yaml
Run the blow command in the CLI.
#!/bin/bash
eksctl create cluster --config-file cluster.ymlThis can take upto an hour, this will create the Kubernetes cluster in EKS aws.
Install
Homebrew
brew install fluxcd/tap/fluxor bash:
curl -s https://fluxcd.io/install.sh | sudo bash
# enable completions in ~/.bash_profile
. <(flux completion bash)(shoudnt have any issues)
flux check --preflux 2 provisioned via terraform. See, flux2/...
run
make planonce you are happy with the plan apply it via.
make build