Skip to content

Commit 516650a

Browse files
committed
kubernetes documentation revamp
1 parent 7eae9e0 commit 516650a

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

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

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,17 @@ crowdsec-agent-kf9fr 1/1 Running 0 34s
8080
crowdsec-lapi-777c469947-jbk9q 1/1 Running 0 34s
8181
```
8282

83-
### Install Remediation Component
83+
### A Word About Remediation Component
8484

85-
:::info
86-
Depends which ingress controller you are using, you can install the remediation component.
87-
:::
88-
89-
First you need to already have an ingress controller installed in your cluster (we consider that you installed it using helm).
85+
Installing the CrowdSec Engine as a local API and log processors is very useful
86+
to detect aggressive behaviors, but no remediation action will be taken upon it.
87+
To get remediation actions, one has to install remediation component. As of now
88+
remediation can only happen at ingress level.
9089

9190
For now, we support:
9291

93-
* Traefik
94-
* Nginx
92+
* [Ingress Nginx](u/bouncers/ingress-nginx/)
93+
* [Traefik Kubernetes Ingress (Third party development)](https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin)
9594

9695
Before installing the remediation component, you need to generate API key to communicate with the LAPI.
9796

@@ -102,7 +101,8 @@ If you **have persistentVolumes enabled** in `values.yaml`, you can generate the
102101
kubectl -n crowdsec exec -it crowdsec-lapi-<pod-id> -- cscli bouncers add my-bouncer-name
103102
```
104103

105-
Else you **don't have persistentVolumes enabled**, you need to specify your key in the `values.yaml` file:
104+
Else you **don't have persistentVolumes enabled**, you need to specify your key
105+
in the crowdsec helm `values.yaml` file:
106106

107107
```yaml
108108
lapi:
@@ -119,18 +119,9 @@ lapi:
119119
```
120120
:::
121121
122-
Then, you can install the remediation component with the following command:
123-
124-
125-
126-
127-
Once we have this patch we can upgrade the ingress-nginx chart
128-
129-
```bash
130-
helm -n ingress-nginx upgrade -f ingress-nginx-values.yaml -f crowdsec-ingress-bouncer.yaml ingress-nginx ingress-nginx/ingress-nginx
131-
```
132-
133122
134123
## Next Steps?
135124
136-
Great, you now have CrowdSec installed on your system. Within the [post installation steps](/getting_started/next_steps.mdx) you will find the next steps to configure and optimize your installation.
125+
Great, you now have CrowdSec installed on your system. Within the [post
126+
installation steps](/getting_started/next_steps.mdx) you will find the next
127+
steps to configure and optimize your installation.

0 commit comments

Comments
 (0)