初始提交
This commit is contained in:
72
py-deploy/global.json
Normal file
72
py-deploy/global.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user