Skip to main content
Boost your DevOps efficiency! Dive into our latest white paper.Read Now

kapstan connect service

Open a connection to a service

Synopsis

Connect to a specified Kapstan service.

Currently this command supports SQL Databases (MySQL, PostgreSQL) and will open a proxy connection to the database. This command depends on the Docker Engine to run, you can install Docker Engine here https://docs.docker.com/engine/install/.

kapstan connect service [flags]

Options

  -e, --environment string    Environment name, if unset will use environment set by configure
-h, --help help for service
-k, --keepalive Automatically polls the connection to keep it alive (default true)
-o, --organization string Organization name, if unset will use organization set by configure
-p, --port string Host port to open the connection on
-s, --service string Name of the service to connect to

Options inherited from parent commands

      --debug               Enable debug mode
--token string Kapstan API token
--token-path string Path to file containing Kapstan API token (default "token.json")

SEE ALSO

Auto generated by spf13/cobra on 4-Dec-2024

Can't find what you need?