No commit activity in last 3 years
No release in over 3 years
Library for finding load balancers, when you have too many
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.6.3, ~> 2.6
>= 0.14.0, ~> 0.14
 Project Readme

Burdened Acrobat

Overview

burdened-acrobat helps identity specific load balancers (or groups of load balancers), when you have an unreasonable number of them. It does this by treating the problem as one of set membership.

Why does this exist?

Some orchestration systems create large numbers of load balancers. Eventually, this becomes unwieldy to manage. burdened-acrobat makes it simple again.

Installation

gem install burdened-acrobat

Usage

require 'burdened-acrobat'

load_balancers = BurdenedAcrobat::LoadBalancers.new

load_balancers.search do
  tagged('KubernetesCluster') & with('subnet-abv123') & tagged('kubernetes.io/service-name', 'app/identity-service')
end

burdened-acrobat operates on two main sets of information: Load Balancers, and Tags.

Tags

LoadBalancers#tags returns tags.

Given these Arguments Expect to get a collection of…
None All tags
A tag name All tags matching that name
A tag name, and a value All tags matching that name and value
A collection of load balancers The tags on those load balancers

Load Balancers

LoadBalancers#tagged returns load balancers.

Given these arguments Expect to get a collection of…
None All load balancers with tags
A tag name All load balancers with the given tag
A tag name, and a value All load balancers where the given tag matches the value
A collection of tags All load balancers matching those tags

Everything!

LoadBalancers#all returns all load balancers.

Names

LoadBalancers#names accepts tags or load balancers, and returns names.

Using Names

LoadBalancers#named accepts names, and returns load balancers.

Complex Searches

Everything returned is in the form of Sets. This allows building complex filters using #intersection, #union, #difference, and so on.

AWS-specific extras

When using Amazon ELBs, burdened-acrobat provides additional filters.

-LoadBalancers#with~ returns load balancers.

Given these arguments Expect to get a collection of
A VPC All load balancers in that VPC
A security group All load balancers using that security group
A subnet ALl load balancers using that subnet

License

burdened-acrobat is available under the MIT License. See LICENSE.txt for the full text.

Contributors