How Can I Change the Detach Key Combination for Kubernetes Pods?
Problem
Ctrl-P is generally used to get the last executed command in Linux. Ctrl-P and Ctrl-Q are used in containers for exiting out of them. But Ctrl-P is not working as expected in a container. A change was made to Docker config as mentioned in Docker Change Ctrl-P and it is working as expected from the container but when the same step was tried from within the pod, it’s still using Ctrl-P & Ctrl-Q even after the Docker config change.
Environment
- Platform9 Managed Kubernetes v3.6.0 and higher
Procedure
There is no current resolution available to this upstream issue.
Additional Information
Detach keys are not available in Kubernetes currently. And, this is a feature request according to GitHub Issue #693 and GitHub Issue #71765U.
Was this page helpful?