Slackbot
07/31/2023, 8:32 AMChaoyu
07/31/2023, 8:34 AMChaoyu
07/31/2023, 8:35 AMChaoyu
07/31/2023, 8:35 AM박종원
07/31/2023, 8:38 AMdocker push <ECR url>/yatai.iris_classifier.pphwznbpi66zubxx
Is it right?박종원
07/31/2023, 8:43 AMbentoml containerize <model_name>:<tag name> -t <ECR repo url>
However, it is not pushed.Chaoyu
07/31/2023, 8:46 AMChaoyu
07/31/2023, 8:46 AMChaoyu
07/31/2023, 8:47 AM박종원
07/31/2023, 8:59 AMbentoml push iris_classifier:latest
right?Chaoyu
07/31/2023, 9:19 AMChaoyu
07/31/2023, 9:19 AMChaoyu
07/31/2023, 9:20 AM박종원
08/01/2023, 2:23 AM[CheckingImage] Image not exists: <http://954040596412.dkr.ecr.ap-northeast-2.amazonaws.com/yatai-bentos:yatai.iris_model_svc.5uf2qxrqboleqbxx|954040596412.dkr.ecr.ap-northeast-2.amazonaws.com/yatai-bentos:yatai.iris_model_svc.5uf2qxrqboleqbxx>
So I tried to upload image to ECR with that tag name manually. But Yatai cannot find the image.
My bento image is a little big(6.3G).
Is it size issue?Chaoyu
08/01/2023, 2:26 AMChaoyu
08/01/2023, 2:26 AMXipeng Guan
08/01/2023, 2:32 AM박종원
08/01/2023, 2:32 AMDefaulted container "builder" out of: builder, bento-downloader (init), model-downloader-0 (init)
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "<http://954040596412.dkr.ecr.ap-northeast-2.amazonaws.com/yatai-bentos:yatai.iris_model_svc.5uf2qxrqboleqbxx|954040596412.dkr.ecr.ap-northeast-2.amazonaws.com/yatai-bentos:yatai.iris_model_svc.5uf2qxrqboleqbxx>": POST <https://954040596412.dkr.ecr.ap-northeast-2.amazonaws.com/v2/yatai-bentos/blobs/uploads/>: DENIED: Your authorization token has expired. Reauthenticate and try again.
It show this error. It seems token issue. is it right?Chaoyu
08/01/2023, 2:35 AMChaoyu
08/01/2023, 2:35 AMXipeng Guan
08/01/2023, 2:36 AM박종원
08/01/2023, 2:50 AMXipeng Guan
08/01/2023, 2:51 AMChaoyu
08/01/2023, 2:58 AM박종원
08/01/2023, 4:35 AMOOMKilled status. I think it is memory issue. Is it right?Chaoyu
08/01/2023, 4:37 AM박종원
08/01/2023, 4:37 AMXipeng Guan
08/01/2023, 4:39 AM박종원
08/01/2023, 4:41 AMXipeng Guan
08/01/2023, 4:42 AMChaoyu
08/01/2023, 4:46 AMChaoyu
08/01/2023, 4:46 AM박종원
08/01/2023, 5:28 AM{
"cluster_name": "default",
"name": "test2",
"description": "",
"targets": [
{
"type": "stable",
"bento_repository": "iris_model_svc",
"bento": "qqqddjbqek6okbxx",
"config": {
"bento_request_overrides": {
"imageBuilderContainerResources": {
"limits": {
"memory": "10Gi"
}
}
},
"hpa_conf": {
"min_replicas": 2,
"max_replicas": 10
},
"resources": {
"requests": {
"cpu": "500m",
"memory": "500Mi",
"gpu": ""
},
"limits": {
"cpu": "1000m",
"memory": "1024Mi",
"gpu": ""
}
},
"envs": [],
"runners": {
"iris_model": {
"resources": {
"requests": {
"cpu": "500m",
"memory": "500Mi",
"gpu": ""
},
"limits": {
"cpu": "1000m",
"memory": "1024Mi",
"gpu": ""
}
},
"hpa_conf": {
"min_replicas": 2,
"max_replicas": 10
},
"deployment_strategy": "RollingUpdate"
}
},
"enable_ingress": true,
"deployment_strategy": "RollingUpdate"
}
}
],
"kube_namespace": "yatai"
}
However, yatai-bento-image-builder shows this log:
Defaulted container "builder" out of: builder, bento-downloader (init), model-downloader-0 (init)Xipeng Guan
08/01/2023, 5:45 AM박종원
08/01/2023, 6:21 AM