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
Allow Prometheus and HAProxy to be installed as the non-privileged user.
Reductionist can be used with https, either with the optional Ansible playbook Step deployment or with third party certificates. Documentation updated for installation of 3rd party certificates.
To run specific plays the following tags are supported and may be specified via `--tags <tag1,tag2>`:
145
145
146
-
*`podman` - runs privileged tasks
146
+
*`podman` - runs privileged tasks to install packages
147
147
*`step-ca`
148
-
*`step` - runs privileged tasks
148
+
*`step` - runs privileged tasks to install and the CA certificate
149
149
*`minio`
150
-
*`prometheus` - runs privileged tasks
150
+
*`prometheus`
151
151
*`jaeger`
152
152
*`reductionist`
153
-
*`haproxy` - runs privileged tasks
153
+
*`haproxy`
154
154
155
155
### Minimal deployment of Podman and the Reductionist
156
156
157
157
Podman is a prerequisite for running the Reductionist.
158
-
Podman can run containers as an **unprivileged** user, however this user must have **linger** enabled on their account to allow Podman to continue to run after logging out of the user session.
158
+
Podman can run containers as an **non-privileged** user, however this user must have **linger** enabled on their account to allow Podman to continue to run after logging out of the user session.
159
159
160
-
To enable **linger** support for the unprivileged user:
160
+
To enable **linger** support for the non-privileged user:
161
161
```sh
162
-
sudo loginctl enable-linger <unprivileged user>
162
+
sudo loginctl enable-linger <non-privileged user>
163
163
```
164
164
165
-
Alternatively, run the optional `podman` play to install Podman as an **unprivileged** user. The following will prompt for the sudo password to escalate privileges only for package installation and for enabling **linger** for the unprivileged user:
165
+
Alternatively, run the optional `podman` play to install Podman as an **non-privileged** user. The following will prompt for the sudo password to escalate privileges only for package installation and for enabling **linger** for the non-privileged user:
Podman containers require a manual restart after a system reboot.
176
-
This requires logging into the host(s) running the Reductionist as the **unprivileged** user to run:
176
+
This requires logging into the host(s) running the Reductionist as the **non-privileged** user to run:
177
177
```sh
178
178
podman restart reductionist
179
179
```
180
180
181
181
Automatic restart on boot can be enabled via **systemd**, not covered by this documentation.
182
182
183
+
### Using SSL/TLS certificates with the Reductionist
184
+
185
+
To enable **https** connections edit `deployment/group_vars/all` before deployment as set:
186
+
187
+
```
188
+
REDUCTIONIST_HTTPS: "true"
189
+
```
190
+
191
+
Note, this is the default.
192
+
193
+
Create a `certs` directory under the home directory of the non-privileged deployment user.
194
+
Ensure the following files are added to the this directory:
195
+
196
+
| Filename | Description |
197
+
| -------- | ------- |
198
+
| certs/key.pem | Private key file |
199
+
| certs/cert.pem | Certificate file including any intermediates |
200
+
201
+
Certificates can be added post Reductionist deployment but the Reductionist's container will need to be restarted afterwards.
202
+
183
203
## Usage
184
204
185
205
Once deployed, the Reductionist API is accessible on port 8080 by HAProxy. The Prometheus UI is accessible on port 9090 on the host running Prometheus. The Jaeger UI is accessible on port 16686 on the host running Jaeger.
0 commit comments