初始提交

This commit is contained in:
2026-03-23 10:33:13 +08:00
commit addf335bc6
15 changed files with 1252 additions and 0 deletions

72
py-deploy/global.json Normal file
View File

@@ -0,0 +1,72 @@
{
"namespace": "a",
"imageSecret": "harbor",
"domain": "a.notesync.cn",
"superDomain": "b.notesync.cn",
"tssDomain": "c.notesync.cn",
"ingressClassName": "nginx",
"deployments": [
{
"name": "nginx01",
"image": "nginx:nginx01",
"replicas": 2,
"resources": {
"limits": {
"cpu": "0.2",
"memory": "256Mi"
},
"requests": {
"cpu": "0.1",
"memory": "128Mi"
}
}
},
{
"name": "nginx02",
"image": "nginx:nginx02",
"replicas": 2,
"resources": {
"limits": {
"cpu": "0.2",
"memory": "256Mi"
},
"requests": {
"cpu": "0.1",
"memory": "128Mi"
}
}
},
{
"name": "gateway",
"image": "backend:gateway",
"replicas": 2,
"resources": {
"limits": {
"cpu": "2",
"memory": "4G"
},
"requests": {
"cpu": "1",
"memory": "2G"
}
}
},
{
"name": "auth",
"image": "backend:auth",
"replicas": 2,
"resources": {
"limits": {
"cpu": "2",
"memory": "4G"
},
"requests": {
"cpu": "1",
"memory": "2G"
}
}
}
]
}