Skip to content

Commit 5a20b18

Browse files
committed
docs: rework basic documentation
1 parent 11674c6 commit 5a20b18

5 files changed

Lines changed: 30 additions & 18 deletions

File tree

content/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: hextra-home
3+
description: Developer-first infrastructure automation and configuration — no DSL, just real code. Easy to use SDK. No lock-in.
34
---
45
{{< hextra/hero-badge >}}
56
<div class="hx:w-2 hx:h-2 hx:rounded-full hx:bg-primary-400"></div>
@@ -8,7 +9,7 @@ layout: hextra-home
89

910
<div class="hx:mt-6 hx:mb-6">
1011
{{< hextra/hero-headline >}}
11-
Developer-first<br/>infrastructure automation.
12+
Developer-first <br/>infrastructure automation.
1213
{{< /hextra/hero-headline >}}
1314
</div>
1415

content/docs/configuration.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,29 @@ toc: false
77
{{< tabs items="Manager,Agent" >}}
88
{{< tab >}}
99

10-
**Development configuration**
10+
**Test configuration**
11+
12+
This minimal configuration can be used to ease testing in lab.
13+
14+
Not recommenced for production.
1115

1216
```yaml {filename="/etc/jackadi/manager.yaml"}
13-
mtls: false
14-
auto-accept-agent: true
17+
mtls: false # in developement, mTLS authentication can be skipped
18+
auto-accept-agent: true # avoids having to accept agents manually
1519
```
1620
1721
**Minimal recommended configuration for production**
1822
1923
```yaml {filename="/etc/jackadi/manager.yaml"}
20-
address: "0.0.0.0" # choose the listening address carefully
24+
# should listen only on the network you want to serve
25+
address: "0.0.0.0"
2126

27+
# auto acceptation should be disabled,
28+
# unless you have a strong pki management
2229
auto-accept-agent: false
2330

31+
# mTLS is critical for production to both
32+
# authenticate and encrypt communication
2433
mtls: true
2534
mtls-key: "/etc/jackadi/certs/manager.key"
2635
mtls-cert: "/etc/jackadi/certs/manager.crt"
@@ -30,18 +39,20 @@ mtls-agent-ca-cert: "/etc/jackadi/certs/ca.crt"
3039
3140
{{< tab >}}
3241
33-
**Development configuration**
42+
**Test configuration**
3443
3544
```yaml {filename="/etc/jackadi/agent.yaml"}
3645
manager-address: "192.0.2.1"
46+
mtls: false
3747
```
3848
3949
**Minimal recommended configuration for production**
4050
4151
```yaml {filename="/etc/jackadi/agent.yaml"}
4252
manager-address: "192.0.2.1"
4353

44-
# Security settings (mTLS)
54+
# mTLS is critical for production to both
55+
# authenticate and encrypt communication
4556
mtls: true
4657
mtls-key: "/etc/jackadi/certs/agent.key"
4758
mtls-cert: "/etc/jackadi/certs/agent.crt"

content/docs/installation.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 2
55

66
## Linux packages (recommended)
77

8-
1. Download and install Jackadi. `.deb` and `.rpm` files are available in the [GitHub releases](https://github.com/jackadi-io/jackadi/releases).
8+
1. Download and install Jackadi. Installation files (`.deb` and `.rpm`) are available in the [GitHub releases](https://github.com/jackadi-io/jackadi/releases).
99
2. Edit the configuration (see [Configuration](/docs/configuration) page).
1010
3. Start the service and ensure it is running:
1111
```sh
@@ -21,7 +21,7 @@ systemctl status jackadi-agent
2121
## Manual installation
2222

2323
{{< callout type="warning" >}}
24-
You will need to manually create some directories to make it work (see [File Structure]({{<ref "#file-structure" >}}) section).
24+
To install Jackadi manually, you will need to manually create all the directories to make it work (see [File Structure]({{<ref "#file-structure" >}}) section to get the list of directories to create).
2525
{{< /callout >}}
2626

2727
{{< callout type="tips" >}}
@@ -46,6 +46,8 @@ make build
4646

4747
## File structure
4848

49+
Once everything is installed, you should have the following directory layout:
50+
4951
| Manager | Agent |
5052
|---------|-------|
5153
| {{< filetree/container >}}

content/docs/introduction.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Key principles:
1717

1818
## Features
1919

20-
| Feature | Description |
20+
| | Description |
2121
|---------|-------------|
2222
| **Distributed Task Execution** | Execute tasks across multiple agents from a central manager. |
2323
| **Plugin System** | Extend functionality through custom Go plugins. |
@@ -28,13 +28,11 @@ Key principles:
2828

2929
## Architecture
3030

31-
In a nutshell:
32-
* Agents are connected to a manager via persistent bidirectional gRPC.
33-
* Simple plugin system:
34-
* All tasks and specs collectors are pure Go functions.
35-
* The plugin system is based on [hashicorp/go-plugin](https://github.com/hashicorp/go-plugin/).
36-
* The SDK is simple and easy to use.
37-
* Tasks results are stored in a local [BadgerDB](https://github.com/hypermodeinc/badger).
31+
Agents are connected to a manager via persistent bidirectional gRPC connections.
32+
33+
Jackadi features a simple plugin architecture where all tasks and specs collectors are implemented as pure Go functions. The plugin system is built on top of [hashicorp/go-plugin](https://github.com/hashicorp/go-plugin/), and is made intuitive using a simple and easy to use SDK.
34+
35+
By default, all executed task are recorded in [BadgerDB](https://github.com/hypermodeinc/badger).
3836

3937
## Quick demo tour
4038

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ markup:
3535
menu:
3636
main:
3737
- name: Documentation
38-
pageRef: /docs/introduction
38+
pageRef: /docs
3939
weight: 1
4040
- name: Search
4141
weight: 2

0 commit comments

Comments
 (0)