Skip to content

Instantly share code, notes, and snippets.

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
Project:
type: cloudify.openstack.nodes.Project
properties:
resource_id: test-project
users:
- name: admin
roles:
- admin
quota:
nova:
image:
type: cloudify.openstack.nodes.Image
properties:
image:
name: test-image
disk_format: qcow2
container_format: bare
image_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1604.qcow2
tosca_definitions_version: cloudify_dsl_1_2
imports:
- http://www.getcloudify.org/spec/cloudify/3.3.1/types.yaml
- http://dice-project.github.io/cloudify-openstack-plugin/1.4/plugin.yaml
- http://dice-project.github.io/cloudify-chef-plugin/1.3.2/plugin.yaml
- http://dice-project.github.io/DICE-Deployment-Cloudify/spec/openstack/develop/plugin.yaml
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 2
swarm-agent-XXXXXXXX: 10.0.0.4:2375
info: Executing command account show
data: Name : <SUBSCRIPTION PLAN>
data: ID : <ID0>
data: State : Enabled
data: Tentat ID : <ID1>
data: Is Default : true
data: Environment : AzureCloud
data: Has Certificate : No
data: Has Access Token : Yes
data: User name : <EMAIL>
info: Executing command vm docker create
warn: --vm-size has not been specified. Defaulting to "Small".
info: Found docker client certificates.
+ Looking up image b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04-LTS-amd64-server-20140618.1-en-us-30GB
+ Looking up cloud service
info: cloud service <NAME_OF_MASTER_OR_NODES> not found.
+ Creating cloud service
+ Retrieving storage accounts
+ Creating a new storage account 'portalvhds1477345946449'
+ Creating VM
branch1_vpn:
type: vyatta-machine
properties:
netconf_auth:
user: { get_input: netconf_user }
password: { get_input: netconf_user }
key_content: { get_input: netconf_key_content }
relationships:
- type: cloudify.relationships.contained_in
target: vrouter_branch1_VM
branch1_vpn:
type: vyatta-machine
properties:
netconf_auth:
user: { get_input: netconf_user }
password: { get_input: netconf_user }
key_content: { get_input: netconf_key_content }
relationships:
- type: cloudify.relationships.contained_in
target: vrouter_branch1_VM
clearwater.nodes.sprout:
derived_from: clearwater.nodes.monitoredconfig
interfaces:
cloudify.interfaces.lifecycle:
configure: scripts/clearwater/sprout/install-sprout.sh
stop: scripts/clearwater/sprout/stop-sprout.sh
delete: scripts/clearwater/other/remove-cluster-node.sh
clearwater.nodes.bono:
derived_from: clearwater.nodes.monitoredconfig