Skip to content

Daemoset yaml to capture dns packets from specific compartment. - #574

Open
Prince Pereira (princepereira) wants to merge 1 commit into
microsoft:masterfrom
princepereira:ppereira-dnsmonitoring
Open

Daemoset yaml to capture dns packets from specific compartment.#574
Prince Pereira (princepereira) wants to merge 1 commit into
microsoft:masterfrom
princepereira:ppereira-dnsmonitoring

Conversation

@princepereira

@princepereira Prince Pereira (princepereira) commented May 18, 2023

Copy link
Copy Markdown
Contributor

This yaml will create and run host process daemonsets for Windows Server 2019 nodes. The daemonset will run a script in each node. The work of the script is to find the pktmon component id for each pod specified by pod name prefix and run pktmon for those pods with DNS port (53) filter.
It also checks the DNS policy count in the nodes and logs if there is a missing DNS policy.
The pktmon capture can be stopped by deleting the yaml and creating a new yaml with $stopPktmon f= $true flag.

@mdebjit Debjit (mdebjit) 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.

lgtm

Comment thread Kubernetes/windows/debug/dnsmonitor/DnsPktMonitor2019.yaml Outdated
Comment thread Kubernetes/windows/debug/dnsmonitor/DnsPktMonitor2019.yaml Outdated
@princepereira
Prince Pereira (princepereira) force-pushed the ppereira-dnsmonitoring branch 4 times, most recently from 7b9dbf1 to be9de23 Compare May 19, 2023 07:28
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