Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make container events belong to their container groups #225

Merged
merged 2 commits into from
Dec 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_FAILED
name: POD_CREATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_created&param="
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_CREATED
name: POD_FAILED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_failed&param="
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_KILLING
name: POD_KILLING
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_killing&param="
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ version: 1.0
object:
attributes:
display_name:
name: CONTAINER_STARTED
name: POD_STARTED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_started&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: POD_STOPPED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_stopped&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: POD_UNHEALTHY
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=container_group&policy_event=containergroup_unhealthy&param="