此内容没有您所选择的语言版本。

Chapter 28. Events


28.1. Overview

Events in OpenShift Container Platform are modeled based on events that happen to API objects in an OpenShift Container Platform cluster. Events allow OpenShift Container Platform to record information about real-world events in a resource-agnostic manner. They also allow developers and administrators to consume information about system components in a unified way.

28.2. Viewing Events with the CLI

You can get a list of events in a given project using the following command:

$ oc get events [-n <project>]

28.3. Viewing Events in the Console

You can see events in your project from the web console from the Browse Events page. Many other objects, such as pods and deployments, have their own Events tab as well, which shows events related to that object.

28.4. Comprehensive List of Events

This section describes the events of OpenShift Container Platform.

Table 28.1. Configuration Events
NameDescription

FailedValidation

Failed pod configuration validation.

Table 28.2. Container Events
NameDescription

BackOff

Back-off restarting failed the container.

Created

Container created.

Failed

Pull/Create/Start failed.

Killing

Killing the container.

Started

Container started.

Table 28.3. Health Events
NameDescription

Unhealthy

Container is unhealthy.

Table 28.4. Image Events
NameDescription

BackOff

Back off Ctr Start, image pull.

ErrImageNeverPull

The image’s NeverPull Policy is violated.

Failed

Failed to pull the image.

InspectFailed

Failed to inspect the image.

Pulled

Successfully pulled the image or the container image is already present on the machine.

Pulling

Pulling the image.

Table 28.5. Image Manager Events
NameDescription

FreeDiskSpaceFailed

Free disk space failed.

InvalidDiskCapacity

Invalid disk capacity.

Table 28.6. Node Events
NameDescription

FailedMount

Volume mount failed.

HostNetworkNotSupported

Host network not supported.

HostPortConflict

Host/port conflict.

InsufficientFreeCPU

Insufficient free CPU.

InsufficientFreeMemory

Insufficient free memory.

KubeletSetupFailed

Kubelet setup failed.

NilShaper

Undefined shaper.

NodeNotReady

Node is not ready.

NodeNotSchedulable

Node is not schedulable.

NodeReady

Node is ready.

NodeSchedulable

Node is schedulable.

NodeSelectorMismatching

Node selector mismatch.

OutOfDisk

Out of disk.

Rebooted

Node rebooted.

Starting

Starting kubelet.

Table 28.7. Pod Worker Events
NameDescription

FailedSync

Pod sync failed.

Table 28.8. System Events
NameDescription

SystemOOM

There is an OOM (out of memory) situation on the cluster.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.