How to debug Strimzi Kafka Connect Connector

How to connect JConsole, JMXTerm, and Java Flight Recorder to Strimzi Kafka Connect on Kubernetes by exposing JMX ports and configuring JVM options.