Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Kubesleeper configuration

Main configuration of kubesleeper should be set in a ./kubesleeper.yaml file.

See CLI parameters to set a specific path.

Note

All values listed on this page represent the system’s default configurations.

Server

The Kubesleeper server manages two main functions: serving the waiting page to users and fetching incoming network traffic.

Port

The port of the kubesleeper server.

server:
    port: 8000

Controller

The Kubesleeper controller manages the lifecycle of applications.

Sleepiness duration

Inactivity duration (in seconds) before entering Asleep state.

Note

See How it works to have better understanding of Sleepiness.

controller:
    sleepiness_duration: 15

Refresh interval

The time interval (in seconds) between two checks of traffic activity.

controller:
    refresh_interval: 5

Default configuration

server:
  port: 10
controller:
  sleepiness_duration: 15
  refresh_interval: 5