Skip to content

Delay/Schedule automated AMI updates #328

@preflightsiren

Description

@preflightsiren

Is this a BUG REPORT or FEATURE REQUEST?: Feature Request

Problem: When utilising #320 companies often have different tiers/channels of stability. Often they will want to have an AMI applied to development clusters, before being applied to production clusters.

Solution: Specify in configuration the amount of delay a cluster would like to add before updating the ASG configuration.

eg.

apiVersion: instancemgr.keikoproj.io/v1alpha1
kind: InstanceGroup
metadata:
  annotations:
    instancemgr.keikoproj.io/os-family: "amazonlinux2"
    instancemgr.keikoproj.io/lock-upgrades: "true"
    instancemgr.keikoproj.io/upgrade-delay: "7d"
  name: amazonlinux2-us-west-2b
  namespace: instance-manager
spec:
  eks:
    configuration:
      image: latest

Would update the image ID 7 days after the SSM parameter is changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions