Skip to content

Repository files navigation

nomad-node-term-handler

Nomad node termination handler for AWS

This docker image monitors an sqs queue for asg node termination events and calls nomad node drain -enable and once done completes the asg lifecycle hook

Permissions Required

  statement {
    sid    = "NodeTerm"
    effect = "Allow"

    actions = [
      "autoscaling:CompleteLifecycleAction",
      "ec2:DescribeInstances",
      "sqs:ReceiveMessage",
      "sqs:DeleteMessage",
      "sqs:GetQueueUrl",
    ]

    resources = ["*"]
  }

About

Nomad node termination handler for AWS

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages