The following command will set up your cluster with:
and add their manifests to Git, so you can configure them through pull requests.
Run this command from any directory in your file system. eksctl will clone your repository in a temporary directory that will be removed later.
EKSCTL_EXPERIMENTAL=true \
eksctl enable repo \
--git-url git@github.com:example/my-eks-config \
--git-email your@email.com \
--cluster your-cluster-name \
--region your-cluster-region
Let us go through the specified arguments one by one:
eksctl get cluster
to see all clusters in your default region.There are more arguments and options, please refer to the GitOps reference of eksctl which details all the flags and resulting directory structure.