Skip to content

devops-metalflow/metaltune

Repository files navigation

metaltune

Build Status codecov Go Report Card License Tag

Introduction

metaltune is the worker of metalflow written in Go.

Prerequisites

  • Go >= 1.18.0

Run

version=latest make build
./bin/metaltune --config-file="$PWD"/test/config.yml --listen-url=:19093

Docker

version=latest make docker
docker run -v "$PWD"/test:/tmp ghcr.io/devops-metalflow/metaltune:latest --config-file=/tmp/config.yml --listen-url=:19093

Usage

usage: metaltune --config-file=CONFIG-FILE --listen-url=LISTEN-URL [<flags>]

metaltune

Flags:
  --help                     Show context-sensitive help (also try --help-long and --help-man).
  --version                  Show application version.
  --config-file=CONFIG-FILE  Config file (.yml)
  --listen-url=LISTEN-URL    Listen URL (host:port)

Settings

metaltune parameters can be set in the directory config.

An example of configuration in config.yml:

apiVersion: v1
kind: metaltune
metadata:
  name: metaltune
spec:
  tuning:
    url: "http://127.0.0.1:19095"
    user: "user"
    pass: "pass"

Protobuf

{
  "apiVersion": "v1",
  "kind": "metaltune",
  "metadata": {
    "name": "metaltune"
  },
  "spec": {
    "cleanup": true,
    "tuning": {
      "auto": true,
      "profile": "content"
    },
    "turbo": true
  }
}

License

Project License can be found here.

Reference