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


Message #44 received at 59797 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eshel Yaron <me <at> eshelyaron.com>
Cc: Aaron Gonzales <aarongonzales1 <at> gmail.com>, 59797 <at> debbugs.gnu.org,
 Filipp Gunbin <fgunbin <at> fastmail.fm>, Warren Lynn <wrn.lynn <at> gmail.com>
Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's
 kubernetes integration
Date: Tue, 23 Jul 2024 16:13:10 +0200
Eshel Yaron <me <at> eshelyaron.com> writes:

Hi Eshel,

>> Possible. However, the syntax is ambiguous. If we have "/kubernetes:name1.name2:/..."
>> it isn't clear what they are. name1 could be a container, and name2 a pod. Or
>> name1 is a pod, and name2 is a namespace. Could we agree on another
>> delimiter between POD and NAMESPACE?
>
> You're absolutely right.  AFAIU from the Kubernetes documentation[0],
> non-alphanumeric characters other than "-" and "." should be safe.
> Maybe "@" would be the most natural choice?  "+" could work too I think.

"@" is already used for the "user <at> host" notation in Tramp. We shouldn't
confuse users with another meaning in parallel. "+" might be OK, let's
start with it. It will be a Lisp constant, we can change it any time
later. So we have "/kubernetes:[CONTAINER.]POD[+NAMESPACE]:/..." now.

(If somebody has another proposal: it's time to stand up)

> Thank you!

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.