Evaluate container lifecycle support in TOSCA TOSCA – 174 Adhoc TC
Design considerations TOSCA inherently supports containers through NodeType construct Container placement control is not supported Deployment semantics through resource capabilities/requirements Operational considerations – Co-location – Can be described through policies – Co-scheduling - Can be described through policies – Scalability – supported by TOSCA scalability roadmap – High Availability – Defined through application design construct Example implementation to use – OpenStack Magnum & heat constructs Last updates TOSCA Evaluate container lifecycle support in TOSCA
Container modeling approach TOSCA Evaluate container lifecycle support in TOSCA Hosted On Software Component Container (Docker Runtime Capability) Container (Docker Runtime Capability) Containee (Docker Runtime Requirement) Containee (Docker Runtime Requirement) Capabilities Container Docker Requiremen ts Docker artifacts: - image: mime_type: Docker repo: xxx URI: xxx Software Component (Container + Containee) Software Component (Container + Containee) WebServer Compute (Container) Compute (Container) Capabilities Requirements Container OpSys Scalable Container Capabilities Container Artifacts Docker Image (Apache.TAR) requirements: - host: capability: tosca.capabilities.Container node: NULL relationship: tosca.relationships.HostedOn capabilities: host: type: tosca.capabilities.Container valid_source_types: [NULL] Requirement s Container IaaS Modeling -Compute is explicit or implicit PaaS Modeling Container is explicit or implicit Agnostic Cloud Foundry Azure directive: substitutable Container
Use case realization focus on container management layer Container grouping definition based on operational behavior – (Scalable Vs Non-scalable) Cluster/group level policies scope to define group policies around roles, scale, connectivity and quorum aspects. Scaling is core aspect of cluster/group definition. scaling requires event processing. Use policies to define Event, condition and action model Cluster component deployment order considerations Container groupings and clusters TOSCA Evaluate container lifecycle support in TOSCA
Focus on process container (cloud native) use case – mongoDB use case is real life container use case Identify constraints and policies for the use case Build service template/s for the use case Merge container sample YAML in to YAML profile Current focus TOSCA Evaluate container lifecycle support in TOSCA
Use case TOSCA Evaluate container lifecycle support in TOSCA