Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodInfo ¶
func Resolve ¶
Resolve extracts pod info from corefile path injected by webhook Webhook injects volumes with hostPath: /data/coredog-system/dumps/<namespace>/<podname>/ Mounted to container at: /corefile (or custom path) Core dump file: /corefile/core.xxx (container view) Watcher sees: /corefile/core.xxx (because watcher mounts the parent hostPath)
Wait, watcher needs to see the full path structure to parse namespace/podname! So watcher should mount: /data/coredog-system/dumps -> /corefile Then it will see: /corefile/<namespace>/<podname>/core.xxx
Click to show internal directories.
Click to hide internal directories.