-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Victor Castell
committed
Nov 14, 2018
1 parent
cea8d20
commit b9ae4e0
Showing
4 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Clustering | ||
--- | ||
|
||
## Configure a cluster | ||
|
||
Run in HA mode, good for companies. | ||
|
||
Configure the peers to join: | ||
|
||
```yaml | ||
# dkron.yml | ||
join: | ||
- 10.19.3.9 | ||
- 10.19.4.64 | ||
- 10.19.7.215 | ||
``` | ||
```yaml | ||
# etcd.conf.yaml | ||
# Initial cluster configuration for bootstrapping. | ||
initial-cluster: dkron1=https://10.19.3.9:2380,dkron2=https://10.19.4.64:2380,dkron3=https://10.19.7.215:2380 | ||
``` | ||
With this configuration Dkron Pro should start in cluster mode with embedded storage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: Using SSL | ||
--- | ||
|
||
### Using SSL | ||
|
||
By default Dkron Pro runs with automatically generated SSL certificates, this is enough if using it in a trusted environment but to have a better grade of confidence, it is recommended to run Dkron Pro with custom SSL certificates. | ||
|
||
Follow [this tutorial](https://coreos.com/os/docs/latest/generate-self-signed-certificates.html) to generate autosigned SSL certificates for your instances. | ||
|
||
{{% notice note %}} | ||
You don't need a client certificate for Dkron server, just add "client auth" usage to your server cert. | ||
{{% /notice %}} | ||
|
||
```yaml | ||
# dkron.yaml | ||
auto-tls: false # Set to false to use custom certs | ||
key-file: server-key.pem | ||
cert-file: server.pem | ||
trusted-ca-file: ca.pem | ||
client-cert-auth: true # Enable it to only allow certs signed by the same CA | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters