Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ancientlore/topdog

topdog is an application used to demonstrate Istio features
https://github.com/ancientlore/topdog

demo golang istio kubernetes

Last synced: 5 days ago
JSON representation

topdog is an application used to demonstrate Istio features

Awesome Lists containing this project

README

        

# topdog

`topdog` is a simple Go application that is used to demonstrate some [Istio] features. See the full example at https://github.com/ancientlore/istio-talk.

`topdog` is designed to be run with three tiers. To build it locally:

$ got get github.com/ancientlore/topdog

Run the application from the `topdog` folder where you built it. To start the backend tier:

$ ./topdog -service_port 5002

To start the middle tier:

$ ./topdog -service_port 5001 -backend http://localhost:5002

To start the UI:

$ ./topdog -service_port 5000 -midtier http://localhost:5001

Then nagivate to http://localhost:5000/ to see the user interface.

Alternately, you can run it all in one step using:

$ ./topdog -service_port 5000 -midtier http://localhost:5000 -backend http://localhost:5000

> This is the same as just running `topdog`, since those values are the defaults.

In this case, it will use the same process for all three.

When running the backend, you can set the `version` command-line argument (or the `VERSION` environment variable) to values from 1 to 3. This makes the service weigh its results differently.