Skip to content

Instantly share code, notes, and snippets.

@edeandrea
Created July 16, 2020 15:31
Show Gist options
  • Save edeandrea/b481ad3b5dfcdcc3d7acb8ebae54dd6c to your computer and use it in GitHub Desktop.
Save edeandrea/b481ad3b5dfcdcc3d7acb8ebae54dd6c to your computer and use it in GitHub Desktop.
Typical CodeReady Workspaces CR
apiVersion: org.eclipse.che/v1
kind: CheCluster
metadata:
name: codeready
namespace: infra
spec:
server:
cheFlavor: codeready
tlsSupport: true
selfSignedCert: false
workspaceNamespaceDefault: "crw-<username>-<workspaceid>"
customCheProperties:
CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: "0"
CHE_WORKSPACE_JAVA__OPTIONS: "-XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms512m -Djava.security.egd=file:/dev/./urandom"
CHE_WORKSPACE_MAVEN__OPTIONS: "-XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms512m -Djava.security.egd=file:/dev/./urandom"
database:
externalDB: false
auth:
openShiftoAuth: true
storage:
pvcStrategy: per-workspace
pvcClaimSize: 1Gi
preCreateSubPaths: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment