Queries the precheck result of a Kubernetes application.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /pop/v5/k8s/app_precheck
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | Yes | The ID of the cluster in Enterprise Distributed Application Service (EDAS). | c37aec2a-bcca-4ec1-****-************ |
Namespace | string | Yes | The namespace of the Kubernetes cluster. | default |
AppName | string | Yes | The name of the application. | testapp |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "B909AB1F-3763-4963-B1CE-0BDFA192****",
"Code": 200,
"Message": "success",
"Data": {
"Status": "checking",
"Reason": "The Kubernetes cluster is disconnected from the EDAS control plane.\n",
"JobResults": [
{
"Name": "Cluster Health Check",
"Pass": true,
"Interrupted": false,
"Reason": "The Kubernetes cluster is disconnected from the EDAS control plane.\n"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | Edas.errorcode.PermissionDenied.message | You are not authorized to perform the operation. | No permissions |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-07-04 | Add Operation | see changesets |