Skip to content

Commit

Permalink
updating hypha to work with 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Oct 30, 2022
1 parent d7cc901 commit ee6411e
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions charts/hypha/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee6411e

Please sign in to comment.