1. Kubernetes 常见事件

1.1. 调度失败信息

Message: 0/180 nodes are available: 1 Insufficient cpu, 1 node(s) were unschedulable, 178 node(s) didn't match node selector, 2 Insufficient memory.


1.2. process_linux.go:319.md

  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Normal Scheduled 12h default-scheduler Successfully assigned ns1/apitest14bc18 to hangye-online-jda-qz-vm39
  Warning FailedSync 6h32m (x3 over 6h39m) kubelet, hangye-online-jda-qz-vm39 (combined from similar events): error determining status: rpc error: code = Unknown desc = Error: No such container: 0e0d38da603cbec70595406eff3fd0e3754b14f3d58cface6f49d38a25f1e20a
  Normal SandboxChanged 17m (x19490 over 12h) kubelet, hangye-online-jda-qz-vm39 Pod sandbox changed, it will be killed and re-created.
  Warning FailedCreatePodSandBox 2m54s (x19473 over 12h) kubelet, hangye-online-jda-qz-vm39 Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "apitest14bc18": Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:319: getting the final child's pid from pipe caused \"read init-p: connection reset by peer\"": unknown


        cpu: 100m
        memory: "128"
        cpu: 100m
        memory: "128"


1.3. Conflict-The-container-name.md

  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Normal Created 20m (x2 over <invalid>) kubelet, vm172-25-126-20 Created container apigw-redis-sentinel
  Normal Started 20m (x2 over <invalid>) kubelet, vm172-25-126-20 Started container apigw-redis-sentinel
  Warning Failed 18m (x4 over 20m) kubelet, vm172-25-126-20 Error: Error response from daemon: Conflict. The container name "/k8s_apigw-redis-sentinel_apigw-redis-sentinel-1_skiff-apigw_5c6d4be2-98bb-4c1e-a795-04b1a73091a5_3" is already in use by container "7f487468f1d75f6ed211eceaf0f48daa07074ddb98f5de9fa3cdf7d515e5db3d". You have to remove (or rename) that container to be able to reuse that name.
  Warning BackOff 16m (x19 over 21m) kubelet, vm172-25-126-20 Back-off restarting failed container
  Normal Pulled 64s (x75 over <invalid>) kubelet, vm172-25-126-20 Container image "harbor.tp.hwwt2.com/skiff/redis:3.2" already present on machine
  Normal SandboxChanged <invalid> kubelet, vm172-25-126-20 Pod sandbox changed, it will be killed and re-created.


或者 在k8s里面delte pod即可

Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2023-05-20 21:15:12

results matching ""

    No results matching ""