Skip to content

Make it compatible with ALB IP target type #141

@jalbstmeijer

Description

@jalbstmeijer

Currently clustercron only matches instance id's.

It would be very useful if it could also match the eth0 ip with the registered ALB IP targets.

So;

Clustercron should collect it own instance id and ip4 on eth0.

When

aws elbv2 describe-target-groups --name targetgroup

shows

"TargetType": "instance"

the current instance id matching can take place

{
    "TargetHealthDescriptions": [
        {
            "Target": {
                "Id": "i-0184d05d7bf532e14",

when it shows

"TargetType": "ip"

it should match with the healthy ip target that matches.

aws elbv2 describe-target-health --target-group-arn arn

{
    "TargetHealthDescriptions": [
        {
            "Target": {
                "Id": "172.31.8.112",
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions