You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install this demo on an existing Kubernetes cluster:
26
26
27
+
TODO: We need a pointer here to the last paragraph (forking repo) if people want to "interact" and not just install the demo (install command requires extra parameters)
@@ -38,9 +40,9 @@ NOTE: ArgoCD will be deployed in the `argo-cd` namespace by `stackablectl`. Argo
38
40
39
41
To run this demo, your system needs at least:
40
42
41
-
* 20{k8s-cpu}[cpu units] (core/hyperthread)
42
-
* 20GiB memory
43
-
* 20GiB disk storage
43
+
* 15{k8s-cpu}[cpu units] (core/hyperthread)
44
+
* 15 GiB memory
45
+
* 5 GiB disk storage
44
46
45
47
== Overview
46
48
@@ -74,7 +76,7 @@ This way, everything will be stored and managed in Git.
74
76
75
77
== ArgoCD UI
76
78
77
-
ArgoCD will be the first product that is deployed in this Demo. Once the pods are ready, you can port-forward the argocd-server in order to access the Web UI.
79
+
ArgoCD will be the first product that is deployed in this Demo. Once the pods are ready, you can port-forward the argocd-server in order to access the web UI.
78
80
79
81
[source,console]
80
82
----
@@ -85,7 +87,25 @@ In your browser, go to `https://localhost:8443` and login with username `admin`
85
87
86
88
NOTE: There will be an initial warning from the Browser, that this site is insecure due to self-signed certificates. This can be ignored in this case.
87
89
88
-
TODO: screenshots
90
+
The ArgoCD Web UI entry page shows an overview of deployed applications and their status and other metadata as the repository or the date of the last synchronization run.
91
+
92
+
TODO: Screenshot - Argo UI overview
93
+
94
+
Single applications can be inspected closer after clicking on e.g. the `airflow` project.
95
+
96
+
TODO: Screenshot - Argo UI - Airflow
97
+
98
+
Detailed information about the cluster, the cluster status and deployed components can be accessed in the application details.
99
+
Additionally, if the Git repository and the cluster state itself differ, possible applied changes can be previewed in a code diff similar to Git pull requests.
100
+
101
+
TODO: Screenshot - Argo UI - application details Network / List tab -> mark network tabs etc.
102
+
103
+
Per default in this demo, the ArgoCD `Sync Policy` is set to `auto-sync`. This means that changes to the Git repository are immediatly synced into the cluster.
104
+
This is nice in the demo case, but should be disabled for production use cases.
In your browser, go to `http://localhost:8080` and login with username `admin` and password `adminadmin`.
243
265
244
-
TODO: Screenshots
245
-
246
-
TODO: Similar to the ArgoCD {argo-cd-application}[`Application`]
266
+
TODO: Screenshots - start dag
247
267
248
268
=== Starting DAGs
249
269
250
270
TODO: screenshots?
251
271
252
-
=== Checking logs
272
+
== Minio / S3 - check logs
273
+
274
+
Since the Airflow Kubernetes Executor will be deleted after its run, the logs are written to an S3 bucket. When accessing the logs via the Airflow webserver,
275
+
the logs are fetched from S3 instead of the (already deleted) executor pods. The Minio / S3 instance can be accessed via port-forward:
Minio then is reachable via `https://localhost:9001` with username `admin` and password `adminadmin`. After the successful Airflow DAG run, logs should be stored in `demo/airflow-task-logs`.
283
+
284
+
NOTE: There will be an initial warning from the Browser, that this site is insecure due to self-signed certificates. This can be ignored in this case.
285
+
286
+
TODO: Screenshot - minio UI with log data
253
287
254
-
TODO: even important here?
288
+
As a last step, in order to better interact and not just "sync" from the Git repository, the following paragraph demonstrates how to fork the demo repository and adapt the `stackablectl` install command to point to the forked repository.
289
+
In this forked repository, changes can be made the code and synced into the cluster via ArgoCD.
255
290
256
291
== How to interact with ArgoCD and the Git repository
0 commit comments