# Kestra servers

Kestra leverages five different servers in order to provide a fully working Kestra implementation.

# Separate servers

# Kestra Executor

./kestra server executor

Options:

No special options for this server.

# Kestra Indexer

./kestra server indexer

Options:

No special options for this server.

# Kestra Scheduler

./kestra server scheduler

Options:

No special options for this server.

# Kestra Worker

./kestra server worker

Options:

  • -thread: the number of threads that can handle tasks at the same time

# Kestra Webserver

./kestra server Webserver

Options:

No special options for this server

# Kestra standalone, all servers in one process

./kestra server standalone

This server is a special server, since it will contain all the servers in one jvm.
But this works well for development or medium-sized environments.

Options:

  • -f or --flow-path: the path to a directory will flow file as yaml, these files will be loaded on the repository at the startup.
  • --worker-thread: the number of worker thread, by default, the worker embedded will start 1 thread per cpu core available.

# Kestra local, development servers and no dependencies

./kestra server local

This server is a local development server, it will contain all the servers in one jvm, and use a local database (h2), and local storage, perfect to start a development server. All the data will be saved in a data directory on the current working directory.

Options:

  • -f or --flow-path: the path to a directory will flow file as yaml, these files will be loaded on the repository at the startup.
  • --worker-thread: the number of worker thread, by default, the worker embedded will start 1 thread per cpu core available.

# Options for all server command

# Log Level

Log level can be changed with 2 options :

  • --log-level: possible value: [TRACE, DEBUG, INFO, WARN, ERROR], default: INFO
  • --verbose or -v for DEBUG, -vv for TRACE

This option affects global log levels for all flows only

# Internal Log

--internal-log: Kestra hides internal logs by default, use this option to enable these logs (High verbosity !)

# Configuration Files

-c or --config: you can change the location of kestra configuration files, the default is ~/.kestra/config.yml

# Plugins directory

-p or --plugins: Path to plugins directory, default is plugins directory near your kestra executable.

# Server port

--server-port: The server port, default is 8080.