Skip to content

Commit

Permalink
Update rule.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
petertrr authored Jun 28, 2024
1 parent 523fbf7 commit a948dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S6892/kubernetes/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ By setting a CPU request, Kubernetes will make sure that the container will get

=== Code examples

To avoid potential issues, either specify a CPU request for each container with `resources.requests.cpu` or create a resource of a kind `LimitRange` that sets a default CPU request for all containers in all pod specs in a namespace.
To avoid potential issues, either specify a CPU request for each container with `resources.requests.cpu` or create a resource of a kind `LimitRange` that sets a default CPU request for all containers in all pod specifications in a namespace.

==== Noncompliant code example

Expand Down Expand Up @@ -87,7 +87,7 @@ spec:
apiVersion: v1
kind: LimitRange
metadata:
name: mem-request-range
name: cpu-request-range
namespace: default-cpu-example
spec:
limits:
Expand Down

0 comments on commit a948dce

Please sign in to comment.