Calculating Che resource requirements

The Che Operator, Dev Workspace Controller, and user workspaces consist of a set of pods. The pods contribute to the resource consumption in CPU and memory limits and requests. Learn how to calculate resources, such as memory and CPU, required to run Eclipse Che.

Procedure
  1. Identify the workspace components explicitly specified in the components section of your devfile. When this section is empty, Che only loads the implicit components.

    Table 1. Devfile specified workspace components memory requirements
    Purpose Pod Container name Memory limit Memory request CPU limit CPU request

    Your developer tools

    workspace

    Total

  2. Identify the implicit workspace components that Che loads: developer tools, editor, and Che gateway.

    Table 2. Implicit workspace components default requirements
    Purpose Pod Container name Memory limit Memory request CPU limit CPU request

    Developer tools

    workspace

    universal-developer-image

    1 GiB

    256 MiB

    500 m

    30 m

    Editor

    workspace

    che-code

    128 MiB

    32 MiB

    500 m

    30 m

    Che gateway

    workspace

    che-gateway

    256 Mi

    64 Mi

    500 m

    50 m

    Total

    2.4 GiB

    480 MiB

    1.5

    110 m

  3. Sum up the resources required for each workspace, and multiply them by the running workspaces count.

  4. Sum up the server components requirements.

    Table 3. Che server components default requirements
    Purpose Pod name Container names Memory limit Memory request CPU limit CPU request

    Che operator

    che-operator

    che-operator

    256 MiB

    64 MiB

    500 m

    100 m

    Che Server

    che

    che-server

    1 Gi

    512 MiB

    1

    1 m

    Che Dashboard

    che-dashboard

    • che-dashboard

    256 MiB

    32 MiB

    500 m

    100 m

    Che Gateway

    che-gateway

    traefik

    4 GiB

    128 MiB

    1

    100 m

    Che Gateway

    che-gateway

    configbump

    256 MiB

    64 MiB

    500 m

    50 m

    Che Gateway

    che-gateway

    oauth-proxy

    512 MiB

    64 MiB

    500 m

    100 m

    Che Gateway

    che-gateway

    kube-rbac-proxy

    512 MiB

    64 MiB

    500 m

    100 m

    Devfile registry

    devfile-registry

    devfile-registry

    256 Mi

    32 Mi

    500 m

    100 m

    Plugin registry

    plugin-registry

    plugin-registry

    256 Mi

    32 Mi

    500 m

    100 m

    PostgreSQL database

    postgres

    postgres

    1 Gi

    512 Mi

    500 m

    100 m

    Dev Workspace Controller Manager

    devworkspace-controller-manager

    devworkspace-controller

    1 GiB

    100 MiB

    1

    250 m

    Dev Workspace Controller Manager

    devworkspace-controller-manager

    kube-rbac-proxy

    N/A

    N/A

    N/A

    N/A

    Dev Workspace webhook server

    devworkspace-webhook-server

    webhook-server

    300 MiB

    29 MiB

    200 m

    100 m

    Dev Workspace Operator Catalog

    registry-server

    N/A

    50 MiB

    N/A

    10 m

    Dev Workspace Webhook Server

    devworkspace-webhook-server

    webhook-server

    300 MiB

    20 MiB

    200 m

    100 m

    Dev Workspace Webhook Server

    devworkspace-webhook-server

    kube-rbac-proxy

    N/A

    N/A

    N/A

    N/A

    Total

    9.5 GiB

    1.6 GiB

    7.4

    2.31