test-repo2/app/ test-mlcmp1.yaml

38 lines
925 B
YAML

apiVersion: "unified-platform.cs.hse.ru/v1"
kind: MLComponent
metadata:
name: test-mlcmp1
namespace: pu-user1-pa-app2
spec:
image:
existingImageName: platform-reg.stratpro.hse.ru/pu-user1/wrong-tag
resourceLimits:
cpu: 500m
memory: 256M
mlService:
packageRegistryName: app2-python-package-registry
inference:
fileExchange:
fileBox: s3_files_box
inferenceFilesPath: /tmp/inference_files
model:
modelBox: s3_model_box
modelPath: /test1/model
entryPoint:
pythonPath: inference
pythonFunction: inference.run_inference_v2
license:
licenseLocalPath: ./license.txt
api:
prefix: mlcmp1
connectedBoxes:
- name: s3_model_box
path: /test1
mountS3Box:
subPath: inference
s3BoxName: sized-default-s3-box
- name: s3_files_box
copyS3Box:
s3BoxName: sized-default-s3-box