Kubernetes イベントのモニタ
Kubernetes には次の 2 つのイベントタイプがあります。
- 通常のイベント
- 警告イベント
Kubernetes イベントの詳細については、「Application Introspection and Debugging」を参照してください。Splunk AppDynamics は、次のサブセットをクラスタイベントとして報告します。これらは、Kubernetes 警告イベントと、クラスタ内の状態変更に関する重要な情報通知で構成されています。状態変更の例としては、保留状態から実行状態に移行するポッドがあります。
警告タイプの [Cluster Event] では、黄色の警告アイコン()が表示されます。ポッド、Replicaset、または展開が追加、更新、削除されると(状態の変更と呼ばれます)、クラスタエージェントはそれを情報タイプイベントとして報告し、青色の情報アイコン(
)が表示されます。
Configure Policy for Kubernetes Events
When you configure the policy for Kubernetes events, the Events page will display the details with the event type as Custom.
You can configure alert policies with the custom Kubernetes events. For more information about configuring policies, see Configure Policies.
You can use Triggers > Custom Events panel in the lower right corner to configure Kubernetes-specific custom events to trigger the policy. See, Configure Policy Triggers.
InAdd Custom Event Filter, you can include the following:
- Custom Event Type: Specify any of the supported event types.
- Properties: Filter the events by using a combination of the following properties:
- clusterName: the name of the cluster
namespace: the namespace of the cluster
kind: the kind used in the required cluster environment
reason: the event reason
name: the name of the event
Supported Event Types
- Kubernetes New Warning
- Kubernetes Updated Warning
- Deployment Added
- Deployment Deleted
- Replicaset Added
- Replicaset Deleted
- Pod Added
- Pod Deleted
- Pod Phase Changed