Last active
July 6, 2016 16:51
-
-
Save yeshess/eb3485b4a8e7f0e1cee8df857a06f256 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heal_group: | |
members: [kubernetes_node_host] | |
policies: | |
simple_autoheal_policy: | |
type: cloudify.policies.types.host_failure | |
properties: | |
service: | |
- .*kubernetes_node_host.*.cpu.total.system | |
- .*kubernetes_node_host.*.process.hyperkube.cpu.percent | |
interval_between_workflows: 60 | |
triggers: | |
auto_heal_trigger: | |
type: cloudify.policies.triggers.execute_workflow | |
parameters: | |
workflow: heal | |
workflow_parameters: | |
node_instance_id: { 'get_property': [ SELF, node_id ] } | |
diagnose_value: { 'get_property': [ SELF, diagnose ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment