extension-http

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 10 Imported by: 0

README

Steadybit extension-http

Open Beta: This extension generally works, but you may discover some rough edges.

A Steadybit action implementation to check HTTP endpoints.

Configuration

Environment Variable Meaning Default
STEADYBIT_EXTENSION_PORT Port number that the HTTP server should bind to. 8085
STEADYBIT_EXTENSION_TLS_SERVER_CERT Optional absolute path to a TLS certificate that will be used to open an HTTPS server.
STEADYBIT_EXTENSION_TLS_SERVER_KEY Optional absolute path to a file containing the key to the server certificate.
STEADYBIT_EXTENSION_TLS_CLIENT_CAS Optional comma-separated list of absolute paths to files containing TLS certificates. When specified, the server will expect clients to authenticate using mutual TLS.
STEADYBIT_LOG_FORMAT Defines the log format that the extension will use. Possible values are text and json. text
STEADYBIT_LOG_LEVEL Defines the active log level. Possible values are debug, info, warn and error. info

Running the Extension

Using Docker
$ docker run \
  --rm \
  -p 8085 \
  --name steadybit-extension-http \
  ghcr.io/steadybit/extension-http:latest
Using Helm in Kubernetes
$ helm repo add steadybit-extension-http https://steadybit.github.io/extension-http
$ helm repo update
$ helm upgrade steadybit-extension-http \
    --install \
    --wait \
    --timeout 5m0s \
    --create-namespace \
    --namespace steadybit-extension \
    steadybit-extension-http/steadybit-extension-http

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