Preface
- You may find it’s difficult to find the correct time frame in jfr files when your teammates in other timezone told you that a k8s pod was killed with OOMKilled.
Solutions
Add those 2 lines to your env var file, e.g. ~/.zshrc
alias jmc="(cd '/Applications/JDK Mission Control.app/Contents/MacOS/'; ./jmc -vmargs -Duser.timezone=UTC)"
alias kubectl="env TZ=UTC kubectl"
Then open JMC via jmc
from command line;