kubel icon indicating copy to clipboard operation
kubel copied to clipboard

TRAMP + Emacs 30

Open johnhamelink opened this issue 1 year ago • 4 comments

Hi there,

I'm running Emacs from master branch. Emacs 29 comes with support for Kubernetes, Podman and Docker as TRAMP "inline methods" (see here).

  • To start, we can use tramp-kubernetes-program as the default path for kubectl for Emacs 29+
  • We should be able to transition away from implementing our own kubectl TRAMP method, and towards using the official kubernetes method instead.
    • Context & namespace should be defined with tramp-kubernetes-context and tramp-kubernetes-namespace (https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS#L439).
    • Container an pod should be defined in the path: https://github.com/emacs-mirror/emacs/blob/master/lisp/net/tramp-container.el#L47

johnhamelink avatar Nov 30 '22 11:11 johnhamelink