Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

v0.4.0

Compare
Choose a tag to compare
@menicosia menicosia released this 04 Sep 15:12

Beginning with v0.4.1, direct access to Lattice cells will be restricted to private addresses within the cluster.

Introducing TCP Router

TCP Router is a collection of components that balances traffic across one or more instances of an application. Unlike gorouter, tcp-router balances traffic other than HTTP, such as mysql, redis, or mongodb. Using ltc, a user defines a route from an external port on the Lattice brain to an exposed port on the application container. Under the hood, tcp-emitter regularly updates HAProxy with the TCP routes defined on the Lattice cluster.

  • #172 #182 #191: Merge TCP Router functionality [#101089176] [#101699282] [#102296358]
  • --routes no longer works on ltc create and ltc launch-droplet.
  • Use the --http-routes flag to define HTTP routes for an app. [#100758692] [#100436212]
    • --http-routes takes a comma-delimited set of ROUTE:CONTAINER_PORT
    • This is reversed from --routes (breaking change)
  • New --tcp-routes flag takes comma-delimited set of EXTERNAL_PORT:CONTAINER_PORT
  • Multiple TCP routes can route to same container port. [#101697408]
  • ltc update changes HTTP and/or TCP routes for a running application. [#98240702]
    • Replaces ltc update-routes (will be removed in a future release).
  • ltc status and ltc list show TCP routes [#100258924] [#100258722]

New Distribution Bundles

With the recent conversion to Concourse as our CI platform, we took the opportunity to change the way we distribute Lattice -- no more git checkout; vagrant up. Starting with v0.4.0, we distribute a bundle (links below) that contains ltc along with the vagrant/terraform files needed to launch Lattice.

New Features

  • ltc target --s3 uses an S3 bucket as the droplet store [#100236758] [#100237448]
    • Allows multiple developers to share droplets
    • Persists droplets across subsequent Lattice deployments
  • ltc create --monitor-command uses a custom healthcheck command [#91461922]

Usability Fixes

  • ltc target times out when a connection to the blob store hangs [#101164182]
  • No longer downloads RootFS at provision-time on Vagrant and AWS [#101844068] [#101844098]
  • Upgraded base Ubuntu image to 14.04.3 [#102162900]
  • Document how to diagnose and resolve multiple vagrant instances running [#101992188]

For Developers

  • ci.lattice.cf shows the current build status [#101284204]
  • As part of our migration to Concourse, we now track master. Moving forward, please submit any PRs against the master branch. [#101834808]