diff --git a/python/aistore/sdk/etl_templates.py b/python/aistore/sdk/etl_templates.py index 6ced76382ab..fca7e06d693 100644 --- a/python/aistore/sdk/etl_templates.py +++ b/python/aistore/sdk/etl_templates.py @@ -355,3 +355,40 @@ path: /tmp/ type: Directory """ + +# pylint: disable=unused-variable +FACE_DETECTION_TRANSFORMER = """ +apiVersion: v1 +kind: Pod +metadata: + name: transformer-face-detection + annotations: + communication_type: "{communication_type}://" + wait_timeout: 5m +spec: + containers: + - name: server + image: aistorage/transformer_face_detection:latest + imagePullPolicy: Always + ports: + - name: default + containerPort: 8000 + command: ["gunicorn", "main:app", "--workers", "5", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8000"] + readinessProbe: + httpGet: + path: /health + port: default + env: + - name: FORMAT + value: "{format}" + - name: ARG_TYPE + value: "{arg_type}" + volumeMounts: + - name: ais + mountPath: /tmp/ais + volumes: + - name: ais + hostPath: + path: /tmp/ais + type: Directory +""" diff --git a/python/aistore/version.py b/python/aistore/version.py index 122fcbff323..ba5ed8f09ce 100644 --- a/python/aistore/version.py +++ b/python/aistore/version.py @@ -1 +1 @@ -__version__ = "1.4.17" +__version__ = "1.4.18"