[ch6331] | Abhishek | Add deployment_manifest.json
This commit is contained in:
55
deployment_manifest.json
Normal file
55
deployment_manifest.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"deployment": {
|
||||
"cluster": "$CLUSTER",
|
||||
"name": "deployment-portal-frontend",
|
||||
"instance": {
|
||||
"count": 2,
|
||||
"cpu": 0.25,
|
||||
"memory": "300Mi"
|
||||
},
|
||||
"environmentVariables": [],
|
||||
"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": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"team": {
|
||||
"name": "Infra"
|
||||
},
|
||||
"version": "v1"
|
||||
}
|
||||
Reference in New Issue
Block a user