statika

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 16 Imported by: 0

README

Statika

Statika is a process that will update AWS Classic Load Balancer targets for a set of defined ECS tasks.

The use-case is for ECS being used on a cluster with only one node and Classic Load Balancers being used.

There is a Docker wrapper for this at Statika-Docker

Running

Some environment variables to set:

	CONFIGURATION_URL=<s3-url> \
	SERVICES_URL=<s3-url> \
	AWS_REGION=<aws-region> \
	fractos/statika:latest

Configuration file format

{
  "cluster": "<cluster-name>",
  "sleepTimeSeconds": <time-in-seconds>
}

Services file format

[
  {
    "serviceName": "<ecs-service-name>",
    "exposedContainerName": "<container-name-to-balance>",
    "loadBalancerName": "<name-of-classic-load-balancer>"
  }
]

This is an array of JSON objects.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL