Kubernetes Object Name | Type | Requesting Resources | Associated Namespace |
node-healing-controller | Deployment | CPU: 100m Memory: 128Mi | kube-system |
node-healing | ServiceAccount | - | kube-system |
node-healing-role | ClusterRole | - | - |
node-healing-rolebinding | ClusterRoleBinding | - | - |
machinehealingtemplates.node.healing.tke.cloud.tencent.com | CRD | - | - |
nodehealers.node.healing.tke.cloud.tencent.com | CRD | - | - |
healingtasks.node.healing.tke.cloud.tencent.com | CRD | - | - |
Permission Object | Operation Permissions | Purpose |
nodes | get, list, watch, patch, update | Obtain node information, listen for node status changes, and update node tags and taints. |
nodes/status | patch, update | Modify node status (Condition). |
events | create, update, patch | Send events to notify the cluster. |
pods | get, list, watch, delete | Obtain Pod information and evict Pods. |
pods/eviction | create | Perform Pod eviction. |
machinehealingtemplates | get, list, watch, create, update, patch, delete | Manage self-healing templates. |
nodehealers | get, list, watch, create, update, patch, delete | Manage self-healing policies. |
healingtasks | get, list, watch, create, update, patch, delete | Manage self-healing tasks. |
apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata:name: node-healing-rolerules:- apiGroups: [""]resources: ["nodes"]verbs: ["get", "list", "watch", "patch", "update"]- apiGroups: [""]resources: ["nodes/status"]verbs: ["patch", "update"]- apiGroups: [""]resources: ["events"]verbs: ["create", "update", "patch"]- apiGroups: [""]resources: ["pods"]verbs: ["get", "list", "watch", "delete"]- apiGroups: [""]resources: ["pods/eviction"]verbs: ["create"]- apiGroups: ["node.healing.tke.cloud.tencent.com"]resources: ["machinehealingtemplates", "nodehealers", "healingtasks"]verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]- apiGroups: ["node.healing.tke.cloud.tencent.com"]resources: ["healingtasks/status", "nodehealers/status"]verbs: ["get", "update", "patch"]
apiVersion: node.healing.tke.cloud.tencent.com/v1kind: NodeHealermetadata:name: cluster-node-healerspec:# Node SelectornodeSelector:matchLabels:node-healing.tke.cloud.tencent.com/belong-to: cluster-node-healercloud.tencent.com/provider: tencentcloud# Reference Self-Healing TemplatemachineHealingTemplate:name: "default-healing-template"kind: "MachineHealingTemplate"apiVersion: "node.healing.tke.cloud.tencent.com/v1"# Monitored Abnormal ConditionsunhealthyConditions:- type: KernelDeadlockenableCheck: trueenableHealing: truedurationTime: "5m"priority: 100- type: KubeletProblemenableCheck: trueenableHealing: truedurationTime: "5m"priority: 85# Rate Limiting PolicynodeHealingPolicy:maxHealNodesPerDay: 10maxHealNodesPerHour: 3maxHealConcurrency: 2minNodeCoolingMinutes: 60
# Add the belong-to tag to all native nodeskubectl label node -l node-healing.tke.cloud.tencent.com/belong-to=cluster-node-healer
unhealthyConditions, specify one of the following fault type names in the type field:Fault Type | Description | Self-Healing Policy |
KernelDeadlock | Kernel deadlock | Complete process |
ReadonlyFilesystem | The file system is read-only. | Isolate + drain + recover |
StuckProcess | Stuck process | Isolate + drain + recover |
ProcessProblem | Large number of processes in D state | Isolate + drain + recover |
XFSError | XFS filesystem error | Isolate + drain + recover |
DiskReadOnly | Disk read-only | Isolate + drain + recover |
NetDeviceProblem | NIC hardware failure | Isolate + drain only |
Fault Type | Description | Self-Healing Policy |
CustomPIDPressure | Custom PID pressure | Isolate + drain + recover |
FDPressure | File descriptor pressure | Isolate + drain + recover |
ThreadPressure | Thread pressure | Isolate + drain + recover |
SystemLoadProblem | System load problem | Isolate + drain + recover |
OverlayDiskPressure | Overlay disk pressure | Isolate + drain + recover |
FDProblem | FD leak | Isolate + drain + recover |
ConntrackProblem | Conntrack table full | Isolate + drain + recover |
Fault Type | Description | Self-Healing Policy |
ContainerdProblem | Containerd service errors | Complete process |
ContainerRuntimeInterfaceUnhealthy | Unhealthy CRI | Complete process |
ContainerRuntimeUnhealthy | Unhealthy runtime | Complete process |
ContainerdRuntimeUnhealthy | Unhealthy Containerd runtime | Complete process |
DockerdProblem | Docker service errors | Complete process |
KubeletProblem | Kubelet service errors | Complete process |
HasGhostContainer | Ghost containers exist. | Complete process |
CorruptDockerOverlay2 | Docker Overlay2 storage corruption | Complete process |
Fault Type | Description | Self-Healing Policy |
ConnectApiServer | Cannot connect to API Server | Complete process |
PLEGNotHealthy | PLEG is unhealthy. | Complete process |
KubeletUnhealthy | Kubelet is unhealthy. | Complete process |
FrequentKubeletRestart | Frequent Kubelet restarts. | Isolate + recover |
FrequentDockerRestart | Frequent Docker restarts. | Isolate + recover |
FrequentContainerdRestart | Frequent Containerd restarts. | Isolate + recover |
Fault Type | Description | Self-Healing Policy |
GPUDeviceLost | GPU device lost. | Complete process |
GPUDoubleBitEccError | GPU double-bit ECC error (uncorrectable) | Isolate + drain only |
GPUHighSingleBitEccError | GPU single-bit ECC error threshold exceeded. | Isolate + drain only |
GPUInfoROMCorrupted | GPU InfoROM corrupted. | Isolate + drain only |
GPUNvlinkError | NVLink communication error | Complete process |
GPUPCIeError | PCIe interface abnormal | Complete process |
GPUPendingRetiredPages | GPU memory pages pending retirement | Complete process |
GPUPowerError | GPU power issue | Isolate + drain only |
GPURemappingRowsError | GPU memory row remapping error | Isolate + drain only |
GPUTempError | GPU overtemperature | Isolate + drain only |
GPUXIDFatalError | GPU fatal XID error | Isolate + drain only |
GPUXIDWarningError | GPU warning XID error | Complete process |
Metric Name | Type | Description |
component_request_duration_millisecond | Histogram | Component request duration (milliseconds) |
controller_request_total | Counter | Total number of controller requests |
controller_request_duration_millisecond | Summary | Controller request duration, providing P25/P50/P75/P90/P99 percentiles. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários