component_submitter

MiCADO Submitter

View the Project on GitHub micado-scale/component_submitter

MiCADO Submitter

TOSCA and the ADT by example

ADTs are always TOSCA…
but TOSCA is not always an ADT

The API

The Adaptors

A general refresher…

A quick look…

ADTs are based on TOSCA, written in YAML and you can start writing one like this:

tosca_definitions_version: tosca_simple_yaml_1_2

imports:
  - tosca/develop/micado_types.yaml

repositories:
  docker_hub: https://hub.docker.com/

description: ADT for stressng on EC2

Next up, the topology_template is where you describe your containers, virtual machines and policies, beginning with container and virtual machines under node_templates like so:

topology_template:
  node_templates:
  
    app-container:
      type: tosca.nodes.MiCADO.Container.Application.Docker
      properties:
        image: uowcpc/nginx:v1.2
      interfaces:
        Kubernetes:
          create:
            inputs:
              kind: Deployment


    worker-virtualmachine:
      type: tosca.nodes.MiCADO.EC2.Compute
      properties:
        instance_type: t2.small
      interfaces:
        Terraform:
          create:
      

A closer look…