How to view kubernetes api traffic with wireshark

8/30/2021

I'm trying to see the registration and setup sequence for a kubernetes agent. I don't see anything in the documentation and digging into the code is a bit overwhelming. I was going to watch the api server traffic in wireshark while an agent starts up but it's TLSv1.3 so it's proving quite difficult. I'd really like to avoiding having to setup a proxy to dump a key file. I'm using the k3s distro. Is there a way to drop TLS? I noticed --insecure-bind-address but if I try to use an unencrypted url in the agent startup I get "only https:// URLs are supported"

-- Trevor
k3s
kubernetes

0 Answers