Skip to content

Detecting pods with DNS rule missing in VFP port and deleting the pods for mitigation#25

Open
princepereira wants to merge 3 commits into
microsoft:mainfrom
princepereira:user/ppereira/dnsMissingRule
Open

Detecting pods with DNS rule missing in VFP port and deleting the pods for mitigation#25
princepereira wants to merge 3 commits into
microsoft:mainfrom
princepereira:user/ppereira/dnsMissingRule

Conversation

@princepereira
Copy link
Copy Markdown
Contributor

@princepereira princepereira commented May 12, 2026

Runs the script from within a DaemonSet HPC pod with node-level context. The script identifies VFP ports that are missing DNS rules and maps those ports back to their corresponding pods. As an additional validation step, it executes a DNS query inside the pod using the crictl command.

If the DNS check still fails, the script deletes the affected pod using crictl. Since the deletion is initiated from the node itself, Kubernetes automatically recreates the pod on the same node through the DaemonSet. The newly created pod is then assigned a VFP port with the correct DNS rule installed.

@princepereira princepereira changed the title Detecting pods with DNS rule missing in VFP port and deleting the pod… Detecting pods with DNS rule missing in VFP port and deleting the pods for mitigation May 13, 2026
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.

1 participant