Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.42 KB

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