Allow configuring the dispatcher and connection pool of
the `KubernetesClient` shared underlying http client.
For example, default values are 64 concurrent asynchronous
requests, and **only 5 concurrent asynchronous requests per-host**,
which obviously doesn't seem correct for multi-user scenarios,
knowing that Che keeps a number of connections opened
(e.g. for commands or ws-agent logs)
Leaving these wrong default values can lead to workspace
starts being stuck in the middle of the process while waiting
for an available request, as soon as several users start
a workspace on the same che-server.
Signed-off-by: David Festal <dfestal@redhat.com>
* ClangD ported to Che6
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* removed launch scripts
* added scripts for ubuntu and debian
* moved command to launch script. hide error messages
* fixing wrong positioning of code completion items
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* removed comments, updated script for other OS
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* updated language server script
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* added new line
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* updated version
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
* fixed newline
Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
Removed limitation for environment variables values to be less than 255 characters.
User can set JAVA_OPTS in env variables of workspace
User can set MAVEN_OPTS in env variables of workspace
User can set CHE_WORKSPACE_WSAGENT_JAVA_OPTIONS java opts to adjust java opts of ws-agent
User can set CHE_WORKSPACE_MAVEN__SERVER__JAVA__OPTIONS java opts to adjust java opts of the maven server
Admin can set CHE_WORKSPACE_JAVA__OPTIONS to adjust default value of JAVA_OPTS of all workspaces
Admin can set CHE_WORKSPACE_MAVEN__OPTIONS to adjust default value of MAVEN_OPTS of all workspaces
Admin can set CHE_WORKSPACE_WSAGENT__JAVA__OPTIONS to adjust default value of JAVA_OPTS of all ws-agents
Admin can set CHE_WORKSPACE_MAVEN__SERVER__JAVA__OPTIONS to adjust default value of JAVA_OPTS of all maven servers
If admin will configure CHE_WORKSPACE_HTTP__PROXY this values will be used in JAVA_OPTS , MAVEN_OPTS , and jvm options for ws-agent and maven-server
che.workspace.java_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 ...
che.workspace.maven_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 ...
che.workspace.wsagent_java_options=-XX:MaxRAM=600m -XX:MaxRAMFraction=1 ...
che.workspace.maven_server_java_options=-XX:MaxRAM=128m -XX:MaxRAMFraction=1 ..
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
- Workspace projects are now stored in folders, named after their workspace id, rather than name,
to prevent issues with workspace renaming. Applies to Docker infrastructure only.
- Add migration, that would move workspace projects to their new location. Occurs on Che startup.
- Added configuration property to enable/disable this migration.
- Improved Workspace DAO/Manager to use pagination for methods, that return lists of workspaces