Okay so as you can see in the manifest file it says 30 so the service should become healthy in 30 seconds but it’s been 20 mins since the deployment and it didn’t become healthy. According to the logs, I can see that my application is started but in the status section, I can still see that it shows active 0 and unhealthy 1. Is there any way to make it healthy and active? When I hover on that red triangle, it says application down so how can i make it run again
Also, I can see in deployment events:-
Jun 2023, 12:44:11
Deployment was changed
DETAILS
* Time23 Jun 2023 12:44:11
* Server creation time23 Jun 2023 12:44:11
* Typec8y_Application__DeploymentChange
* Last updated23 Jun 2023 12:44:11
* Application__ metadata{ "owner": "t41566", "tenant": "t41566" }
23 Jun 2023, 12:36:06
Started container dataingestion-service-scope-t41566-pod
DETAILS
* Time23 Jun 2023 12:36:06
* Server creation time23 Jun 2023 12:36:06
* Typec8y_Application__Started
* Last updated23 Jun 2023 12:36:06
* Application__ metadata{ "owner": "t41566", "tenant": "t41566" }
What does this mean?
My Cumulocity.json file:
{
"apiVersion": "1",
"version": "1.0.46",
"provider": {
"name": "dataingestion-microservice"
},
"isolation": "PER_TENANT",
"resources": {
"cpu": "1",
"memory": "1024M"
},
"requiredRoles": [
"ROLE_INVENTORY_READ",
"ROLE_INVENTORY_CREATE",
"ROLE_INVENTORY_ADMIN",
"ROLE_MEASUREMENT_READ",
"ROLE_MEASUREMENT_ADMIN",
"ROLE_ALARM_READ",
"ROLE_ALARM_ADMIN",
"ROLE_IDENTITY_READ",
"ROLE_IDENTITY_ADMIN",
"ROLE_EVENT_READ",
"ROLE_EVENT_ADMIN",
"ROLE_TENANT_MANAGEMENT_ADMIN",
"ROLE_TENANT_MANAGEMENT_READ",
"ROLE_OPTION_MANAGEMENT_READ",
"ROLE_OPTION_MANAGEMENT_ADMIN"
],
"livenessProbe": {
"httpGet": {
"path": "/health",
"port": 80
},
"initialDelaySeconds": 30,
"periodSeconds": 10
},
"readinessProbe": {
"httpGet": {
"path": "/health",
"port": 80
},
"initialDelaySeconds": 30,
"periodSeconds": 10
}
}