Skip to content

Rolling Cluster Node Upgrades for AWS EKS

Notifications You must be signed in to change notification settings

gmenuel/rotate-eks-asg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rotate-eks-asg Docker Repository on Quay

Rolling Cluster Node Upgrades for AWS EKS

Project Status: Used in production at Tenjin, some caveats apply.

Use Case

Apply security fixes, rollout new Kubernetes versions, or replace faulty nodes on AWS.

In general terms:

Usage

You can run this tool from your CI or locally. Typically we bundle it as a script and inject secrets within the CI.

Example using standard AWS SDK credentials and an assumed role:

#!/bin/bash
set -ex
docker run --rm -it \
    -e ACCESS_KEY_ID=${ACCESS_KEY_ID:?}
    -e SECRET_ACCESS_KEY=${SECRET_ACCESS_KEY:?}
    -e ROLE_ARN=${ROLE_ARN:?}
    -e CLUSTER=your-cluster-name \
    -e AUTOSCALING_GROUPS=${AUTOSCALING_GROUP:?} \
    rotate-eks-asg:latest

About

Rolling Cluster Node Upgrades for AWS EKS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 85.5%
  • Dockerfile 8.5%
  • Shell 4.0%
  • Makefile 2.0%