Spinnaker Canary UI
Prerequisites
Make sure that node and yarn are installed on your
system. The minimum versions for each are listed in package.json
.
Quick Start
Run the following commands (in the root directory) to get all dependencies installed in Deck and to start the server:
The app will start up on localhost:9000.
Environment variables
API_HOST
overrides the default Spinnaker API host.METRIC_STORE
sets the default metric store that will be used when creating
new canary configs (e.g., atlas
, stackdriver
, prometheus
).REDUX_LOGGER
toggles browser logging for interactions with the Redux store.CANARY_STAGES_ENABLED
enables Kayenta canary stages.
For example, API_HOST=http://localhost:8084 CANARY_STAGES_ENABLED=true yarn start
will run Deck
with https://localhost:8084
as the API host and Kayenta canary stages enabled.
Testing
To run the tests within the application, run yarn run test
.
NOTE
Developing things locally? You will want to run gate
locally (which runs on port 8084) and kayenta (which runs on port 8090).
You also will need to provide the following fields to your gate-local.yml
config:
services:
kayenta:
enabled: true
canaryConfigStore: true
baseUrl: http://localhost:8090