Clean-up container name & add event definitions
Change-Id: I9ab5e8517abaf440ddc8a58beda6223a0c76fc32
This commit is contained in:
parent
7ab44ee132
commit
60de679237
@ -33,7 +33,7 @@ spec:
|
|||||||
{{ labels("ceilometer", "ceilometer") | indent(8) }}
|
{{ labels("ceilometer", "ceilometer") | indent(8) }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: ceilometer-notification-agent
|
- name: agent
|
||||||
image: vexxhost/ceilometer-agent-notification:latest
|
image: vexxhost/ceilometer-agent-notification:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ceilometer-config
|
- name: ceilometer-config
|
||||||
|
@ -22,6 +22,8 @@ stringData:
|
|||||||
ceilometer.conf: |
|
ceilometer.conf: |
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
transport_url = fake:/
|
transport_url = fake:/
|
||||||
|
[event]
|
||||||
|
definitions_cfg_file = /etc/ceilometer/event_definitions.yaml
|
||||||
[notification]
|
[notification]
|
||||||
ack_on_event_error = false
|
ack_on_event_error = false
|
||||||
{% for transport in spec.get('transports', []) %}
|
{% for transport in spec.get('transports', []) %}
|
||||||
@ -43,3 +45,19 @@ stringData:
|
|||||||
- name: atmosphere
|
- name: atmosphere
|
||||||
publishers:
|
publishers:
|
||||||
- http://localhost:8080/v1/events
|
- http://localhost:8080/v1/events
|
||||||
|
event_definitions.yaml: |
|
||||||
|
---
|
||||||
|
- event_type: 'compute.instance.*'
|
||||||
|
traits:
|
||||||
|
resource_id:
|
||||||
|
fields: payload.instance_id
|
||||||
|
instance_type:
|
||||||
|
fields: payload.instance_type
|
||||||
|
state:
|
||||||
|
fields: payload.state
|
||||||
|
created_at:
|
||||||
|
type: datetime
|
||||||
|
fields: payload.created_at
|
||||||
|
deleted_at:
|
||||||
|
type: datetime
|
||||||
|
fields: payload.deleted_at
|
||||||
|
Loading…
Reference in New Issue
Block a user