You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/concept/sec/ca.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ files/pki/ca/ca.key # Core CA private key file, must exist; if missing, a ne
45
45
files/pki/ca/ca.crt # If certificate file is missing, Pigsty auto-generates a new root certificate from the CA private key
46
46
```
47
47
48
-
When Pigsty executes the [**`install.yml`**](/docs/infra/#installyml) or [**`infra.yml`**](/docs/infra/#infrayml) playbooks, if a `ca.key` private key file exists in `files/pki/ca`, the existing CA will be used. Since `ca.crt` can be generated from the `ca.key` private key, Pigsty will automatically regenerate the root certificate file if it's missing.
48
+
When Pigsty executes the [**`deploy.yml`**](/docs/infra/#installyml) or [**`infra.yml`**](/docs/infra/#infrayml) playbooks, if a `ca.key` private key file exists in `files/pki/ca`, the existing CA will be used. Since `ca.crt` can be generated from the `ca.key` private key, Pigsty will automatically regenerate the root certificate file if it's missing.
49
49
50
50
{{% alert title="Note When Using Existing CA" color="secondary" %}}
51
51
You can set the [**`ca_method`**](/docs/infra/param#ca_method) parameter to `copy` to ensure Pigsty errors out and stops if it can't find a local CA, rather than auto-generating a new self-signed CA.
This runs the [**install**](#install) script, downloading and extracting Pigsty source to your home directory with dependencies installed. Complete [**configuration**](#configure) and [**deployment**](#deploy) to finish.
@@ -73,7 +73,7 @@ Use the following to automatically install the [**Pigsty source package**](/docs
73
73
74
74
```bash
75
75
curl -fsSL https://repo.pigsty.io/get | bash # Install latest stable version
Copy file name to clipboardExpand all lines: content/docs/docker/usage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ repo_extra_packages:
96
96
- pgsql-main docker # <--- Can also be specified here
97
97
```
98
98
99
-
The `docker` specified here (which actually corresponds to the `docker-ce` and `docker-compose-plugin` packages) will be automatically downloaded to the local repository during the default [`install.yml`](/docs/setup/playbook#installyml) process.
99
+
The `docker` specified here (which actually corresponds to the `docker-ce` and `docker-compose-plugin` packages) will be automatically downloaded to the local repository during the default [`deploy.yml`](/docs/setup/playbook#installyml) process.
100
100
After downloading, the Docker packages will be available to all nodes via the local repository.
101
101
102
102
If you've already completed Pigsty installation and the local repository is initialized, you can run `./infra.yml -t repo_build` after modifying the configuration to re-download and rebuild the offline repository.
| ETCD |`etcd.yml`| Initialize ETCD cluster, or add new member |
34
+
| ETCD |`etcd-rm.yml`| Remove ETCD cluster, or remove existing member |
35
+
| MINIO |`minio.yml`| Initialize MinIO cluster |
36
+
| MINIO |`minio-rm.yml`| Remove MinIO cluster |
37
+
| DOCKER |`docker.yml`| Install Docker on nodes |
38
+
| DOCKER |`app.yml`| Install applications using Docker Compose |
39
+
| FERRET |`mongo.yml`| Install Mongo/FerretDB on nodes |
40
40
41
41
42
42
----------------
43
43
44
44
## Deployment Strategy
45
45
46
-
The `install.yml` playbook orchestrates specialized playbooks in the following group order for complete deployment:
46
+
The `deploy.yml` playbook orchestrates specialized playbooks in the following group order for complete deployment:
47
47
48
48
-**infra**: `infra.yml` (-l infra)
49
49
-**nodes**: `node.yml`
@@ -52,7 +52,7 @@ The `install.yml` playbook orchestrates specialized playbooks in the following g
52
52
-**pgsql**: `pgsql.yml`
53
53
54
54
> **Circular Dependency Note**: There is a weak circular dependency between NODE and INFRA: to register NODE to INFRA, INFRA must already exist; while INFRA module depends on NODE to work.
55
-
> The solution is to initialize `infra` nodes first, then add other nodes. To complete all deployment at once, use `install.yml`.
55
+
> The solution is to initialize `infra` nodes first, then add other nodes. To complete all deployment at once, use `deploy.yml`.
0 commit comments