Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase DVCx worker resource requirements #309

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions charts/studio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ A Helm chart for Kubernetes
| studioBlobvault.image | object | `{"repository":"nginx","tag":"1.25.1-alpine"}` | Image to use for the blobvault service |
| studioBlobvault.image.repository | string | `"nginx"` | Image repository |
| studioBlobvault.image.tag | string | `"1.25.1-alpine"` | Image tag |
| studioDvcxWorker | object | `{"affinity":{},"autoscaling":{"enabled":false,"maxReplicas":5,"minReplicas":1,"targetCPUUtilizationPercentage":80},"envFromSecret":"","envVars":{},"ephemeralStorage":{"persistentVolumeClaim":{"storageClass":""},"size":"1Gi","type":"emptyDir"},"image":{"pullPolicy":"IfNotPresent","repository":"docker.iterative.ai/studio-dvcx-worker"},"logLevel":"info","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"replicaCount":1,"resources":{"limits":{"ephemeral-storage":"10Gi","memory":"16Gi"},"requests":{"cpu":"500m","ephemeral-storage":"500Mi","memory":"512Mi"}},"securityContext":{},"serviceAccount":{"annotations":{},"create":false,"name":""},"strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}},"tolerations":[]}` | Studio DVCx Worker settings group |
| studioDvcxWorker | object | `{"affinity":{},"autoscaling":{"enabled":false,"maxReplicas":5,"minReplicas":1,"targetCPUUtilizationPercentage":80},"envFromSecret":"","envVars":{},"ephemeralStorage":{"persistentVolumeClaim":{"storageClass":""},"size":"20Gi","type":"emptyDir"},"image":{"pullPolicy":"IfNotPresent","repository":"docker.iterative.ai/studio-dvcx-worker"},"logLevel":"info","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"replicaCount":1,"resources":{"limits":{"ephemeral-storage":"20Gi","memory":"16Gi"},"requests":{"cpu":"1000m","ephemeral-storage":"10Gi","memory":"3Gi"}},"securityContext":{},"serviceAccount":{"annotations":{},"create":false,"name":""},"strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}},"tolerations":[]}` | Studio DVCx Worker settings group |
| studioDvcxWorker.affinity | object | `{}` | DVCx worker pod affinity configuration |
| studioDvcxWorker.autoscaling | object | `{"enabled":false,"maxReplicas":5,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | DVCx worker autoscaling configuration |
| studioDvcxWorker.autoscaling.enabled | bool | `false` | DVCx worker autoscaling enabled flag |
Expand All @@ -145,10 +145,10 @@ A Helm chart for Kubernetes
| studioDvcxWorker.autoscaling.targetCPUUtilizationPercentage | int | `80` | DVCx worker autoscaling target CPU utilization percentage |
| studioDvcxWorker.envFromSecret | string | `""` | The name of an existing Secret that contains sensitive environment variables passed to DVCx worker pods. |
| studioDvcxWorker.envVars | object | `{}` | Additional environment variables for DVCx worker pods |
| studioDvcxWorker.ephemeralStorage | object | `{"persistentVolumeClaim":{"storageClass":""},"size":"1Gi","type":"emptyDir"}` | Ephemeral storage configuration |
| studioDvcxWorker.ephemeralStorage | object | `{"persistentVolumeClaim":{"storageClass":""},"size":"20Gi","type":"emptyDir"}` | Ephemeral storage configuration |
| studioDvcxWorker.ephemeralStorage.persistentVolumeClaim | object | `{"storageClass":""}` | Persistent Volume Claim configuration for ephemeral storage |
| studioDvcxWorker.ephemeralStorage.persistentVolumeClaim.storageClass | string | `""` | Persistent Volume Claim `storageClass` name, by default it will use the default `storageClass` |
| studioDvcxWorker.ephemeralStorage.size | string | `"1Gi"` | Ephemeral Storage size |
| studioDvcxWorker.ephemeralStorage.size | string | `"20Gi"` | Ephemeral Storage size |
| studioDvcxWorker.ephemeralStorage.type | string | `"emptyDir"` | Ephemeral Storage type. Possible values: `emptyDir`, `pvc` |
| studioDvcxWorker.image | object | `{"pullPolicy":"IfNotPresent","repository":"docker.iterative.ai/studio-dvcx-worker"}` | DVCx worker image settings |
| studioDvcxWorker.image.pullPolicy | string | `"IfNotPresent"` | DVCx worker image pull policy |
Expand All @@ -157,9 +157,9 @@ A Helm chart for Kubernetes
| studioDvcxWorker.nodeSelector | object | `{}` | DVCx worker pod node selector configuration |
| studioDvcxWorker.podAnnotations | object | `{}` | Additional DVCx worker pod annotations |
| studioDvcxWorker.podSecurityContext | object | `{}` | DVCx worker pod security context configuration |
| studioDvcxWorker.resources | object | `{"limits":{"ephemeral-storage":"10Gi","memory":"16Gi"},"requests":{"cpu":"500m","ephemeral-storage":"500Mi","memory":"512Mi"}}` | DVCx worker resources configuration |
| studioDvcxWorker.resources.limits | object | `{"ephemeral-storage":"10Gi","memory":"16Gi"}` | DVCx worker limits configuration |
| studioDvcxWorker.resources.requests | object | `{"cpu":"500m","ephemeral-storage":"500Mi","memory":"512Mi"}` | DVCx worker requests configuration |
| studioDvcxWorker.resources | object | `{"limits":{"ephemeral-storage":"20Gi","memory":"16Gi"},"requests":{"cpu":"1000m","ephemeral-storage":"10Gi","memory":"3Gi"}}` | DVCx worker resources configuration |
| studioDvcxWorker.resources.limits | object | `{"ephemeral-storage":"20Gi","memory":"16Gi"}` | DVCx worker limits configuration |
| studioDvcxWorker.resources.requests | object | `{"cpu":"1000m","ephemeral-storage":"10Gi","memory":"3Gi"}` | DVCx worker requests configuration |
| studioDvcxWorker.securityContext | object | `{}` | DVCx worker pod security context configuration |
| studioDvcxWorker.strategy | object | `{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}}` | DVCx worker deployment strategy |
| studioDvcxWorker.tolerations | list | `[]` | DVCx worker pod tolerations configuration |
Expand Down
10 changes: 5 additions & 5 deletions charts/studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -644,20 +644,20 @@ studioDvcxWorker:
resources:
# -- DVCx worker requests configuration
requests:
cpu: 500m
memory: 512Mi
ephemeral-storage: 500Mi
cpu: 1000m
memory: 3Gi
ephemeral-storage: 10Gi
# -- DVCx worker limits configuration
limits:
memory: 16Gi
ephemeral-storage: 10Gi
ephemeral-storage: 20Gi

# -- Ephemeral storage configuration
ephemeralStorage:
# -- Ephemeral Storage type. Possible values: `emptyDir`, `pvc`
type: emptyDir
# -- Ephemeral Storage size
size: 1Gi
size: 20Gi
# -- Persistent Volume Claim configuration for ephemeral storage
persistentVolumeClaim:
# -- Persistent Volume Claim `storageClass` name, by default it will use the default `storageClass`
Expand Down
Loading