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: docs/installation/kubernetes.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,40 @@
1
1
# Kubernetes deployment
2
2
3
+
There are currently two deployment options available:
4
+
5
+
- Official Ansible-based installation
6
+
- Community-maintained Helm Chart
7
+
8
+
## Ansible-based Installation
9
+
3
10
!!!warning
4
11
5
12
This deployment is still a beta feature. Feel free to send pull requests to enhance the deployment or give us feedback though Gitter chat or GitHub discutions.
6
13
7
-
## Pre-requisites
14
+
###Pre-requisites
8
15
9
16
The Kubernetes deployment is wrapped by Ansible. The code has been tested with Ansible version `2.15.5`.
10
17
11
-
### Python
18
+
####Python
12
19
13
20
Install Python dependencies:
14
21
```bash
15
22
pip3 install -r k8s/requirements.txt
16
23
```
17
24
18
-
### Ansible
25
+
####Ansible
19
26
20
27
Install Ansible dependencies:
21
28
22
29
```bash
23
30
ansible-galaxy install -r k8s/requirements.yml
24
31
```
25
32
26
-
### Helm
33
+
####Helm
27
34
28
35
Operators installation is handled by Helm. Follow [the official documentation](https://helm.sh/docs/intro/install/) to install Helm on your workstation.
29
36
30
-
## Ansible inventory
37
+
###Ansible inventory
31
38
32
39
An example inventory file is present in `k8s/inventory/group_vars/all/squest.yml`.
33
40
@@ -39,7 +46,7 @@ squest_namespace: "squest"
39
46
k8s_storage_class: "thin"
40
47
```
41
48
42
-
## Deploy Squest using Ansible
49
+
### Deploy Squest using Ansible
43
50
44
51
Run the `deploy` playbook against your inventory config file:
The [Squest configuration](../configuration/squest_settings.md) is injected as environment variables. The environment is placed in `squest.yml` as `env` flag like the following:
70
77
```yaml
@@ -117,3 +124,21 @@ squest_django:
117
124
annotations:
118
125
ingress_key: "ingress_value"
119
126
```
127
+
128
+
## Helm-based Installation
129
+
130
+
### Pre-requisites
131
+
132
+
Installation is handled by Helm. Follow [the official documentation](https://helm.sh/docs/intro/install/) to install Helm on your workstation.
Please check the documentation of the Chart for all available configuration options: [Documentation on ArtifactHub](https://artifacthub.io/packages/helm/christianhuth/squest).
0 commit comments