update
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 22s
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 22s
This commit is contained in:
55
.fission/deployment.json
Normal file
55
.fission/deployment.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"namespace": "default",
|
||||
"environments": {
|
||||
"work-py": {
|
||||
"image": "ghcr.io/fission/python-env",
|
||||
"builder": "ghcr.io/fission/python-builder",
|
||||
"imagepullsecret": "vega-container-registry",
|
||||
"runtime_envs": [
|
||||
"AUDITLOG_ES_ENDPOINT=http://opensearch.observability.svc.cluster.local:9200",
|
||||
"AUDITLOG_ES_INDEX=faas_auditlogs",
|
||||
"AUDITLOG_ES_BASICAUTH_USER=",
|
||||
"AUDITLOG_ES_BASICAUTH_PASSWORD="
|
||||
],
|
||||
"mincpu": 50,
|
||||
"maxcpu": 100,
|
||||
"minmemory": 50,
|
||||
"maxmemory": 500,
|
||||
"poolsize": 1
|
||||
}
|
||||
},
|
||||
"archives": {
|
||||
"package.zip": {
|
||||
"sourcepath": "apps"
|
||||
}
|
||||
},
|
||||
"packages": {
|
||||
"ai-work": {
|
||||
"buildcmd": "./build.sh",
|
||||
"sourcearchive": "package.zip",
|
||||
"env": "work-py"
|
||||
}
|
||||
},
|
||||
"function_common": {
|
||||
"pkg": "ai-work",
|
||||
"secrets": [
|
||||
"fission-ai-work-env"
|
||||
],
|
||||
"executor": {
|
||||
"select": "newdeploy",
|
||||
"newdeploy": {
|
||||
"minscale": 1,
|
||||
"maxscale": 1
|
||||
},
|
||||
"poolmgr": {
|
||||
"concurrency": 1,
|
||||
"requestsperpod": 1,
|
||||
"onceonly": false
|
||||
}
|
||||
},
|
||||
"mincpu": 50,
|
||||
"maxcpu": 100,
|
||||
"minmemory": 50,
|
||||
"maxmemory": 500
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user