GNU bug report logs - #59797
30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Sat, 3 Dec 2022 09:21:01 UTC

Severity: wishlist

Found in version 30.0.50

Fixed in version 31.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 59797 <at> debbugs.gnu.org, Aaron Gonzales <aarongonzales1 <at> gmail.com>, Warren Lynn <wrn.lynn <at> gmail.com>
Subject: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration
Date: Fri, 23 Jun 2023 21:47:37 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

>> Maybe, and there's "get pods -A" which lists all pods.  This will be
>> limited to current "context" in k8s meaning (covering all namespaces in
>> it).  I could look into this in detail in few weeks, if you'd like me
>> to.  It's quite a busy time at work now :-)
>
> Take your time. Emacs 29.1 is on its release path, so any feature change
> won't be pushed there. We could plan it for Emacs 29.2.

Finally, I've taken the stab and implemented something along these
lines. It is a little bit different from earlier proposals.

- You can now specify a container in the host name, dotted notation.
  "/kubernetes:container.pod:" accesses the given container. If it is
  not specified, as in "/kubernetes:pod:", the first container is taken.

- You can now specify different context and namespace. Change the new
  user options tramp-kubernetes-context or tramp-kubernetes-namespace
  for this effect.

Everything pushed to the Emacs and Tramp master repositories. The target
is now Tramp 2.7 / Emacs 30. Comments welcome :-)

Best regards, Michael.




This bug report was last modified 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.