|
|
@@ -123,30 +123,31 @@ Local image IDs are not represented as registry manifest digests.
|
|
|
|
\section{Private networks, proxy and minimal settings}
|
|
|
|
\section{Private networks, proxy and minimal settings}
|
|
|
|
\begin{figure}[htbp]
|
|
|
|
\begin{figure}[htbp]
|
|
|
|
\centering
|
|
|
|
\centering
|
|
|
|
\resizebox{\linewidth}{!}{%
|
|
|
|
\begingroup
|
|
|
|
|
|
|
|
\linespread{1}\selectfont
|
|
|
|
\begin{tikzpicture}[
|
|
|
|
\begin{tikzpicture}[
|
|
|
|
box/.style={draw=devopsBlue,rounded corners=2pt,align=center,
|
|
|
|
box/.style={draw=devopsBlue,rounded corners=2pt,align=center,
|
|
|
|
font=\small,text width=3.65cm,minimum height=1.05cm,inner sep=6pt,fill=white},
|
|
|
|
font=\fontsize{10}{13}\selectfont,text width=3.8cm,minimum height=1.6cm,inner sep=6pt,fill=white},
|
|
|
|
newbox/.style={box,fill=devopsLightBlue},
|
|
|
|
newbox/.style={box,fill=devopsLightBlue},
|
|
|
|
store/.style={box,fill=black!5},
|
|
|
|
store/.style={box,fill=black!5},
|
|
|
|
arrow/.style={-{Stealth[length=2.5mm]},thick,draw=devopsBlue},
|
|
|
|
arrow/.style={-{Stealth[length=2.5mm]},thick,draw=devopsBlue},
|
|
|
|
edgeLabel/.style={font=\footnotesize,fill=white,inner sep=3pt,align=center}]
|
|
|
|
edgeLabel/.style={font=\footnotesize,fill=white,inner sep=3pt,align=center}]
|
|
|
|
% Explicit grid positions reserve separate lanes for every connection.
|
|
|
|
% Explicit grid positions reserve separate lanes for every connection.
|
|
|
|
\node[box] (browser) at (0,0) {Customer / student / TA\\browser};
|
|
|
|
\node[box] (browser) at (0,0) {Customer / student\\TA browser};
|
|
|
|
\node[box] (proxy) at (0,-1.8) {Existing Caddy :443\\TLS termination / HTTP redirect};
|
|
|
|
\node[box] (proxy) at (0,-3.2) {Existing Caddy\\TLS :443\\HTTP redirect :80};
|
|
|
|
\node[box] (old) at (-4.8,-1.8) {Existing Gitea / Jenkins\\pricing staging + production};
|
|
|
|
\node[box] (old) at (-4.8,-3.2) {Existing Gitea / Jenkins\\Pricing: staging\\and production};
|
|
|
|
\node[store] (oldvol) at (-4.8,0) {Existing Gitea data / Jenkins home\\pricing configuration / TLS storage};
|
|
|
|
\node[store] (oldvol) at (-4.8,0) {Existing Gitea data\\Jenkins home / TLS storage\\Pricing configuration};
|
|
|
|
\node[box] (monitor) at (4.8,-1.8) {Existing Prometheus + Blackbox\\Grafana + Node Exporter};
|
|
|
|
\node[box] (monitor) at (4.8,-3.2) {Prometheus / Blackbox\\Grafana / Node Exporter};
|
|
|
|
\node[store] (monvol) at (4.8,0) {Metrics history / dashboards\\exporter and alert configuration};
|
|
|
|
\node[store] (monvol) at (4.8,0) {Metrics history\\Dashboards / alert rules\\Exporter configuration};
|
|
|
|
\draw[draw=devopsBlue,dashed,rounded corners=4pt]
|
|
|
|
\draw[draw=devopsBlue,dashed,rounded corners=4pt]
|
|
|
|
(-7.05,-9.45) rectangle (7.05,-2.75);
|
|
|
|
(-7.05,-15.0) rectangle (7.05,-5.1);
|
|
|
|
\node[anchor=north west,font=\small\bfseries,text=devopsBlue]
|
|
|
|
\node[anchor=north west,font=\small\bfseries,text=devopsBlue]
|
|
|
|
at (-6.85,-2.9) {New Zammad private project network};
|
|
|
|
at (-6.85,-5.3) {New Zammad private network};
|
|
|
|
\node[newbox] (nginx) at (0,-4.05) {Zammad nginx :8080\\also joins existing proxy network};
|
|
|
|
\node[newbox] (nginx) at (0,-6.9) {Zammad nginx :8080\\Private + proxy networks};
|
|
|
|
\node[newbox] (app) at (0,-6.1) {Rails :3000 / websocket\\scheduler / one-shot initialization};
|
|
|
|
\node[newbox] (app) at (0,-10.1) {Rails :3000 / websocket\\Scheduler / one-shot init};
|
|
|
|
\node[newbox] (data) at (-4.8,-6.1) {PostgreSQL :5432\\Redis :6379 / Memcached :11211\\Elasticsearch :9200};
|
|
|
|
\node[newbox] (data) at (-4.8,-10.1) {PostgreSQL :5432\\Redis :6379\\Memcached :11211\\Elasticsearch :9200};
|
|
|
|
\node[newbox] (backup) at (4.8,-6.1) {Official backup container\\private project network};
|
|
|
|
\node[newbox] (backup) at (4.8,-10.1) {Official backup container\\Private project network};
|
|
|
|
\node[store] (vol) at (0,-8.6) {Named database / search / Redis\\shared application storage\\and backup volumes};
|
|
|
|
\node[store] (vol) at (0,-13.4) {Named database / search / Redis\\Shared application storage\\Backup volumes};
|
|
|
|
\draw[arrow] (browser.south)--node[edgeLabel,right]{HTTPS}(proxy.north);
|
|
|
|
\draw[arrow] (browser.south)--node[edgeLabel,right]{HTTPS}(proxy.north);
|
|
|
|
\draw[arrow] (proxy.west)--(old.east);
|
|
|
|
\draw[arrow] (proxy.west)--(old.east);
|
|
|
|
\draw[arrow] (old.north)--(oldvol.south);
|
|
|
|
\draw[arrow] (old.north)--(oldvol.south);
|
|
|
@@ -156,10 +157,10 @@ Local image IDs are not represented as registry manifest digests.
|
|
|
|
\draw[arrow] (nginx.south)--(app.north);
|
|
|
|
\draw[arrow] (nginx.south)--(app.north);
|
|
|
|
\draw[arrow] (app.west)--(data.east);
|
|
|
|
\draw[arrow] (app.west)--(data.east);
|
|
|
|
\draw[arrow] (app.south)--(vol.north);
|
|
|
|
\draw[arrow] (app.south)--(vol.north);
|
|
|
|
\draw[arrow] (data.south)--(-4.8,-8.6)--(vol.west);
|
|
|
|
\draw[arrow] (data.south)--(-4.8,-13.4)--(vol.west);
|
|
|
|
\draw[arrow] (backup.south)--(4.8,-8.6)--(vol.east);
|
|
|
|
\draw[arrow] (backup.south)--(4.8,-13.4)--(vol.east);
|
|
|
|
\end{tikzpicture}%
|
|
|
|
\end{tikzpicture}
|
|
|
|
}
|
|
|
|
\endgroup
|
|
|
|
\caption{Actual logical service and storage boundaries. Only Zammad nginx
|
|
|
|
\caption{Actual logical service and storage boundaries. Only Zammad nginx
|
|
|
|
joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on
|
|
|
|
joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on
|
|
|
|
\texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy.
|
|
|
|
\texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy.
|
|
|
|