From 0f6b750c6eb3c218e6b816b0bd7b4dbbd45c5deb Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 16 Sep 2019 19:14:15 +0200 Subject: added the setup images --- imgs/main.tex | 49 ++++++++ imgs/out.svg | 362 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 411 insertions(+) create mode 100644 imgs/main.tex create mode 100644 imgs/out.svg diff --git a/imgs/main.tex b/imgs/main.tex new file mode 100644 index 0000000..284e593 --- /dev/null +++ b/imgs/main.tex @@ -0,0 +1,49 @@ +\documentclass[tikz,convert={outfile=\jobname.svg}]{standalone} + %\documentclass{article} + +\usepackage{tikz} +\usetikzlibrary{positioning,fit,calc} + +\begin{document} + \begin{tikzpicture}[ + block/.style={ + draw, + fill=white, + rectangle, + minimum width={width("TLE2JSON")+2pt}, + minimum height={height("TLE")+2pt}, + font=\small, + node distance=2cm + } + ] + + % left blocks + \node[block] (TLE) {TLE}; + \node[block, below = of TLE] (TLE2JSON) {TLE2JSON}; + \node[block, left = of TLE2JSON] (celestrack) {celestrack}; + \node[block, below = of TLE2JSON] (cache) {cache}; + + % right blocks + \node[block, right = of TLE] (drone) {drone}; + \node[block, below = of drone, right = of TLE2JSON] (prometheus) {prometheus}; + \node[block, below = of prometheus, right = of cache] (grafana) {grafana}; + + % left clusters + \node[draw, fit=(TLE), label=left:{git.darknebu.la}] (git.darknebu.la) {}; + \node[draw, fit=(TLE2JSON) (cache), label=below:{YOU}, draw=red] (you) {}; + \node[draw, fit=(celestrack), label=left:{the internet}] (the internet) {}; + + % right clusters + \node[draw, fit=(drone) (prometheus) (grafana), label=right:{nbg1}] (nbg1) {}; + + \path[draw, ->, line width=0.175mm, >=stealth] (grafana.north) -- (prometheus.south) node[midway, fill=white] {data}; + \path[draw, ->, line width=0.175mm, >=stealth] (prometheus.north) -- (drone.south) node[midway, fill=white] {metrics}; + \path[draw, ->, line width=0.175mm, >=stealth] (drone.west) -- (TLE.east) node[midway, fill=white] {ci}; + \path[draw, ->, line width=0.175mm, >=stealth] (prometheus.west) -- (TLE2JSON.east) node[midway, fill=white] {metrics}; + \path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.west) -- (celestrack.east) node[midway, fill=white]{TLE}; + \path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.north) -- (TLE.south) node[midway, fill=white] {go module}; + \path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.south) -- (cache.north) node[midway, fill=white] {TLE}; + + + \end{tikzpicture} +\end{document} diff --git a/imgs/out.svg b/imgs/out.svg new file mode 100644 index 0000000..e0f6f3d --- /dev/null +++ b/imgs/out.svg @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.4.1