FirstProfile
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 20s
Some checks failed
K8S Fission Deployment / Deployment fission functions (push) Failing after 20s
This commit is contained in:
59
.fission/deployment.json
Normal file
59
.fission/deployment.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"namespace": "default",
|
||||
"environments": {
|
||||
"user-profile-py": {
|
||||
"image": "ghcr.io/fission/python-env",
|
||||
"builder": "ghcr.io/fission/python-builder",
|
||||
"mincpu": 50,
|
||||
"maxcpu": 100,
|
||||
"minmemory": 50,
|
||||
"maxmemory": 500,
|
||||
"poolsize": 1
|
||||
}
|
||||
},
|
||||
"archives": {
|
||||
"package.zip": {
|
||||
"sourcepath": "apps"
|
||||
}
|
||||
},
|
||||
"packages": {
|
||||
"ailbl-user-profile": {
|
||||
"buildcmd": "./build.sh",
|
||||
"sourcearchive": "package.zip",
|
||||
"env": "user-profile-py"
|
||||
}
|
||||
},
|
||||
"function_common": {
|
||||
"pkg": "ailbl-user-profile",
|
||||
"secrets": [
|
||||
"fission-ailbl-user-profile-env"
|
||||
],
|
||||
"executor": {
|
||||
"select": "newdeploy",
|
||||
"newdeploy": {
|
||||
"minscale": 1,
|
||||
"maxscale": 1
|
||||
},
|
||||
"poolmgr": {
|
||||
"concurrency": 1,
|
||||
"requestsperpod": 1,
|
||||
"onceonly": false
|
||||
}
|
||||
},
|
||||
"mincpu": 50,
|
||||
"maxcpu": 100,
|
||||
"minmemory": 50,
|
||||
"maxmemory": 500
|
||||
},
|
||||
"secrets": {
|
||||
"fission-ailbl-user-profile-env": {
|
||||
"literals": [
|
||||
"PG_HOST=160.30.113.113",
|
||||
"PG_PORT=45432",
|
||||
"PG_DB=postgres",
|
||||
"PG_USER=postgres",
|
||||
"PG_PASS=q2q32RQx9R9qVAp3vkVrrASnSUUhzKvC"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user