76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"name": "deployment-portal-frontend",
|
|
"environment": "$ENVIRONMENT",
|
|
"cluster": "$CLUSTER",
|
|
"metadata": {
|
|
"repo": "navi-infra/deployment-portal-frontend",
|
|
"language": "Javascript",
|
|
"dataSensitivity": "Internal",
|
|
"logCriticality": "AccessLogs",
|
|
"disasterRecovery": "False"
|
|
},
|
|
"deployment": {
|
|
"instance": {
|
|
"count": 2,
|
|
"cpu": $CPU,
|
|
"memory": "$MEMORY"
|
|
},
|
|
"alerts": {
|
|
"http5xx": {
|
|
"thresholdPercent": 10
|
|
}
|
|
},
|
|
"namespace": "$NAMESPACE",
|
|
"exposedPorts": [],
|
|
"loadBalancers": [
|
|
{
|
|
"type": "$LB_TYPE",
|
|
"groupName": "$LB_GROUP_NAME",
|
|
"accessPolicies": [
|
|
$ACCESS_POLICIES
|
|
],
|
|
"endpoint": "$SERVICE_ENDPOINT"
|
|
}
|
|
],
|
|
"allowEgress": [],
|
|
"allowEndpoint": [
|
|
{
|
|
"host": "deployment-portal-backend.infrastructure.svc.cluster.local",
|
|
"port": "8080"
|
|
}
|
|
],
|
|
"healthChecks": {
|
|
"readinessCheck": {
|
|
"type": "http",
|
|
"port": "serviceport",
|
|
"path": "/health",
|
|
"successThreshold": 1,
|
|
"initialDelaySeconds": 90,
|
|
"periodSeconds": 30,
|
|
"failureThreshold": 3,
|
|
"httpHeaders": []
|
|
},
|
|
"livenessCheck": {
|
|
"type": "http",
|
|
"port": "serviceport",
|
|
"path": "/health",
|
|
"successThreshold": 1,
|
|
"initialDelaySeconds": 90,
|
|
"periodSeconds": 30,
|
|
"failureThreshold": 3,
|
|
"httpHeaders": []
|
|
}
|
|
}
|
|
},
|
|
"environmentVariables": [
|
|
{
|
|
"name": "INFRA_VERTICAL",
|
|
"value": "$INFRA_VERTICAL"
|
|
}
|
|
],
|
|
"team": {
|
|
"name": "Cloud-Platform"
|
|
},
|
|
"infraVertical": "lending"
|
|
}
|