I need to disable interactive session/ssh access to a Kubernetes pod.
It’s controlled via the RBAC system, via the pods/exec subresource. You can set up your policies however you want.