Skip to content

Commit

Permalink
fix: labs overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Rodenhuis committed Jan 5, 2024
1 parent 095ced8 commit 666e2bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
20 changes: 8 additions & 12 deletions docs/for-devs/get-started/lab-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slug: deploy-workloads-argo-cd-otomi-kubernetes
title: Deploy Workloads with Argo CD
sidebar_label: Deploy Workloads with Argo CD
description: Learn how to deploy your applications using Argo CD in the Otomi Kubernetes environment with this comprehensive guide. Discover how to manage resources effectively using Git and streamline your deployment process.
description: Learn how to deploy your applications on Kubernetes using Argo CD with this comprehensive guide. Discover how to manage resources effectively using Git and streamline your deployment process.
keywords:
- Argo
- ArgoCD
Expand All @@ -16,31 +16,27 @@ keywords:
- Tutorial
---

:::info
**Prerequisite**: Argo CD needs to be activated for this lab.
:::
Creating Kubernetes resources using `kubectl apply -f` can be inefficient. As a developer, managing resources based on code stored in Git enhances control and traceability. Otomi integrates with Argo CD to provide a seamless GitOps experience, streamlining your deployment process.

Deploying applications using `kubectl apply -f` can be inefficient. As a developer, managing resources based on code stored in Git enhances control and traceability. Otomi integrates with Argo CD to provide a seamless GitOps experience, streamlining your deployment process.

## Deploying Workloads Using Argo CD and Otomi
## Deploying Workloads Using Argo CD

Start by navigating to the apps section in the Otomi console, where you will find an app named Argo CD. Click on it to proceed.

![Argo CD App in Otomi Console](../../img/team-app-argo.png)

In Argo CD, notice that an application specific to your team has already been set up. This application syncs with any manifest present in the Gitea repository designated for Argo.
In Argo CD, notice that an application specific to your team has already been set up. This application syncs with any manifest present in the Gitea repository designated for your team.

![Argo CD Team Application Overview](../../img/argo-team-app.png)

After clicking on the app and selecting `APP DETAILS`, you'll find the `REPO URL`. The `SYNC POLICY` is also set to `ENABLE AUTO-SYNC`, facilitating automatic synchronization with the repository.
After clicking on the app and selecting `APP DETAILS`, you'll find the `REPO URL`.

Returning to the Otomi console, select the Gitea app in the apps section. There, you'll discover a new repository titled `otomi/team-<name>-argocd`.
Return to the Otomi console, select the Gitea app in the apps section. In Gitea you will see a repository titled `otomi/team-<name>-argocd`.

![Gitea Repository for Argo CD in Otomi](../../img/argo-team-repo.png)

### Demonstrating the Power of Argo CD

Let's demonstrate the capabilities of Argo CD by adding a manifest to the repository:
Let's demonstrate the capabilities of Argo CD by adding some manifests to the repository:

1. Create a file named `deploy-nginx.yaml` in the repository.
2. Insert the following contents into the file:
Expand Down Expand Up @@ -92,7 +88,7 @@ Let's demonstrate the capabilities of Argo CD by adding a manifest to the reposi
Once you return to the Argo CD application, click on the `team<name>` application.

Remember, the application is not configured for automatic syncing, so manually initiate a `SYNC` by selecting SYNC and then `REFRESH`.
The application is configured for automatic syncing, so a manual `SYNC` is not needed.

![Syncing in ArgoCD](../../img/argo-team-sync.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/for-devs/get-started/lab-18.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: lab-18
title: Publicly expose your application
title: Publicly expose workloads
sidebar_label: Expose services
---

Expand Down
13 changes: 2 additions & 11 deletions docs/for-devs/get-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Welcome to Otomi! If you are going to use Otomi, these getting started labs are

**Create code repositories and build images**


### [Create private Git repositories](lab-3.md)

### [Create builds](lab-6.md)
Expand All @@ -31,7 +30,7 @@ Welcome to Otomi! If you are going to use Otomi, these getting started labs are

### [Create secrets](lab-8.md)

### [Deploy Workloads with Argo CD](lab-10.md)
### [Create Kubernetes resources with Argo CD](lab-10.md)

### [Explore the Catalog](lab-29.md)

Expand All @@ -45,7 +44,7 @@ Welcome to Otomi! If you are going to use Otomi, these getting started labs are

**Expose workloads**

### [Publicly expose a service](lab-18.md)
### [Publicly expose workloads](lab-18.md)

---

Expand All @@ -59,14 +58,6 @@ Welcome to Otomi! If you are going to use Otomi, these getting started labs are

---

**Expose workloads**

### [Publicly expose a service](lab-18.md)

### [Configuring network policies](lab-19.md)

---

**Monitor and debug workloads**

### [View container logs](lab-20.md)
Expand Down

0 comments on commit 666e2bd

Please sign in to comment.