Skip to content

ci: mtu check for cilium e2e #3624

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

ci: mtu check for cilium e2e #3624

wants to merge 4 commits into from

Conversation

camrynl
Copy link
Contributor

@camrynl camrynl commented May 2, 2025

Reason for Change:
compare pod eth0 mtu with node eth0 mtu and verify same value

Issue Fixed:

Requirements:

Notes:

@camrynl camrynl added the ci Infra or tooling. label May 2, 2025
@Copilot Copilot AI review requested due to automatic review settings May 2, 2025 23:24
@camrynl camrynl requested a review from a team as a code owner May 2, 2025 23:24
@camrynl camrynl requested a review from karina-ranadive May 2, 2025 23:24
@camrynl
Copy link
Contributor Author

camrynl commented May 2, 2025

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an MTU check for Cilium e2e tests by deploying an nginx application and executing a validation script to compare pod and node MTU values.

  • Adds a new nginx deployment manifest for Kubernetes
  • Integrates MTU validation steps into multiple pipeline YAML templates
  • Executes the cilium-mtu-validation.sh script via newly added CI steps

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
hack/manifests/nginx.yaml New nginx deployment manifest for MTU testing deployed in kube-system
.pipelines/templates/cilium-tests.yaml Added CI step to deploy nginx and run MTU validation
.pipelines/singletenancy/cilium/cilium-e2e.steps.yaml Added CI step with workingDirectory for MTU validation
.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e.steps.yaml Added CI step with workingDirectory for MTU validation
.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml Added CI step for MTU validation
.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e.steps.yaml Added CI step with workingDirectory for MTU validation
.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml Added CI step for MTU validation
.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e.steps.yaml Added CI step with workingDirectory for MTU validation
.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml Added CI step for MTU validation
.pipelines/cni/cilium/cilium-overlay-load-test-template.yaml Extended load test with MTU validation steps
Files not reviewed (1)
  • hack/scripts/cilium-mtu-validation.sh: Language not supported


- script: |
echo "Deploy nginx pods for MTU testing"
kubectl apply -f hack/manifests/nginx.yaml
Copy link
Preview

Copilot AI May 2, 2025

Choose a reason for hiding this comment

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

[nitpick] The MTU validation steps are repeated across multiple pipeline files. Consider centralizing these commands into a common template to improve maintainability.

Copilot uses AI. Check for mistakes.

Comment on lines +93 to +95
cd hack/scripts
chmod +x cilium-mtu-validation.sh
./cilium-mtu-validation.sh
Copy link
Preview

Copilot AI May 2, 2025

Choose a reason for hiding this comment

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

[nitpick] For consistency with other pipeline configurations, consider adding a workingDirectory property to this MTU validation step.

Suggested change
cd hack/scripts
chmod +x cilium-mtu-validation.sh
./cilium-mtu-validation.sh
chmod +x cilium-mtu-validation.sh
./cilium-mtu-validation.sh
workingDirectory: hack/scripts

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Infra or tooling.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant