praefect

command
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Command praefect provides a reverse-proxy server with high-availability specific features for Gitaly.

Additionally, praefect has subcommands for common tasks:

SQL Ping

The subcommand "sql-ping" checks if the database configured in the config file is reachable:

praefect -config PATH_TO_CONFIG sql-ping

SQL Migrate

The subcommand "sql-migrate" will apply any outstanding SQL migrations.

praefect -config PATH_TO_CONFIG sql-migrate

Dial Nodes

The subcommand "dial-nodes" helps diagnose connection problems to Gitaly or Praefect. The subcommand works by sourcing the connection information from the config file, and then dialing and health checking the remote nodes.

praefect -config PATH_TO_CONFIG dial-nodes

Jump to

Keyboard shortcuts

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