extension-stackstate

command module
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 16 Imported by: 0

README

StackState logo

Steadybit extension-stackstate

A Steadybit extension to integrate Stack State into Steadybit.

Learn about the capabilities of this extension in our Reliability Hub.

Prerequisites

You need to have a StackState service token. The following steps describe how to create one:

  • Install the StackState CLI: https://.app.stackstate.io/#/cli
  • Run sts service-token create --name steadybit-integration --roles stackstate-k8s-troubleshooter

Configuration

Environment Variable Helm value Meaning Required Default
STEADYBIT_EXTENSION_SERVICE_TOKEN stackstate.serviceToken Stack State Service Token yes
STEADYBIT_EXTENSION_API_BASE_URL stackstate.apiBaseUrl Stack State API Base URL (example: https://yourcompany.app.stackstate.io/api) yes
STEADYBIT_EXTENSION_DISCOVERY_ATTRIBUTES_EXCLUDES_SERVICE discovery.attributes.excludes.service List of Service Attributes which will be excluded during discovery. Checked by key equality and supporting trailing "*" no

The extension supports all environment variables provided by steadybit/extension-kit.

Installation

Using Docker
docker run \
  --rm \
  -p 8080 \
  --name steadybit-extension-stackstate \
  --env STEADYBIT_EXTENSION_SERVICE_TOKEN="{{SERVICE_TOKEN}}" \
  --env STEADYBIT_EXTENSION_API_BASE_URL="{{API_BASE_URL}}" \
  ghcr.io/steadybit/extension-stackstate:latest
Using Helm in Kubernetes
helm repo add steadybit-extension-stackstate https://steadybit.github.io/extension-stackstate
helm repo update
helm upgrade steadybit-extension-stackstate \
    --install \
    --wait \
    --timeout 5m0s \
    --create-namespace \
    --namespace steadybit-extension \
    --set stackstate.serviceToken="{{SERVICE_TOKEN}}" \
    --set stackstate.apiBaseUrl="{{API_BASE_URL}}" \
    steadybit-extension-stackstate/steadybit-extension-stackstate

Register the extension

Make sure to register the extension at the steadybit platform. Please refer to the documentation for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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