Skip to content

A basic EKS cluster

If you're already in the AWS ecosystem, it may make sense for you to deploy your Kubernetes cluster using EKS.

What follows are notes I made while establishing a very basic cluster to work on OIDC authentication for EKS using authentik.

Ingredients

  1. AWS CLI tools awscli and eksctl, configured for your IAM account
  2. Some spare change 💰 on your AWS account for a few hours / days of EC2 for the underlying nodepool.

Preparation

Create cluster

Creating an EKS cluster is a one-line command. I ran eksctl create cluster --name funkypenguin-authentik-test --region ap-southeast-2 to create my cluster.

It took 14 minutes to complete 🤦‍♂️

Setup EBS CSI driver

The default storageclass (gp2) didn't work for me, and I like storage based on CSI, so that I can use Velero with csi-snapshotter, so I added the EBS CSI Driver. This is optional if you don't care about CSI or persistent storage!

Summary

Well, I'm done. This is probably the shortest recipe ever (although 14 min is a comparatively long time, IMO, to deploy a simple cluster). The links on this page to the various steps (OIDC, storage) will provide more detail on those particular configs.

Chef's notes 📓

///Footnotes Go Here///

Tip your waiter (sponsor) 👏

Did you receive excellent service? Want to compliment the chef? (..and support development of current and future recipes!) Sponsor me on Github / Ko-Fi / Patreon, or see the contribute page for more (free or paid) ways to say thank you! 👏

Employ your chef (engage) 🤝

Is this too much of a geeky PITA? Do you just want results, stat? I do this for a living - I'm a full-time Kubernetes contractor, providing consulting and engineering expertise to businesses needing short-term, short-notice support in the cloud-native space, including AWS/Azure/GKE, Kubernetes, CI/CD and automation.

Learn more about working with me here.

Flirt with waiter (subscribe) 💌

Want to know now when this recipe gets updated, or when future recipes are added? Subscribe to the RSS feed, or leave your email address below, and we'll keep you updated.

Your comments? 💬