Container paused for two continuous data submission periods. |
Missing some of the replicated task running for this service. |
Task that is in pending status for two continuous data submission periods. |
This rule detects abnormal CPU Utilization for Docker Swarm Containers, and fire alarm on different severities. It is disabled by default. You can customize it and enable it based on your different requirements. For more details about customization, refer to Customization . You can also change value of the registry variables or use your own value to change the threshold of each severities. This rule only works for those Containers that configures CPU limit.
This rule detects abnormal Memory Utilization for Docker Swarm Containers, and fire alarm on different severities. It is disabled by default. You can customize it and enable it based on your different requirements. For more details about customization, refer to Customization . You can also change value of the registry variables or use your own value to change the threshold of each severities. This rule only works for those Containers that configures Memory limit.
To customize a rule, Rule Scope and Condition will be used frequently.
1 |
Under Dashboards, click Administration > Rules & Notifications > Rules, then click on the rule and select View and Edit. |
2 |
Click Rule Editor on the Rule Detail popup dialog box. Then click Continue on the Confirm Edit Rule popup dialog box. |
3 |
On the Rule Editor dashboard, Rule Scope can be located on the Rule Definition tab and Condition can be located on the Condition & Actions tab. |
KubePod where namespace.cluster.name='kubecluster'
KubePod where namespace.cluster.name='kubecluster' and namespace.name='test'
KubeNode where cluster.name='nancyakscluster'
If you want to find Pods by labels in namespace “test” of cluster “kubecluster”, you can append and namespace.cluster.name='kubecluster' and namespace.name='test' to the end of above statement.
KubeNode where labels.key='env' and labels.value='prod'
If you want to find Nodes by labels in cluster “kubecluster”, you can append and cluster.name='kubecluster' to the end of above statement.
If you want to find Pods by labels in namespace “test” of cluster “kubecluster”, you can append and namespace.cluster.name='kubecluster' and namespace.name='test' to the end of above statement.
KubeNode.metrics where object.labels.key='env' and object.labels.value=’prod’
If you want to find Nodes by labels in cluster “kubecluster”, you can append and cluster.name='kubecluster' to the end of above statement.
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center