Skip to content

docs-2985: update multi-network/VRF auto-label docs#2874

Draft
ctauchen wants to merge 1 commit into
tigera:mainfrom
ctauchen:docs-2985-vrf-labels
Draft

docs-2985: update multi-network/VRF auto-label docs#2874
ctauchen wants to merge 1 commit into
tigera:mainfrom
ctauchen:docs-2985-vrf-labels

Conversation

@ctauchen

@ctauchen ctauchen commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Ticket

DOCS-2985

What

Multi-VRF (tech preview, shipped in Calico Enterprise 3.23.0-2.0) changed the auto-generated network labels on WorkloadEndpoints. The docs still listed the old labels. This updates the three label reference sections and the sample WorkloadEndpoint YAML, in both the current docs and the version-3.23-2 twin.

Reported by @shaun in Slack; VRF work by @matt (CC @pooriya).

Label Change
projectcalico.org/network Meaning changed → now the Calico Network (for example, a VRF network), not the NetworkAttachmentDefinition
projectcalico.org/network-attachment New → the NetworkAttachmentDefinition name (old meaning of .../network)
projectcalico.org/network-attachment-namespace Renamed from projectcalico.org/network-namespace
projectcalico.org/network-interface Unchanged

Pages (Enterprise only — no OSS/Cloud equivalents):

  • network-policy/beginners/calico-labels.mdx
  • networking/configuring/multiple-networks.mdx (two label lists + sample WEP YAML)
  • reference/resources/workloadendpoint.mdx

Verified against code

tigera/calico-private @ tag v3.23.0-2.0: api/pkg/apis/projectcalico/v3/constants.go (L51-61), plus libcalico-go/lib/backend/k8s/conversion/workload_endpoint_multus.go (L331-359) and workload_endpoint_default.go (L200-204).

Draft — open questions for @matt

  1. Description of projectcalico.org/network for VRF pods — I've written it as "the Calico Network the endpoint is attached to." Does this hold for both attachment paths, including Option 1 (primary interface on a VRF via cni.projectcalico.org/networks)?
  2. Sample WEP YAML — for the plain-Multus example I dropped projectcalico.org/network (no Calico Network CRD is recorded there, so the code doesn't set it) and moved the value to network-attachment. Is that the correct representation for a plain Multus calico network?
  3. Version scope — edited the current tree + version-3.23-2. Please confirm docs.tigera.io/.../latest/ resolves to one of these (older versions keep the old labels).

🤖 Generated with Claude Code

The Multi-VRF feature (tech preview) in Calico Enterprise 3.23.0-2.0
changed the auto-generated network labels on WorkloadEndpoints:

- projectcalico.org/network now names the Calico Network (for example a
  VRF network), not the NetworkAttachmentDefinition.
- projectcalico.org/network-attachment is new and holds the NAD name.
- projectcalico.org/network-namespace was renamed to
  projectcalico.org/network-attachment-namespace.

Update the three label reference sections and the sample WorkloadEndpoint
YAML to match, in both the current docs and the version-3.23-2 twin.

Verified against tigera/calico-private at tag v3.23.0-2.0
(api/pkg/apis/projectcalico/v3/constants.go and the workload endpoint
converters in libcalico-go).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 10:59
@netlify

netlify Bot commented Jul 22, 2026

Copy link
Copy Markdown

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

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

QR Code

Use your smartphone camera to open QR code link.

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

@netlify

netlify Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0dd30ed
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a60a2abc7f4360008b30995
😎 Deploy Preview https://deploy-preview-2874--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: 70 (🟢 up 5 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

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Calico Enterprise documentation to reflect the Multi-VRF (tech preview) change in how multi-network/VRF-related labels are auto-generated on WorkloadEndpoint resources, across both the current docs and the version-3.23-2 docs.

Changes:

  • Replaces the legacy projectcalico.org/network-namespace label reference with the new projectcalico.org/network-attachment and projectcalico.org/network-attachment-namespace labels.
  • Updates label descriptions to reflect the new meaning of projectcalico.org/network (Calico Network, e.g., VRF network).
  • Updates the example WorkloadEndpoint YAML labels in the multiple-networks guide.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
calico-enterprise/reference/resources/workloadendpoint.mdx Updates the multiple-networks label reference list for WorkloadEndpoints.
calico-enterprise/networking/configuring/multiple-networks.mdx Updates label lists and the sample WorkloadEndpoint YAML to match new auto-label behavior.
calico-enterprise/network-policy/beginners/calico-labels.mdx Updates the multi-network label reference section used for policy selector guidance.
calico-enterprise_versioned_docs/version-3.23-2/reference/resources/workloadendpoint.mdx Mirrors the WorkloadEndpoint label reference updates for the 3.23-2 docs set.
calico-enterprise_versioned_docs/version-3.23-2/networking/configuring/multiple-networks.mdx Mirrors the label list and sample YAML updates for the 3.23-2 multiple-networks guide.
calico-enterprise_versioned_docs/version-3.23-2/network-policy/beginners/calico-labels.mdx Mirrors the policy label reference updates for the 3.23-2 docs set.

@@ -25,7 +25,8 @@ You install Multus on a cluster, then simply enable Multus in the $[prodname] In
When you set the `MultiInterfaceMode` field to `Multus` in the Installation resource, the following network and network interface labels are automatically added to new workload endpoints.
@@ -152,7 +153,8 @@ Although not required, you may want to assign IPs from specific pools to specifi
When MultiInterfaceMode is set to Multus, WorkloadEndpoints are created with these labels:
@@ -25,7 +25,8 @@ You install Multus on a cluster, then simply enable Multus in the $[prodname] In
When you set the `MultiInterfaceMode` field to `Multus` in the Installation resource, the following network and network interface labels are automatically added to new workload endpoints.
@@ -152,7 +153,8 @@ Although not required, you may want to assign IPs from specific pools to specifi
When MultiInterfaceMode is set to Multus, WorkloadEndpoints are created with these labels:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants