Skip to content

Commit

Permalink
V0.4.4 (#52)
Browse files Browse the repository at this point in the history
* Prepare next release

* Masterscript: K8s allow overwriting dialect

* Masterscript: K8s change setting outside of constructor

* Masterscript: get_connection_config()

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch

* Masterscript: K8s Driver in K8s cluster first sketch - replace jar folder statically

* Masterscript: K8s Driver in K8s cluster first sketch - delete job and pod after success

* Masterscript: K8s Driver in K8s cluster first sketch - fixed code

* Masterscript: K8s Driver in K8s cluster first sketch - dynamic code and connection

* Masterscript: K8s Driver in K8s cluster first sketch - remove fixed code

* Masterscript: K8s Driver in K8s cluster first sketch - wait for client pod to run

* Masterscript: K8s Driver in K8s cluster first sketch - print status of client pod

* Masterscript: K8s Driver in K8s cluster first sketch - dbmsbenchmarker pod shall wait 60s (str)

* Masterscript: K8s Driver in K8s cluster first sketch - wait 60s for client pod to close

* Docs: Typo

* Docs: Reference to DBMSBenchmarker and Monitoring

* Masterscript: K8s wait without tqdm

* Masterscript: K8s copy Prometheus API URL

* Masterscript: K8s port forward to service name again

* Masterscript: K8s stop port forward in detached

* Masterscript: Add more labels to K8s objects

* Masterscript: Add more labels to K8s objects - benchmarker job

* Masterscript: Add more labels to K8s objects - sut deployment

* Masterscript: Add more labels to K8s objects - sut deployment configuration

* Masterscript: Add more labels to K8s objects - service name

* Masterscript: Add more labels to K8s objects - monitoring and dashboard

* Masterscript: Add more labels to K8s objects - monitoring and dashboard

* Masterscript: Add more labels to K8s objects - monitoring and dashboard

* Masterscript: Add more labels to K8s objects - filter by labels

* Masterscript: Add more labels to K8s objects - filter by labels

* Masterscript: Add more labels to K8s objects - filter by labels

* Masterscript: Add more labels to K8s objects - filter by labels

* Masterscript: Add more labels to K8s objects - delete by labels

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Add more labels to K8s objects - find active sut

* Masterscript: Cluster class

* Masterscript: Cluster class

* Masterscript: Cluster class

* Masterscript: Cluster class

* Masterscript: Start code

* Masterscript: Start code

* Masterscript: Add more labels to K8s objects - experiment

* Masterscript: Add more labels to K8s objects - experiment

* Masterscript: Add more labels to K8s objects - monitoring labels

* Masterscript: Add more labels to K8s objects - monitoring labels

* Masterscript: Add more labels to K8s objects - monitoring labels

* Masterscript: Add more labels to K8s objects - monitoring labels

* Masterscript: SUT deployment generated in result folder

* Masterscript: Set SUT deployment and service name

* Masterscript: Set SUT deployment and service name - lower and no _

* Masterscript: Set benchmarker job name

* Masterscript: Set SUT service name for benchmarker

* Masterscript: Delete all pods of a job

* Masterscript: K8s connection and configuration different

* Masterscript: K8s client for benchmarker jobs

* Masterscript: K8s client for benchmarker jobs

* Masterscript: K8s client for benchmarker jobs - connect to sut

* Masterscript: K8s connection and configuration different

* Masterscript: Message for no matching job

* Masterscript: K8s client for monitoring deployment - connect to sut

* Masterscript: K8s node selector should not be None

* Masterscript: K8s node selector should not be None

* Masterscript: K8s monitoring customized url

* Masterscript: K8s write pod logs

* Masterscript: K8s copy job yaml to result folder

* Masterscript: K8s sketch of configuration class

* Masterscript: K8s make result folder if not exists

* Masterscript: K8s sketch of merging results in dashboard pod

* Masterscript: K8s sketch of merging results in dashboard pod

* Masterscript: K8s sketch of merging results in dashboard pod
  • Loading branch information
perdelt committed Feb 18, 2021
1 parent c52d5bd commit 092fe73
Show file tree
Hide file tree
Showing 6 changed files with 636 additions and 58 deletions.
679 changes: 626 additions & 53 deletions bexhoma/masterK8s.py

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# API Details

This document contains API details about
This document contains API details about methods for **parameters**
* [`set_code()`](#set-code)
* [`set_experiment()`](#set-experiment)
* [`set_workload()`](#set-workload)
* [`set_connectionmanagement()`](#set-connection-management)
* [`set_querymanagement()`](#set-query-management)
* [`set_resources()`](#set-resources)
* [`set_ddl_paramters()`](#set-ddl-parameters)
* [`set_ddl_parameters()`](#set-ddl-parameters)

and methods for the **workflow**
* [`runExperiment()`](#run-experiment)
* [`prepareExperiment()`](#prepare-experiment)
* [`startExperiment()`](#start-experiment)
Expand Down
1 change: 1 addition & 0 deletions docs/Architecture-K8s.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile modified="2021-01-28T20:46:35.184Z" host="app.diagrams.net" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="SgEVZvlzCICDDtghk_du" version="14.2.7" type="device"><diagram id="Eicp26NF3Bc-FzKGdtsJ" name="Architecture">7V1bd6M4Ev41OWf3AR8kxO2xE8fdvTvZzelMz+7MSw4G2aZjGw/GucyvX4mbQRIg28i37X7oGBkLUH36VFWqKm6Mu8X759hbzR6iAM9voB683xjDGwih47jkD235yFugC7OWaRwGWRvYNjyFf+G8Uc9bN2GA17UTkyiaJ+Gq3uhHyyX2k1qbF8fRW/20STSvX3XlTTHX8OR7c771P2GQzLJWB9rb9i84nM6KKwMrf+KFV5ycP8l65gXRW6XJuL8x7uIoSrJPi/c7PKejV4xL8nk0MYLfotGP4cvD9+d771vyqGWdjXb5SfkIMV4me3c9Xv14/ecf968PX5foJXx6GD+8Qg2YWd+v3nyTD1j+sMlHMYLTONqs8tNwnOB3kdy8cXG6Lnm3oBxCAj4cLXASf5Df5b1r0Mw7yoGnOVYusretGN3i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A5LZgCheP3+q7Qe4Qynryxzibc3oU42xwS/qIH1Rzb9wQgP/uQE/8zIQdf/FLhlaDanOvQOhS9LqdqblctEveDoBcMz51PYemiseYxOcdoSvflEAouJQqoZY+AASRHEiVyOjBmqmSA9UZpkJB6vPd4sf0dMokFonsFH3ivZ/6GkUDpVVGaqfjkbe0dgj/C7D0ShhLp6GUyHjaNTK6Xo6TpV5ZfUZehr3AbV9PE6VG3tRPNnBjsanj3WCF+RrGmZGqFb/Ff90NrY4G3tE0tk6G2Xe33wmlFgWFDvdtARHUcpbBHVOHCUTJnUtCwQ4otYtOfoiJ8fBS8QwJqQa/1wTel0TmsBztosCbMbWYVZeO0Il0/vqnwXpfd/wejOnIckiFMvl+BXOKxoOtyZQkmAwho4CDzsTX0RHlu/g8aTNbS4FtT3WVCbVXrMdwYoKy+pxdRNNGdhMftVQnyqRXZOJ8t8v3UA85wXv62mZawfkFxw2+NYpBn/ft+ApFxq8DKGJ3Bgd9Xl6SKvu5F3ONfjNeyMnD9OQ4lYubq3pc51cbFtsaR2hy+fobOyclhBudko1U00IriwfNJj9x+GDosjeiWRGq7Xo9fcEDJCFOkTXUhxEnTwFbwtoWb1PJk/0cw7uIbNDEzUPk9lJtNiKIqWzWbqWtc8MFFUH2haRbMvUPT0CnAMBkP501/RWDTG14TVk1mo0SvwC6JAB4E4pruQwjqKkejotPf0QBXTT9v5/</diagram></mxfile>
4 changes: 3 additions & 1 deletion docs/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

We need
* a [config file](#clusterconfig) containing cluster information , say `cluster.config`
* a [config folder](https://github.com/Beuth-Erdelt/GEO-GPU-DBMS-Benchmarks#config-folder) for the benchmark tool, say `experiments/tpch/`, containing a config file `queries.config` for the [queries](https://github.com/Beuth-Erdelt/DBMS-Benchmarker#query-file)
* a [config folder](https://github.com/Beuth-Erdelt/DBMS-Benchmarker/docs/Options.md#config-folder) for the benchmark tool, say `experiments/tpch/`, containing a config file `queries.config` for the [queries](https://github.com/Beuth-Erdelt/DBMS-Benchmarker/docs/Options.md#query-file)
* some additional data depending on if it is an [AWS](#on-aws) or a [k8s](#on-k8s) cluster
* a python script managing the experimental workflow, say `experiment-tpch.py`

Expand Down Expand Up @@ -207,3 +207,5 @@ Monitoring requires
* `grafanatoken` and `grafanaurl` to access this from DBMSBenchmarker
* A dict of exporters given as docker commands
* Will be installed and activated automatically at each instance when `cluster.prepareExperiment()` is invoked.

More information can be found [here](Monitoring.md)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ requests>=2.21.0
scp>=0.13.2
kubernetes>=9.0.0
psutil>=5.6.1
dbmsbenchmarker>=0.10.2
dbmsbenchmarker>=0.10.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="bexhoma",
version="0.4.3",
version="0.4.4",
author="Patrick Erdelt",
author_email="perdelt@beuth-hochschule.de",
description="This Python tools helps managing DBMS Benchmarking experiments in a HPC cluster environment. It supports AWS and Kubernetes (K8s).",
Expand Down

0 comments on commit 092fe73

Please sign in to comment.