Skip to content

Commit

Permalink
Merge pull request #496 from redhatrises/update_oom_guidance
Browse files Browse the repository at this point in the history
fix: update oom guidance for openshift to makes changes to the subscription
  • Loading branch information
redhatrises authored Mar 1, 2024
2 parents 583aa74 + 27f4c33 commit c9b8b13
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions docs/install_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,23 @@ NAME READY STATUS RESTAR
falcon-operator-controller-manager-77d7b44f96-t6jsr 1/2 OOMKilled 2 (45s ago) 98s
```

To remediate this problem, increase the memory limit of the operator:
Find and edit the memory limit with OpenShift:
To remediate this problem in an OpenShift cluster, increase the memory limit of the operator by adding the desired resource configuration to the Subscription:

```shell
oc edit csv falcon-operator.v0.8.0 -n falcon-operator
oc edit subscription falcon-operator-rhmp -n falcon-operator
```

Search for the default operator memory limit in the output (for example: 256Mi), and update to something more appropriate, such as 512Mi or 1Gi.
Find and edit the memory limit on a non-OpenShift cluster:

```
kubectl edit deploy falcon-operator-controller-manager -n falcon-operator
and add/edit the resource configuration to the `spec`. For example:

```yaml
spec:
channel: certified-0.9
config:
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 250m
memory: 64Mi
```

0 comments on commit c9b8b13

Please sign in to comment.