From b94f207e1b8bd0e3fc70c83117e483cb16f369ff Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Wed, 24 Sep 2025 08:41:36 +0200 Subject: [PATCH 1/5] feat: update Redis helm chart docs and network policies lab --- docs/for-devs/console/catalog.md | 4 ++-- docs/for-ops/how-to/use-catalog.md | 2 +- docs/get-started/labs/create-netpols.md | 16 ++++++++++------ docs/get-started/labs/use-catalog.md | 4 ++-- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/docs/for-devs/console/catalog.md b/docs/for-devs/console/catalog.md index f270dcd41..d8e14b222 100644 --- a/docs/for-devs/console/catalog.md +++ b/docs/for-devs/console/catalog.md @@ -32,9 +32,9 @@ The `knative-service` Helm chart can be used to create a Knative `Service` (to d The `postgresql-cluster` Helm chart can be used to create a cloudnativepg PostgreSQL `Cluster`. Optionally a Prometheus `PodMonitor` and a `Configmap` (for adding a postgresql dashboard to Grafana) can be created. -6. Redis master-replica cluster +6. Redis high availability cluster -The `redis-cluster` Helm chart can be used to create a Redis master-replica cluster. +The `redis-ha` Helm chart can be used to create a Redis high availability cluster with master-replica topology and HAProxy load balancer. 7. RabbitMQ Cluster and/or Queues diff --git a/docs/for-ops/how-to/use-catalog.md b/docs/for-ops/how-to/use-catalog.md index bc305f2cb..a964a07b3 100644 --- a/docs/for-ops/how-to/use-catalog.md +++ b/docs/for-ops/how-to/use-catalog.md @@ -40,7 +40,7 @@ The `postgresql-cluster` Helm chart can be used to create a cloudnativepg Postgr ### quickstart-redis -The `redis-cluster` Helm chart can be used to create a Redis master-replica cluster. +The `redis-ha` Helm chart can be used to create a Redis high availability cluster with master-replica topology and HAProxy load balancer. ## Customize the catalog diff --git a/docs/get-started/labs/create-netpols.md b/docs/get-started/labs/create-netpols.md index 932d833ba..2ca10ccc2 100644 --- a/docs/get-started/labs/create-netpols.md +++ b/docs/get-started/labs/create-netpols.md @@ -44,8 +44,8 @@ Outbound Rules let you: ### 2. Deploy Redis & Postgres -1. In the Catalog, install **redis** (master‑replica) with `auth.enabled=false`. -2. Install **postgresql** with default settings. +1. In the Catalog, install **redis** (redis-ha) with default settings. +2. Install **postgresql** (postgresql-cluster) with default settings. ### 3. Deploy your workloads @@ -64,7 +64,7 @@ containerPorts: protocol: TCP env: - name: REDIS_HOST - value: -quickstart-redis-master + value: -redis-ha-haproxy replicaCount: 1 ``` @@ -91,7 +91,7 @@ env: name: -app key: password - name: REDIS_HOST - value: -quickstart-redis-master + value: -redis-ha-haproxy - name: DATABASE_HOST value: -rw replicaCount: 1 @@ -172,8 +172,12 @@ You’ll allow only Worker & Result to reach Postgres, and only Vote & Worker to 2. **Name:** `redis-ingress` 3. **Sources:** - - Workload: **worker** → `otomi.io/app=worker` - - ADD SOURCE → **vote** → `otomi.io/app=vote` + - **Workload:** select **worker** + - **Label(s):** Select `otomi.io/app=worker`from the drop-down + - Click **ADD SOURCE**, then add: + + - **Workload:** vote + - **Label(s):** `otomi.io/app=vote` 4. **Target:** Redis → `otomi.io/app=redis` 5. **Save Changes** diff --git a/docs/get-started/labs/use-catalog.md b/docs/get-started/labs/use-catalog.md index 2f1a0802d..75f528445 100644 --- a/docs/get-started/labs/use-catalog.md +++ b/docs/get-started/labs/use-catalog.md @@ -30,9 +30,9 @@ The `knative-service` Helm chart can be used to create a Knative `Service` (to d The `postgresql-cluster` Helm chart can be used to create a cloudnativepg PostgreSQL `Cluster`. Optionally a Prometheus `PodMonitor` and a `Configmap` (for adding a postgresql dashboard to Grafana) can be created. -### redis-cluster +### redis-ha -The `redis-cluster` Helm chart can be used to create a Redis master-replica cluster. +The `redis-ha` Helm chart can be used to create a Redis high availability cluster with master-replica topology and HAProxy load balancer. ### rabbitmq-cluster From ec43e37a640f7041f785b75cc0a6c5a79676e80c Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Wed, 24 Sep 2025 14:18:39 +0200 Subject: [PATCH 2/5] fix: update Dockerfile paths --- docs/get-started/labs/create-netpols.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/get-started/labs/create-netpols.md b/docs/get-started/labs/create-netpols.md index 2ca10ccc2..6570d7da7 100644 --- a/docs/get-started/labs/create-netpols.md +++ b/docs/get-started/labs/create-netpols.md @@ -38,9 +38,9 @@ Outbound Rules let you: 1. Register a Code Repository with `https://github.com/linode/apl-examples` as the URL. 2. Create three Docker Container Images. For the Dockerfile path you can use: - - **vote** → `vote-app/vote/Dockerfile` - - **worker** → `vote-app/worker/Dockerfile` - - **result** → `vote-app/result/Dockerfile` + - **vote** → `./vote-app/vote/Dockerfile` + - **worker** → `./vote-app/worker/Dockerfile` + - **result** → `./vote-app/result/Dockerfile` ### 2. Deploy Redis & Postgres From 540979eb5c0d0e455b5444f6b91a0a9f80f22cda Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Tue, 30 Sep 2025 09:41:05 +0200 Subject: [PATCH 3/5] fix: network policies lab redis host value --- docs/get-started/labs/create-netpols.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/get-started/labs/create-netpols.md b/docs/get-started/labs/create-netpols.md index 6570d7da7..82dd8327d 100644 --- a/docs/get-started/labs/create-netpols.md +++ b/docs/get-started/labs/create-netpols.md @@ -64,7 +64,7 @@ containerPorts: protocol: TCP env: - name: REDIS_HOST - value: -redis-ha-haproxy + value: -redis-ha replicaCount: 1 ``` @@ -91,7 +91,7 @@ env: name: -app key: password - name: REDIS_HOST - value: -redis-ha-haproxy + value: -redis-ha - name: DATABASE_HOST value: -rw replicaCount: 1 From b5223ca61299a4fa596c27a435d86ae30ab7c201 Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Thu, 9 Oct 2025 16:38:19 +0200 Subject: [PATCH 4/5] fix: create network policy lab --- docs/get-started/labs/create-netpols.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/get-started/labs/create-netpols.md b/docs/get-started/labs/create-netpols.md index 82dd8327d..5e114efae 100644 --- a/docs/get-started/labs/create-netpols.md +++ b/docs/get-started/labs/create-netpols.md @@ -38,9 +38,9 @@ Outbound Rules let you: 1. Register a Code Repository with `https://github.com/linode/apl-examples` as the URL. 2. Create three Docker Container Images. For the Dockerfile path you can use: - - **vote** → `./vote-app/vote/Dockerfile` - - **worker** → `./vote-app/worker/Dockerfile` - - **result** → `./vote-app/result/Dockerfile` + - **vote** → `vote-app/vote/Dockerfile` + - **worker** → `vote-app/worker/Dockerfile` + - **result** → `vote-app/result/Dockerfile` ### 2. Deploy Redis & Postgres @@ -64,7 +64,7 @@ containerPorts: protocol: TCP env: - name: REDIS_HOST - value: -redis-ha + value: replicaCount: 1 ``` @@ -91,7 +91,7 @@ env: name: -app key: password - name: REDIS_HOST - value: -redis-ha + value: - name: DATABASE_HOST value: -rw replicaCount: 1 From 9ef7eb8e618339a4f73030fbef155e859787c1de Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Thu, 9 Oct 2025 16:50:32 +0200 Subject: [PATCH 5/5] empty commit