Skip to content

Commit

Permalink
Adding manual rule configure_network_bandwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
lichtblaugue committed Oct 17, 2024
1 parent aeb1768 commit 7b4f8b6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
documentation_complete: true

title: 'Limiting Network Bandwidth in Pods'

description: |-
Network bandwidth, SHOULD be appropriately reserved and limited.
rationale: |-
Network bandwidth is limited at the pod level and can be determined separately according
to incoming and outgoing network bandwidth.
For more information about limiting Pod bandwidth on OCP 4 please refer to the Red Hat documentation:
{{{ weblink(link="https://access.redhat.com/solutions/5018951") }}}
Out of the documetation use the example for the network bandwidth configuration of a pod:
<pre>
kind: Pod
apiVersion: v1
metadata:
name: hello-openshift
annotations:
kubernetes.io/ingress-bandwidth: 2M
kubernetes.io/egress-bandwidth: 1M
spec:
containers:
- image: openshift/hello-openshift
name: hello-openshift
</pre>
severity: unknown

identifiers:

references:

ocil_clause: 'Limiting Pod bandwidth on OCP 4'

ocil: |-
Extend pod configuration with bandwidth annotations.
2 changes: 1 addition & 1 deletion controls/bsi_sys_1_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ controls:
to incoming and outgoing network bandwidth. In addition, outgoing traffic (egress) can be
marked at the namespace level with differentiated services code point (DSCP) classifications
in order to assign quality of service classes to the outgoing packets in the physical network.
Section 2: This requirement must be implemented organizationally.
Note: The behavior of OpenShift completely replicates the standard behavior of Kubernetes.
If CPU limits are exceeded, the process is slowed down. If volatile memory is exceeded,
Expand All @@ -430,6 +429,7 @@ controls:
- resource_requests_quota
- resource_requests_quota_cluster
- resource_requests_quota_per_project
- configure_network_bandwidth

- id: SYS.1.6.A16
title: Administrative Remote Access to Containers
Expand Down

0 comments on commit 7b4f8b6

Please sign in to comment.