From f0d44ce5d2590da8dd88f557a15cf073d505f331 Mon Sep 17 00:00:00 2001 From: mayuehit Date: Thu, 11 Dec 2025 11:22:35 +0000 Subject: [PATCH 1/2] fix package Signed-off-by: mayuehit --- scripts/package_yuanrong.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package_yuanrong.sh b/scripts/package_yuanrong.sh index a47b165..b145cac 100644 --- a/scripts/package_yuanrong.sh +++ b/scripts/package_yuanrong.sh @@ -108,7 +108,7 @@ fi faas_filename=$(ls *faas*.tar.gz) if [ -n "${faas_filename}" ]; then tar -zxvf ${faas_filename} -C ${OUTPUT_DIR}/openyuanrong - cp -fr ${OUTPUT_DIR}/openyuanrong/pattern/pattern_faas/init_scheduler_args.json ${OUTPUT_DIR}/openyuanrong/function_system/config/ + cp -fr ${OUTPUT_DIR}/openyuanrong/pattern/pattern_faas/init_scheduler_args.json ${OUTPUT_DIR}/openyuanrong/functionsystem/config/ fi dashboard_filename=$(ls *dashboard*.tar.gz) -- Gitee From a2d147e3597d6ae8a98e963511d16b1d75094a5e Mon Sep 17 00:00:00 2001 From: mayuehit Date: Sat, 13 Dec 2025 02:57:09 +0000 Subject: [PATCH 2/2] add xx.json. Signed-off-by: mayuehit --- xx.json | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 xx.json diff --git a/xx.json b/xx.json new file mode 100644 index 0000000..63fa633 --- /dev/null +++ b/xx.json @@ -0,0 +1,74 @@ +{ + "name": "0@demo@faas", + "runtime": "python3.9", + "description": "this is my app", + "handler": "handler.my_handler", + "kind": "faas", + "cpu": 600, + "memory": 512, + "timeout": 600, + "customResources": {}, + "minInstance": "0", + "maxInstance": "100", + "concurrentNum": "100", + "storageType": "s3", + "codePath": "", + "s3CodePath": { + "bucketId": "demo", + "objectId": "index.zip", + "bucketUrl": "https://x.x.x.x:30110" + } + } + + { + "pools": [{ + "id": "pool3", + "size": 1, + "group": "rg1", + "reuse": true, + "labels": { + "label1": "val1" + }, + "environment": { + "key": "vaule" + }, + "volumes": "[]", + "volume_mounts": "[]", + "resources": { + "limits": { + "cpu": "600m", + "memory": "512Mi" + }, + "requests": { + "cpu": "600m", + "memory": "512Mi" + } + }, + "pod_anti_affinities": "" + }, + { + "id": "pool4", + "size": 1, + "group": "rg2", + "reuse": true, + "labels": { + "label1": "val1" + }, + "environment": { + "key": "vaule" + }, + "volumes": "[]", + "volume_mounts": "[]", + "resources": { + "limits": { + "cpu": "1000m", + "memory": "1024Mi" + }, + "requests": { + "cpu": "1000m", + "memory": "1024Mi" + } + }, + "pod_anti_affinities": "" + }] + } \ No newline at end of file -- Gitee