promtun

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

README

Promtum

Promtun is a tiny tool to establish a tunnel between a Prometheus server and Coroot cloud.

Run

Docker
docker run --detach --name coroot-promtun \
    -e PROMETHEUS_ADDRESS=<INTERNAL_PROMETHEUS_HOST_AND_PORT> \
    -e PROJECT_TOKEN=<COROOT_PROJECT_TOKEN> \
    ghcr.io/coroot/promtun
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
  name: promtun
  namespace: coroot
spec:
  selector:
    matchLabels: {app: promtun}
  replicas: 1
  template:
    metadata:
      labels: {app: promtun}
    spec:
      containers:
        - name: promtun
          image: ghcr.io/coroot/promtun
          env:
            - name: PROMETHEUS_ADDRESS
              value: <INTERNAL_PROMETHEUS_HOST_AND_PORT>
            - name: PROJECT_TOKEN
              value: <COROOT_PROJECT_TOKEN>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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