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

add an option in the deployments to use NUMA Aware scheduler #28

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ spec:
- pkt-gen
topologyKey: kubernetes.io/hostname
serviceAccountName: testpmd-lb-operator-controller-manager
{% if numa_aware_topology is defined and numa_aware_topology | length %}
schedulerName: "{{ numa_aware_topology }}"
{% endif %}
containers:
- name: loadbalancer
command: ["testpmd-wrapper"]
Expand Down
3 changes: 3 additions & 0 deletions testpmd-operator/roles/testpmd/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
serviceAccountName: testpmd-operator-controller-manager
{% if high_perf_runtime is defined and high_perf_runtime|length %}
runtimeClassName: "{{ high_perf_runtime }}"
{% endif %}
{% if numa_aware_topology is defined and numa_aware_topology | length %}
schedulerName: "{{ numa_aware_topology }}"
{% endif %}
containers:
- name: testpmd
Expand Down
3 changes: 3 additions & 0 deletions trex-operator/roles/server/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
{% endif %}
topologyKey: kubernetes.io/hostname
serviceAccountName: trex-operator-controller-manager
{% if numa_aware_topology is defined and numa_aware_topology | length %}
schedulerName: "{{ numa_aware_topology }}"
{% endif %}
containers:
{% if trex_server|bool %}
- name: trex-server
Expand Down