Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Chapter IV Nine Analysis will take you to K8s event easily.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1 introduction

Event is a special resource of K8s. With it, you can view the cluster events stored in etcd. In general, we pay little attention to it, but once you know it, you can't help but fall in love with it, because it can help you locate the problem more easily. If you don't believe it, you can directly locate the screenshot below:

Event is the namespace level. So when you look at event, be careful to bring namespaces.

Kubectl get event

2 practice

Once, when I was using K8s event, I found this error:

Failed to update Node Allocatable Limits ["kubepods"]: failed to set supported cgroup subsystems for cgroup [kubepods]: failed to find subsystem mount for required subsystem: pids

The reason for the problem is that the current operating system kernel is too low to support pids. As follows:

Cat / proc/cgroups

It was not solved until the kernel was upgraded. For information about how to upgrade the operating system kernel, you can refer to my "easy completion of the linux kernel". As shown in the following figure, the kernel already supports pids.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report