Skip to content

Commit dc5f54f

Browse files
feat: search, graphs, theme (#26)
* ahh quetti graphs * launch me off a cliff * graphs! * fix: broken links * docs: better getting starter graph (#29) * docs: better getting-started graph * fix: broken links --------- Co-authored-by: Lorenzo <[email protected]> --------- Co-authored-by: Tommaso Morganti <[email protected]>
1 parent f6a1dc0 commit dc5f54f

File tree

19 files changed

+1644
-63
lines changed

19 files changed

+1644
-63
lines changed

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node-terminal",
9+
"name": "Run Script: start",
10+
"request": "launch",
11+
"command": "pnpm run start",
12+
"cwd": "${workspaceFolder}"
13+
}
14+
]
15+
}

docs/infrastructure/01-Introduction.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ Why not a simple VM?
2323
AKS gives us the flexibility of a 10s pod deployment, reliability (with ArgoCD ensuring all pods are up and running all the time) and allows us to be more precise and clean in our infrastructure, with better monitoring and allocated resources for each application depending on the importance.
2424

2525
## About this documentation
26+
2627
:::important
2728
Most of the docs explain procedures with the Azure CLI and the Kubernetes CLI.
28-
Make sure to [install and configure them](./Tutorials/setup#azure-cli--kubectl) to follow along.
29+
Make sure to [install and configure them](./getting-started/setup#azure-cli--kubectl) to follow along.
2930
Alternatively, you can see the [official Azure documentation](https://learn.microsoft.com/en-us/azure/?product=popular) for how to use the Azure portal.
3031
:::
3132

32-
33-
The best place to start is going through the [Tutorials](./Tutorials/setup) section to get a high level overview of how things are organized.
33+
The best place to start is going through the [Getting Started](./getting-started/setup) section to get a high level overview of how things are organized.
3434
If you're looking for a guide on how to achieve a specific outcome, you can look in the [Guides](./Guides/add-a-new-secret).
35-
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
label: Getting Started
2+
position: 2

docs/infrastructure/02-getting-started/basic-knowledge/Terraform.md

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
label: Basic Knowledge
2+
position: 2
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Basic Knowledge
3+
---
4+
import DocCardList from '@theme/DocCardList';
5+
6+
## Overview
7+
8+
This section explains how we organized our infrastructure.
9+
10+
Everything regarding the deployment of apps and services is divided into two repositories:
11+
12+
- [polinetworkorg/terraform](https://github.com/polinetworkorg/terraform) - Contains the Terraform code to deploy the infrastructure. This defines the resources that are created on Azure, from specific things like KeyVaults, to the Kubernetes cluster itself.
13+
- [polinetworkorg/polinetwork-cd](https://github.com/polinetworkorg/polinetwork-cd) - Our GitOps repo, contains the manifests that define deployments specific for each app or service. This repository is connected to the ArgoCD instance running on the Kubernetes cluster.
14+
15+
```mermaid
16+
flowchart TD
17+
subgraph Github
18+
tf([**terraform**])
19+
cd([**polinetwork-cd**])
20+
end
21+
subgraph Azure
22+
vm[VMs and other resources]
23+
subgraph k8s[K8S cluster]
24+
argocd[ArgoCD]
25+
app@{ shape: processes, label: "Apps / Services" }
26+
end
27+
end
28+
29+
tf -.-> vm
30+
tf -.-> k8s
31+
vm <--> k8s
32+
cd <-.-> argocd --> app
33+
```
34+
35+
<!-- markdownlint-disable-next-line -->
36+
<DocCardList />

docs/infrastructure/02-Tutorials/k8s-basics/_category_.json renamed to docs/infrastructure/02-getting-started/k8s-basics/_category_.json

File renamed without changes.

docs/infrastructure/02-Tutorials/k8s-basics/day-to-day/monitoring.md renamed to docs/infrastructure/02-getting-started/k8s-basics/day-to-day/monitoring.md

File renamed without changes.

docs/infrastructure/02-Tutorials/k8s-basics/day-to-day/ssh.md renamed to docs/infrastructure/02-getting-started/k8s-basics/day-to-day/ssh.md

File renamed without changes.

docs/infrastructure/02-Tutorials/k8s-basics/intro.md renamed to docs/infrastructure/02-getting-started/k8s-basics/intro.md

File renamed without changes.

0 commit comments

Comments
 (0)