Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance EgressQoS CR as a generic QoS feature #4366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pperiyasamy
Copy link
Contributor

The current EgressQoS is tied to pod's egress traffic and may be used only for DSCP marking. so this enhances the CR to be more generic enough so that it can be easily extended for applying QoS for both east west and north south traffic and supporting traffic policing and shaping.

@pperiyasamy pperiyasamy requested a review from a team as a code owner May 17, 2024 10:44
@pperiyasamy pperiyasamy requested a review from npinaeva May 17, 2024 10:44
@tssurya tssurya removed the request for review from npinaeva May 17, 2024 10:48
@pperiyasamy pperiyasamy marked this pull request as draft May 17, 2024 10:48
@coveralls
Copy link

Coverage Status

Changes unknown
when pulling 87800d0 on pperiyasamy:qos-okep
into ** on ovn-org:master**.

@tssurya tssurya added kind/enhancement All issues/PRs that are new enhancement requests feature/egress-qos Issues related to egressQoS labels May 17, 2024
The `qos-external-bar` doesn't have podSelector, so QoS rule specified in this object is applied to all pods in the `default` namespace.

```yaml
kind: QoS

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we call this NetworkQoS? Plain QoS can be confusing and collide with other kinds. QoS could refer as well to CPU, Memory, GPU, Storage. And since we are doing this only for network I would name it as such. We already have NetworkPolicy (and not just Policy) so why not NetworkQoS :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also https://github.com/kubernetes/enhancements/pull/3004/files that could be relevant in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes @VirrageS , NetworkQoS seems to be appropriate name for CRD, let's go with it.
Thanks for the KEP link, looks like it's targeting only memory, cpu, device resources now. as you said we can also see how that can be adapted for networking qos. not sure if we can just use capacity parameter for dscp marking. but i hope this is for future.

@pperiyasamy pperiyasamy marked this pull request as ready for review May 22, 2024 15:58
The current EgressQoS is tied to pod's egress traffic and may be used only for
DSCP marking. so this enhances the CR to be more generic enough so that it can
be easily extended for applying QoS for both east west and north south traffic
and supporting traffic policing and shaping.

Signed-off-by: Periyasamy Palanisamy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/egress-qos Issues related to egressQoS kind/enhancement All issues/PRs that are new enhancement requests
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Enhance EgressQoS CR to leverage entire OVN's QoS feature
6 participants