Files
deployment-portal-be/deployment_manifest.json

74 lines
1.5 KiB
JSON
Raw Normal View History

{
"deployment": {
"cluster": "$CLUSTER",
"name": "deployment-portal-backend",
"instance": {
"count": 2,
"cpu": 0.25,
"memory": "300Mi"
},
"environmentVariables": [
{
"name": "DATASOURCE_URL",
"value": "$DATASOURCE_URL"
},
{
"name": "DATASOURCE_PASSWORD",
"value": "$DATASOURCE_PASSWORD"
},
{
"name": "DATASOURCE_USERNAME",
"value": "$DATASOURCE_USERNAME"
}
],
"namespace": "$NAMESPACE",
"exposedPorts": [
{
"name": "metrics",
"port": 4001
}
],
"loadBalancers": [
{
"type": "$LB_TYPE",
"accessPolicies": [
$ACCESS_POLICIES
],
"endpoint": "$SERVICE_ENDPOINT"
}
],
"allowEgress": [],
"healthChecks": {
"readinessCheck": {
"type": "http",
"port": "serviceport",
"path": "/health",
"successThreshold": 1,
"initialDelaySeconds": 90,
"periodSeconds": 30,
"failureThreshold": 3,
"httpHeaders": []
},
"livenessCheck": {
"type": "http",
"port": "metrics",
"path": "/actuator/health",
"successThreshold": 1,
"initialDelaySeconds": 90,
"periodSeconds": 30,
"failureThreshold": 3,
"httpHeaders": []
}
}
},
"extraResources": {
"environment": "$ENVIRONMENT"
},
"team": {
"name": "Infra"
},
"labels": {
"micrometer-prometheus": "enabled"
},
"version": "v1"
}