Created
December 31, 2022 03:39
-
-
Save pmint93/c2ba72f6d711298f9ee75e69f8cdbe62 to your computer and use it in GitHub Desktop.
Monitor ip stack on K8s nodes from DaemonSet, for debugging purpose
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
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| annotations: | |
| labels: | |
| app: ip-monitor | |
| name: ip-monitor | |
| namespace: kube-system | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: ip-monitor | |
| template: | |
| metadata: | |
| labels: | |
| app: ip-monitor | |
| spec: | |
| containers: | |
| - name: default | |
| image: cmd.cat/ip | |
| command: | |
| - ip | |
| args: | |
| - -ts | |
| - monitor | |
| securityContext: | |
| privileged: true | |
| hostNetwork: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment