diff --git a/devplanetv2/dev-environments/qa-brh-helm/values/values.yaml b/devplanetv2/dev-environments/qa-brh-helm/values/values.yaml index 100896b0..e0b94c31 100644 --- a/devplanetv2/dev-environments/qa-brh-helm/values/values.yaml +++ b/devplanetv2/dev-environments/qa-brh-helm/values/values.yaml @@ -1,6 +1,6 @@ ambassador: jupyterNamespace: jupyter-pods-qa-brh - enabled: true + enabled: false image: repository: quay.io/datawire/ambassador tag: 1.4.2 @@ -752,3 +752,121 @@ wts: image: repository: 707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/workspace-token-service tag: "chore_request-handling-cleanup" + +workspace-proxy: + enabled: true + deploymentNamespace: qa-brh-helm + workspaceNamespace: jupyter-pods-qa-brh + kubernetesApiServerCIDRs: + - "10.100.0.1/32" # kubernetes ClusterIP (pre-DNAT) + - "172.27.140.0/22" # EKS private subnet (DHCP) + - "172.27.136.0/22" # EKS private subnet (DHCP) + - "172.27.132.0/22" # EKS private subnet (DHCP) + + replicaCount: 1 + + image: + repository: quay.io/cdis/multihead-workspace-proxy + tag: master + pullPolicy: Always + + listenAddr: ":8080" + jegKernelSpecPolicy: | + { + "allowedSpecs": [ + ], + "displayNames": { + "python_kubernetes": "Python on Kubernetes", + "python_tf_kubernetes": "Python + TensorFlow", + "python_tf_gpu_kubernetes": "Python + TensorFlow + GPU" + } + } + + resources: + requests: + cpu: "50m" + memory: "64Mi" + limits: + cpu: "500m" + memory: "256Mi" + + networkPolicy: + enabled: true + +jeg: + enabled: true + workspaceNamespace: jupyter-pods-qa-brh + + replicaCount: 1 + + image: + repository: quay.io/cdis/gen3-vectis + tag: "qa-jegv2" + pullPolicy: Always + + env: + # CRITICAL: must match hatchery user-namespace and workspace-proxy WORKSPACE_NAMESPACE. + EG_NAMESPACE: jupyter-pods-qa-brh + EG_KERNEL_LAUNCH_TIMEOUT: "120" + EG_MAX_KERNELS_PER_USER: "2" + EG_CULL_IDLE_TIMEOUT: "90000" + EG_CULL_CONNECTED: "True" + EG_AUTH_TOKEN: "" + EG_DEFAULT_KERNEL_NAME: python3 + EG_LIST_KERNELS: "True" + EG_KERNEL_IMAGE_PULL_POLICY: IfNotPresent + EG_SHARED_NAMESPACE: "True" + EG_MIRROR_WORKING_DIRS: "False" + EG_KERNEL_SPEC_POLICY: | + { + "default_kernel_name": "python3", + "kernel_specs": { + "python3": { + "display_name": "Python (Micro — Local)", + "language": "python" + }, + "python_kubernetes": { + "display_name": "Python on Kubernetes (4Gi, 2 cpu)", + "language": "python", + "image_name": "elyra/kernel-py:latest", + "resources": { + "cpu": "2", + "memory": "4Gi", + "gpu_type": "none" + } + }, + "python_tensorflow_kubernetes": { + "display_name": "Python on Kubernetes with TensorFlow (4Gi, 1 cpu)", + "language": "python", + "image_name": "elyra/kernel-py-tensorflow:latest", + "resources": { + "cpu": "1", + "memory": "4Gi", + "gpu_type": "none" + } + }, + "python_tensorflow_gpu_kubernetes": { + "display_name": "Python on Kubernetes with TensorFlow with GPUs (8Gi, 2 cpu, gpu)", + "language": "python", + "image_name": "elyra/kernel-py-tensorflow:latest", + "resources": { + "cpu": "2", + "memory": "8Gi", + "gpu_type": "NVIDIA" + } + }, + "r_kubernetes": { + "display_name": "R on Kubernetes", + "language": "r", + "image_name": "elyra/kernel-r:latest" + } + } + } + + resources: + requests: + cpu: "100m" + memory: "256Mi" + limits: + cpu: "500m" + memory: "512Mi"