Skip to content

Commit 4852a87

Browse files
committed
add a note about pvc and k8s
1 parent c939261 commit 4852a87

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

crowdsec-docs/unversioned/getting_started/installation/kubernetes.mdx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ automatically attach to the right pods and feed the logs into the right parsers.
7070

7171
<details>
7272
<summary>Why `program` and not `type` ?</summary>
73-
7473
In standard standalone setups, documentation states that the labels should be
7574
name `type` with the type being the parsed log program (eg nginx, traefik). A
7675
transformation from `type` to `program` is done by the first stage parser
@@ -87,9 +86,23 @@ run; if it doesn’t, they stay idle. One log stream can match several collectio
8786
if the tags fit.
8887
</details>
8988

89+
Note that the chart needs for some persistent volume. To make the
90+
installation work, you have to either set a default `storageClassName` or set
91+
it through the `values.yaml`:
92+
```yaml
93+
lapi:
94+
persistentVolume:
95+
data:
96+
storageClassName: nfs-client
97+
config:
98+
storageClassName: nfs-client
99+
```
100+
101+
90102
If you want more information about the configuration, you can check the default
91103
[values.yaml](https://artifacthub.io/packages/helm/crowdsec/crowdsec#values)
92104

105+
93106
Then, you can install the Security Engine with the following command:
94107

95108
```bash

0 commit comments

Comments
 (0)