This is a simple pipeline using CircleCI. The idea is to be able to create a cluster in the cloud without having to install everything in a local machine, then use it for 9 minutes and then it automatically deletes it
- CircleCI
- AWS EKS (Kubernetes)
- circleci/aws-eks@1.1.0s
- circleci/kubernetes@0.4.0
-
Create the CircleCI account
-
Create a GitHub repository
-
Download or clone this project
-
Push this project to your GitHub repository
-
In CircleCI setup the project.
Once on the Project page, find the project you are using and click Set Up Project.
According to the AWS EKS orb’s repo it is very important to meet these requirements before running the pipeline:
Add the AWS credentials as environment variables. Configure AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
and AWS_DEFAULT_REGION
as CircleCI project or context environment variables as shown in the links provided for project or context.
Add the policies to the IAM user suggested in the official eksctl website as Minimum IAM policies
Run the Pipeline by pushing a new commit to the GitHub repository or manually in the project’s GUI in CircleCI