Skip to content
Distr
Book DemoStart free trialLogin

Configuration Reference

These settings decide what a controller collects, what it sends and what it changes on its own. Most of them belong to the deployment target, and any user with the read_write or admin role in the vendor organization or in the customer organization of the deployment target can change them. The table shows the defaults of the Distr UI. A deployment target created through the API has every switch off unless the request turns it on.

SettingDefault in the UIWhat it controls
Collect application logsOnWhether the stdout and stderr of the deployments’ containers are sent to Distr. Collect logs after limits this to logs newer than a point in time
Report metricsOn, off for namespace scopeWhether the usage of the host or cluster and of the deployments’ containers is sent to Distr. On Docker it also decides whether the host filesystem is mounted into the controller
Automatic controller updatesOnWhether the controller updates itself as soon as a new version is released. With it off, an editor starts each update from the deployment target, which shows the changelog first
Automatic application updates, per deploymentOffWhether a deployment follows the latest version of its application. Vendors and customers can both turn it on, see Automatic Updates
Image cleanup, Docker onlyOnWhether the images of the previous revision are removed after a successful update
Autoheal for all containers, Docker only, set at creationOnWhether autoheal restarts every unhealthy container on the host or only the controller
Custom Docker endpoint, Docker onlyOffWhich Docker socket the controller uses instead of /var/run/docker.sock
Scope, Kubernetes only, set at creationClusterWhether the controller gets cluster-admin or only the permissions of its namespace
Custom resource requirements, Kubernetes onlyOffThe CPU and memory of the controller pod instead of 256Mi of memory and a 500m CPU limit
Controller image repository, organization settingregistry.distr.sh/distr on Distr Cloud, ghcr.io/distr-sh/distr when self-hostedWhich registry the controller images are pulled from, see Controller Image Repository

A setting that ends up in the controller’s Compose file or manifest, such as metrics on Docker, the Docker endpoint, the resource requirements or the image repository, reaches the environment the next time that file is applied, by a controller update or a reconnect. The other settings apply on the controller’s next cycle.