From ee6411ea7c0758acc6e2158baa35552336478aaa Mon Sep 17 00:00:00 2001 From: ctr26 Date: Sun, 30 Oct 2022 18:08:28 +0000 Subject: [PATCH] updating hypha to work with 0.15.8 --- charts/hypha/templates/deployment.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/charts/hypha/templates/deployment.yaml b/charts/hypha/templates/deployment.yaml index 1156e28..3c4fc4d 100644 --- a/charts/hypha/templates/deployment.yaml +++ b/charts/hypha/templates/deployment.yaml @@ -48,25 +48,21 @@ spec: command: ["/bin/sh", "-c"] args: - > - python3 -m hypha.server \ + python -m hypha.server \ --host=0.0.0.0 \ --port={{ .Values.service.port}} \ --enable-server-apps \ + --in-docker \ --enable-s3 \ - --exit-on-error=false \ --public-base-url={{ .Values.imjoyHostName }} \ - --access-key-id={{ $S3_ACCESS_KEY }} \ - --secret-access-key={{ $S3_SECRET_KEY }} \ --endpoint-url=http://{{ .Values.minio.fullnameOverride }}:{{.Values.minio.service.port}} \ --endpoint-url-public={{ $S3_ENDPOINT_URL_PUBLIC }} \ + --secret-access-key={{ $S3_SECRET_KEY }} \ + --apps-dir=/home/hypha-apps + --executable-path=/home/bin {{- if (index .Values "tritoninfereceserver-hypha" "enabled") }} --triton-servers=http://{{(index .Values "tritoninfereceserver-hypha" "fullnameOverride")}}:{{(index .Values "tritoninfereceserver-hypha" "service" "port")}} {{- end }} - # --triton-servers=http://tritoninferenceserver.tritoninferenceserver.svc.cluster.local:8000 - # --apps-dir=/home/hypha-apps \ - # --executable-path=/home/bin \ - # --endpoint-url={{ $S3_ENDPOINT_URL }} \ - # --endpoint-url= http://minio.minio.svc.cluster.local:9000 image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: @@ -96,10 +92,10 @@ spec: # readinessProbe: # failureThreshold: 3 # httpGet: - # path: /v2/health/ready + # path: /v2/health/live # port: http # scheme: HTTP - # initialDelaySeconds: 5 + # initialDelaySeconds: 500 # periodSeconds: 5 # successThreshold: 1 # timeoutSeconds: 1