clusterlint
Overview
Name | clusterlint |
Type | Resource |
Id | digitalocean.kubernetes.clusterlint |
Fields
Name | Datatype | Description |
---|---|---|
completed_at | string | A time value given in ISO8601 combined date and time format that represents when the schedule clusterlint run request was completed. |
diagnostics | array | An array of diagnostics reporting potential problems for the given cluster. |
requested_at | string | A time value given in ISO8601 combined date and time format that represents when the schedule clusterlint run request was made. |
run_id | string | Id of the clusterlint run that can be used later to fetch the diagnostics. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_clusterLintResults | SELECT | cluster_id | To request clusterlint diagnostics for your cluster, send a GET request to/v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint . If the run_id queryparameter is provided, then the diagnostics for the specific run is fetched. By default, the latest results are shown. To find out how to address clusterlint feedback, please refer to the clusterlint check documentation. |
run_clusterLint | EXEC | cluster_id | Clusterlint helps operators conform to Kubernetes best practices around resources, security and reliability to avoid common problems while operating or upgrading the clusters. To request a clusterlint run on your cluster, send a POST request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/clusterlint . This will run allchecks present in the doks group by default, if a request body is notspecified. Optionally specify the below attributes. For information about the available checks, please refer to the clusterlint check documentation. |