node-problem-detector (NPD) provides a unified approach to manage Kubernetes clusters that are deployed across different regions. This topic describes how to enable NPD on an application that runs in an external Kubernetes cluster.
- Log on to the Container Service console.
- In the left-side navigation pane, choose Alibaba Cloud Apps tab appears.. The
- Click the Parameters tab to set parameters. Click Create.
Parameter Description alibaba_cloud_plugins Delete ram_role_check.
If the instance does not have GPU cards, delete nvidia_gpu_check.
serviceaccount Specify a service account with administrator privileges. You can run
kubectl -n kube-system get sato query service accounts. For more information, see Use kubectl on Cloud Shell to manage Kubernetes clusters.
env Set parameters AccessKeyId, AccessKeySecret, and RegionId. sls enabled To archive events in Log Service, set enabled to true. topic Enter the name of the cluster. project Specify the project in Log Service that corresponds to your cluster. logstore Specify a Logstore under the project. To use the event center feature in Log Service, set the value to k8s-event. internal If a leased line connects the cluster and the VPC network, set the value to true. Otherwise, set the value to false. dingtalk enabled To send alerts to DingTalk groups, set enabled to true. monitorkinds Select the type of alert that you want to receive. Valid values:
token Enter the token of a DingTalk Chatbot. You can find the token in the URL of a DingTalk Chatbot.