Skip to content

Commit

Permalink
Merge pull request #275 from ShmilyXm/master
Browse files Browse the repository at this point in the history
Add PAI::Service fvt template
  • Loading branch information
xiao201208 authored Jun 20, 2024
2 parents 117c38c + 56ff81b commit 1834976
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions resources/pai/service.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1834976

Please sign in to comment.