-
Notifications
You must be signed in to change notification settings - Fork 0
deployment_file
Davide Conzon edited this page Apr 14, 2020
·
11 revisions
Example of deployment file to be used to deploy a Simulation Manager, through the SOO
{
"deployments": [ # the list of deployments
{
"metadata": {
"name": "storage-manager",
"namespace": "default",
"generation": 1,
"labels": {
"k8s-app": "storage-manager"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "storage-manager"
}
}
},
"template": {
"metadata": {
"name": "storage-manager",
"labels": {
"k8s-app": "storage-manager"
}
},
"spec": {
"containers": [
{
"name": "storage-manager",
"image": "cpswarm/storage-simulation:latest",
"stdin": "true",
"env": [
{
"name": "DISPLAY",
"value": "localhost:99"
}
],
"resources": {
"limits": {
"cpu": 7,
"memory": "14Gi"
},
"requests": {
"cpu": 6,
"memory": "12Gi"
}
},
"imagePullPolicy": "IfNotPresent"
},
{
"name": "xvfb",
"image": "metal3d/xvfb",
"resources": {
"limits": {
"memory": "0.8Gi"
},
"requests": {
"memory": "600Mi"
}
},
"imagePullPolicy": "IfNotPresent"
}
],
"nodeSelector": {
"component": "pert"
}
}
}
}
]
}