Giter VIP home page Giter VIP logo

eks's Introduction

EKS

Implementation of EKS setup using Terraform. Terraform module located in terraform directory supports deployment to different AWS partitions. I have tested it with commercial and china partitions. I am actively using this configuration to run EKS setup in Ireland(eu-west-1), North Virginia(us-east-1) and Beijing(cn-north-1).

Module details

Module creates:

  • VPC
  • VPC Endpoints- S3, ECR, STS, APS, GuardDuty
  • EKS Cluster
  • EKS Node Group to run cluster critical services
  • EKS Addons- coredns, kube-proxy, guardduty, aws-ebs-csi-driver, adot (requires cert-manger to be installed), kubecost
  • IAM Roles for worker nodes and Karpenter nodes
  • Additional IAM Roles for operators- load-balancer-controller, external-dns, cert-manager, adot-collector
  • SQS queue configuraiton to be used with Karpeneter while utlising Spot Instances.

Kubernetes addons and operators

I am utilising Flux2 to deploy all additional configurations. You can find them at https://github.com/marcincuber/kubernetes-fluxv2 I have built this as a separate repository to show how to develop a successful configuration for your cluster using GitOps FluxV2 and Helm.

You will find configurations for:

  • ALB ingress controller
  • AWS Load Balancer controller
  • AWS node termination handler
  • Calico
  • Cert Manager
  • Cluster Autoscaler
  • Dashboard
  • External-DNS
  • External Secrets Operator
  • Metrics server
  • Reloader
  • VPC CNI Plugin
  • EBS CSI Driver
  • and more :)

Docs and other additional resources

Check out my stories on medium if you interested in finding out more on specific topics.

Amazon EKS upgrade 1.26 to 1.27

Amazon EKS upgrade journey from 1.26 to 1.27

Amazon EKS upgrade 1.25 to 1.26

Amazon EKS upgrade journey from 1.25 to 1.26

Amazon EKS upgrade 1.24 to 1.25

Amazon EKS upgrade journey from 1.24 to 1.25

Amazon EKS upgrade 1.23 to 1.24

Amazon EKS upgrade journey from 1.23 to 1.24

Amazon EKS upgrade 1.22 to 1.23

Amazon EKS upgrade journey from 1.22 to 1.23

Amazon EKS upgrade 1.21 to 1.22

Amazon EKS upgrade journey from 1.21 to 1.22

Amazon EKS upgrade 1.20 to 1.21

Amazon EKS upgrade journey from 1.20 to 1.21

Amazon EKS Addons

Amazon EKS Addons

EKS + Kube-bench

Kube-bench implementation with EKS

Amazon EKS design, use of spot instances and cluster scaling

More about my configuration can be found in the blog post I have written recently -> EKS design

IAM Roles for specific namespaces

Amazon EKS- RBAC with IAM access

IAM Roles for service accounts using OpenID Connect

Using OIDC provider to allow service accounts to assume IAM role

Kube2iam

More about kube2iam configuration can be found in the blog post I have written recently -> EKS and kube2iam

External DNS

Amazon EKS, setup external DNS with OIDC provider and kube2iam

EKS Managed Node Groups

Amazon EKS + managed node groups

Terraform module written by me can be found in -> https://registry.terraform.io/modules/umotif-public/eks-node-group

Gitlab runners on EKS

Kubernetes GitLab Runners on Amazon EKS

Useful resources

EKS platforms information Worker nodes upgrades

Generate kubeconfig file

On user's machine who has been added to EKS, they can configure .kube/config file using the following command:

$ aws eks list-clusters
$ aws eks update-kubeconfig --name ${cluster_name}

eks's People

Contributors

marcincuber avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.