Skip to content

Commit

Permalink
Fixed md lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lemaitre-aneo committed May 22, 2023
1 parent d8fe95a commit 072e9a1
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ git clone https://github.com/aneoconsulting/ArmoniK.Samples.git ./Source/ArmoniK
tools/tests/symphony_like.sh
```


::alert{type="info"}
You can check the logs using Seq.
::
103 changes: 72 additions & 31 deletions .docs/content/1.installation/1.linux/3.deploy-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,38 @@ script [deploy-dev-test-infra.sh](../utils/scripts/deploy-dev-test-infra.sh)

The infrastructure is composed of:

* Addons for Kubernetes:
* Keda
* Metrics server
* Storage:
* ActiveMQ
* MongoDB
* Redis
* Monitoring:
* ArmoniK metrics exporter
* Grafana
* Node exporter
* Prometheus
* Seq server for structured log data of ArmoniK.
* ArmoniK:
* AdminGUI
* Control plane
* Compute plane: polling agent and workers
* Ingress
- Addons for Kubernetes:
- Keda
- Metrics server
- Storage:
- ActiveMQ
- MongoDB
- Redis
- Monitoring:
- ArmoniK metrics exporter
- Grafana
- Node exporter
- Prometheus
- Seq server for structured log data of ArmoniK.
- ArmoniK:
- AdminGUI
- Control plane
- Compute plane: polling agent and workers
- Ingress

# Prerequisites

The following software or tool should be installed upon your local Linux machine:

* If You have Windows machine, You have to install [WSL 2](../docs/wsl2.md)
* [Docker](https://docs.docker.com/engine/install/)
* [GNU make](https://www.gnu.org/software/make/)
* [JQ](https://stedolan.github.io/jq/download/)
* [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
* [Python](https://docs.python-guide.org/starting/install3/linux/) version 3
* [hcl2](https://pypi.org/project/python-hcl2/)
* [jsonpath-ng](https://pypi.org/project/jsonpath-ng/)
* [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli)
- If You have Windows machine, You have to install [WSL 2](../docs/wsl2.md)
- [Docker](https://docs.docker.com/engine/install/)
- [GNU make](https://www.gnu.org/software/make/)
- [JQ](https://stedolan.github.io/jq/download/)
- [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
- [Python](https://docs.python-guide.org/starting/install3/linux/) version 3
- [hcl2](https://pypi.org/project/python-hcl2/)
- [jsonpath-ng](https://pypi.org/project/jsonpath-ng/)
- [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli)

# Install Kubernetes

Expand All @@ -59,114 +59,159 @@ cd infrastructure/utils/scripts
```

- To see the usage command:

```bash
./deploy-dev-test-infra.sh -h
```

- To deploy for the first time all infrastructure:

```bash
./deploy-dev-test-infra.sh -m deploy-all
```

- To redeploy all infrastructure:

```bash
./deploy-dev-test-infra.sh -m redeploy-all
```

- To destroy all infrastructure:

```bash
./deploy-dev-test-infra.sh -m destroy-all
```

- To clean and delete all generated files from all deployment:

```bash
./deploy-dev-test-infra.sh --clean all
```

If You want to deploy each resource independently:

- To deploy Keda:

```bash
./deploy-dev-test-infra.sh -m deploy-keda
```

- To deploy Metrics server:

```bash
./deploy-dev-test-infra.sh -m deploy-metrics-server
```

- To deploy storage:

```bash
./deploy-dev-test-infra.sh -m deploy-storage
```

- To deploy monitoring:

```bash
./deploy-dev-test-infra.sh -m deploy-monitoring
```

- To deploy ArmoniK:

```bash
./deploy-dev-test-infra.sh -m deploy-armonik
```

If You want to redeploy each resource independently:

- To redeploy Keda:

```bash
./deploy-dev-test-infra.sh -m redeploy-keda
```

- To redeploy Metrics server:

```bash
./deploy-dev-test-infra.sh -m redeploy-metrics-server
```

- To redeploy storage:

```bash
./deploy-dev-test-infra.sh -m redeploy-storage
```

- To redeploy monitoring:

```bash
./deploy-dev-test-infra.sh -m redeploy-monitoring
```

- To redeploy ArmoniK:

```bash
./deploy-dev-test-infra.sh -m redeploy-armonik
```

If You want to destroy each resource independently:

- To destroy Keda:

```bash
./deploy-dev-test-infra.sh -m destroy-keda
```

- To destroy Metrics server:

```bash
./deploy-dev-test-infra.sh -m destroy-metrics-server
```

- To destroy storage:

```bash
./deploy-dev-test-infra.sh -m destroy-storage
```

- To destroy monitoring:

```bash
./deploy-dev-test-infra.sh -m destroy-monitoring
```

- To destroy ArmoniK:

```bash
./deploy-dev-test-infra.sh -m destroy-armonik
```

If You want to clean and delete generated files from each deployment independently:

- To clean Keda:

```bash
./deploy-dev-test-infra.sh --clean keda
```

- To clean Metrics server:

```bash
./deploy-dev-test-infra.sh --clean metrics-server
```

- To clean storage:

```bash
./deploy-dev-test-infra.sh --clean storage
```

- To clean monitoring:

```bash
./deploy-dev-test-infra.sh --clean monitoring
```

- To clean ArmoniK:

```bash
./deploy-dev-test-infra.sh --clean armonik
```
Expand Down Expand Up @@ -263,7 +308,3 @@ If You want to deactivate the ingress with NGINX:
```bash
./deploy-dev-test-infra.sh -m deploy-all --without-nginx
```

### [Return to the infrastructure main page](../README.md)

### [Return to the project main page](../../README.md)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You must have installed WSL2 and Ubuntu before continuing. If you haven't, pleas

## Install genie

To install `genie` please refer to https://arkane-systems.github.io/wsl-transdebian/
To install `genie` please refer to [Genie How-To](https://arkane-systems.github.io/wsl-transdebian/).

Finally, in order to avoid some issues, you need to mask some services.

Expand Down

0 comments on commit 072e9a1

Please sign in to comment.