Skip to content

[CORE-13001]: Document Host NIC QoS (tech preview) - #3167

Open
coutinhop wants to merge 1 commit into
tigera:mainfrom
coutinhop:pedro-CORE-13001
Open

coutinhop wants to merge 1 commit into
tigera:mainfrom
coutinhop:pedro-CORE-13001

Conversation

@coutinhop

Copy link
Copy Markdown
Member

Product Version(s):
Calico Enterprise 3.25 (unversioned "Next" docs; lands in the 3.25 EP1 snapshot). Enterprise only.

Issue:
CORE-13001

Link to docs preview:
TBD (from the preview build):

  • networking/configuring/host-nic-qos
  • networking/configuring/host-nic-qos-examples
  • networking/configuring/host-nic-qos-troubleshooting
  • networking/kubevirt/live-migration-qos
  • reference/resources/hostqospolicy
  • reference/resources/hostqosnodestatus

SME review:

  • An SME has approved this change.

DOCS review:

  • A member of the docs team has approved this change.

Additional information:

Documents Host NIC QoS, new in Calico Enterprise 3.25 EP1 as a tech preview: HostQoSPolicy divides a node's NICs into resource pools, each with a guaranteed reservation, a cap and a share of spare bandwidth.

New pages (each carries the tech-preview note):

  • Host NIC QoS: concepts (pools, how bandwidth is shared, the default class for unmatched traffic, selecting interfaces, link capacity, status), a get-started tutorial, how-tos, interactions, limits, upgrade and downgrade.
  • Host NIC QoS examples: storage and backup, WAN edge with DSCP-marked traffic, priority partner traffic, AI model pulls.
  • Troubleshoot host NIC QoS: reading status, and every cause a binding can report, with its message and fix.
  • Shape live-migration traffic (KubeVirt): a dedicated migration NIC, and a shared NIC.
  • HostQoSPolicy and HostQoSNodeStatus resource references.

Changed pages:

  • Protect Kubernetes nodes: an interfacePattern template example (one host endpoint per interface).
  • Configure QoS controls: a pointer to host NIC QoS and how the DSCP annotation interacts with it.
  • Felix Prometheus metrics: a host NIC QoS metrics table.
  • Resource overview and sidebar entries.

Not included: the two FelixConfiguration fields (hostQoSReservationSafetyMargin, hostQoSRefreshInterval) aren't in the generated FelixConfiguration table yet. make update-felix-config reads calico-private master, which gets them when the host NIC QoS code merges; re-run it then. The feature page explains both fields meanwhile.

How it was verified, on a kind cluster running the host NIC QoS code:

  • Every YAML example applies, and every policy example reaches Applied, ingress pools included.
  • Nine of the twelve binding causes were triggered for real (eight on kind, IFBUnavailable on GCP), and their actual messages are quoted on the troubleshooting page. Each documented fix returned the binding to Applied. The other three (ClassIDCollision, DataplaneFailure, UnsupportedDataplane) are described from the code.
  • The downgrade cleanup commands, on a node with Felix removed and shaping left behind, restore the NIC to its kernel default.
  • All 13 metrics, with their labels, against a live scrape.
  • The units warnings: "128", 500m and 1Gi are all accepted by the API.
  • Every statement was checked against the calico-private code by a separate review.

And on a 3-worker GCP cluster, on the nodes' real NICs:

  • Without linkCapacity, GCP's virtio NIC reports no speed and the policy reports CapacityUnknown; with it, Applied. That's why the tutorial sets linkCapacity and the page explains it.
  • The get-started tutorial's traffic check: the capped pool held at about 950 Mbit/s against its 1G limit, alone and under load, while unmatched traffic ran at about 7 to 8 Gbit/s.
  • An automatic * host endpoint plus a template host endpoint for the same NIC produce the HEPCollision the docs describe.
  • IFBUnavailable, with egress shaping still in place, and its fix.

Not run: an actual KubeVirt live migration. The KubeVirt page's policies were applied, including on a VLAN migration interface, and the migration flow follows the host NIC QoS e2e test (CORE-13120).

AI assistance: Claude Code

Merge checklist:

  • Deploy preview inspected wherever changes were made
  • Build completed successfully
  • Test have passed

@coutinhop
coutinhop requested a review from a team as a code owner October 28, 2026 21:21
@netlify

netlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1ccb6d5
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6ae2676f0c8a39f8f7164489
😎 Deploy Preview https://deploy-preview-3167--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76 (🟢 up 9 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 1ccb6d5
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6ae2676f0c8a39f8f716448e
😎 Deploy Preview https://deploy-preview-3167--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants