Code Monkey home page Code Monkey logo

tma-yaml's Introduction

TMA YAML and RADL files

This repository provides YAML and RADL files to deploy the TMA (Trustworthiness Monitoring & Assessment) Framework of ATMOSPHERE in a Kubernetes cluster.

In order to use the TMA Framework, you have to deploy a Kubernetes cluster, that can be done with the IM (Infrastructure Manager). You will need to install the IM server (https://github.com/grycap/im) and the IM client (https://github.com/grycap/im-client). Follow the instructions provided in each link to configure the environment.

The recipes provided in this repo contain the neccessary steps to install the TMA Framework together with the Kubernetes cluster, and the possibility to install CEPH or not.

  • tmaframework.radl: automates the configuration of a Kubernetes cluster with TMA framework, and a node configured with CEPH filesystem.
  • tmaframework_noceph.radl: automates the configuration of a Kubernetes cluster with TMA framework, using the local filesystem.

Choose your prefered option and, with the IM client, execute the following command:

$ ./im_client.py create tmaframework.radl -a auth.dat

You can get the contextualization logs of the infrastructure with the next command:

$ ./im_client.py getcontmsg <inf_id>

You can connect with the front-end of the infrastructure with the next command:

$ ./im_client.py ssh <inf_id>

Finally, when you finished to use your deployment, you can destroy it with the following command:

$ ./im_client.py destroy <inf_id>

TMA EC3 recipes

In order to deploy an elastic Kubernetes cluster with the TMA, you have to use the recipes contained in file 'ec3-recipes'.

For that, download the EC3 client from here (https://github.com/grycap/ec3), configure properly the credentials to access Fogbow and deploy your cluster with the following command:

$ ./ec3 launch TMACLUSTER kubernetes-tma tmaframework ubuntu16 -a auth.dat

To access the cluster once it is ready, use the following command:

$ ./ec3 ssh TMACLUSTER

Finally, to delete the cluster, use this command:

$ ./ec3 destroy TMACLUSTER

tma-yaml's People

Contributors

amcaar avatar rfrsilva avatar

Watchers

 avatar  avatar

Forkers

eubr-atmosphere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.