Sha256: 85bd88b1ffe5e6c32ac931ea082ceb72d8244e6120bbab2ed25b4efde377fe6e

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

{
    scheduler: {
        type: 'ecs',
        region: 'ap-northeast-1',
        cluster: 'eagletmt',
        desired_count: 2,
        role: 'ecsServiceRole',
        // health_check_grace_period_seconds: 0,
        elb_v2: {
            // NLB can not have
            // * health check path
            // * securit group
            scheme: 'internal',
            type: 'network',
            // VPC id where the target group is located
            vpc_id: 'vpc-WWWWWWWW',
            listeners: [
                {
                    port: 80,
                    protocol: 'TCP',
                },
            ],
            subnets: [
                'subnet-XXXXXXXX',
                'subnet-YYYYYYYY',
            ],
            container_name: 'app',
            container_port: 80,
            // If you want enalbed cross zone load balancing, then specify attribute.
            // load_balancer_attributes: {
            //     'load_balancing.cross_zone.enabled': 'true',
            // },
        },
    },
    app: {
        image: 'nginx',
        memory: 128,
        cpu: 256,
        port_mappings: [
            {
                container_port: 80,
                host_port: 0,
                protocol: 'TCP',
            },
        ],
    },
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hako-2.2.0 examples/hello-internal-nlb.jsonnet
hako-2.1.0 examples/hello-internal-nlb.jsonnet