Add Istio Ambient critical upstream failure detection rule#87
Merged
tonymeehan merged 6 commits intoprequel-dev:mainfrom Jul 2, 2025
Merged
Add Istio Ambient critical upstream failure detection rule#87tonymeehan merged 6 commits intoprequel-dev:mainfrom
tonymeehan merged 6 commits intoprequel-dev:mainfrom
Conversation
Contributor
Author
|
A few left and will open all PRs once they are done cc: @Lyndon-prequel |
tonymeehan
reviewed
Jun 27, 2025
tonymeehan
reviewed
Jun 27, 2025
This was referenced Sep 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new CRE rule to detect Ambient CNI sandbox‐creation failures in Istio Ambient mode. The rule catches high‐severity failure mode:
No ztunnel connection: CNI plugin cannot contact the node‐level ztunnel agentThese failure leave pods stuck permanently in
ContainerCreating(orPending), preventing any workloads from starting in Istion Ambient mesh.Part of #81
Closes #81
Test Environment
Live CRE link: CRE Playground Link
Reproducer: Ambient CNI Sandbox Creation Failure
Follow these steps to reproduce the “Failed to create pod sandbox” error due to no ztunnel connection in Istio Ambient mode.
1. Create the test pod
~/git/istio$ kubectl run sandbox-fail \ --image=busybox \ --restart=Never \ -- sleep 36002. Verify Pod status
~/git/istio$ kubectl get pod sandbox-failYou should see output similar to:
3. Inspect failure events with real timestamps
Expected output:
DEMO
clideo_editor_a9fa5d1e22a64929847c791a4fb8be1f.mp4