From 56ff81b9d50b53bcb0bb108f6fcddf0dc2a877f5 Mon Sep 17 00:00:00 2001 From: "qinyangming.qym" Date: Thu, 20 Jun 2024 16:05:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EPAI::Service=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/pai/service.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 resources/pai/service.yml diff --git a/resources/pai/service.yml b/resources/pai/service.yml new file mode 100644 index 00000000..9c860751 --- /dev/null +++ b/resources/pai/service.yml @@ -0,0 +1,15 @@ +ROSTemplateFormatVersion: '2015-09-01' +Resources: + PAIService: + Type: ALIYUN::PAI::Service + Properties: + ServiceConfig: + containers: + - image: eas-registry-vpc.cn-hangzhou.cr.aliyuncs.com/pai-eas/python-inference:3.6-ubuntu1804 + port: 8000 + script: python app.py + metadata: + instance: 1 + name: ros_test_pai + cpu: 4 + memory: 8000