From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration Date: Fri, 23 Jun 2023 21:47:37 +0200 Message-ID: <87y1kaq7ty.fsf@gmx.de> References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11855"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59797@debbugs.gnu.org, Aaron Gonzales , Warren Lynn To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 23 21:48:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qCmlX-0002iz-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jun 2023 21:48:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCmlI-0007xo-GL; Fri, 23 Jun 2023 15:48:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCmlG-0007vr-Mj for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 15:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCmlG-0002uw-EM for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 15:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCmlG-0001hM-76 for bug-gnu-emacs@gnu.org; Fri, 23 Jun 2023 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jun 2023 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59797 X-GNU-PR-Package: emacs Original-Received: via spool by 59797-submit@debbugs.gnu.org id=B59797.16875496726458 (code B ref 59797); Fri, 23 Jun 2023 19:48:02 +0000 Original-Received: (at 59797) by debbugs.gnu.org; 23 Jun 2023 19:47:52 +0000 Original-Received: from localhost ([127.0.0.1]:39634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCml5-0001g3-ML for submit@debbugs.gnu.org; Fri, 23 Jun 2023 15:47:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:37581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCml2-0001f9-Ku for 59797@debbugs.gnu.org; Fri, 23 Jun 2023 15:47:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1687549659; x=1688154459; i=michael.albinus@gmx.de; bh=QFxBFLCzHkbztkK20vbsWnL10zGggqZ9WmC7Tdlr1KU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=kMsB5UzmBMUJdFVbkYuXQsymwV2CkOKAP9e/H3HD59TiVCqf7ybmqLXoOP5CZNyDmURM05h 5l0cGa/Kje5WtK5S6zj8CvIh16abbH0sPEhLleKxXLthxdXg/0FgiYSSPsWyX6vd4hcmThNaF NKOMMpy8KPPLbn4DIGwoqN7Kd4SUnXZzqUvCBlYcPA+8fRMovIAvpVp0tmYOwR4FzIjWEdvcZ seVLwaZb0DpD/N5uM8s3mMSEtiv7af7IMQLyWFPF/FDCTDXvI8Pj7LCSzUSdobwwK2JWA8TBr nBZCqyWAVz7V+8b0OsJ6/X++6FFLCC40Aa/VTHGhh4LU/M5PB3ow== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MjS9C-1poyGW3mKg-00kulb; Fri, 23 Jun 2023 21:47:39 +0200 In-Reply-To: <87bkogr2e5.fsf@gmx.de> (Michael Albinus's message of "Tue, 06 Dec 2022 16:13:38 +0100") X-Provags-ID: V03:K1:mjsYLvWlSdGyEZjGYycEZ2zUaUhZdtnV24sqWyeWdDAy74DRmK5 x7jlc1ANkcjKdtZQUwK4+/p7NLHbx3wPw0aQSoxC3MX6dahtMhr5P9lfueg1vvOinuAgb+V UpVJiYCDfTlgDsrwkit8KgMVp6wbanjvU6i/jQe+gHwtf7DZpJYPf9ieb9mHej2SODpTtv4 xEvpfreAYTvVC8JNpP2PQ== UI-OutboundReport: notjunk:1;M01:P0:TCVczgaWjO0=;o4PwHR0R0EZnBeWijH7nVA5IQOK f3xeUIJbfoOCldftbvos8ZWEcFT7is5qxFRVLsFjZTP0si0LYZ4PEyVHB55ob9PJ9y6kwI0zD 2rkd8Tvsv+IKqbqle2E0TjvkmMkMfvVBNB2zXt2ofp5K+euQhhB3PpkvIXemFLcYsdWGpxObA 0Pc2NO4jqFpZmTldv8M//Kyd+gsf/iOL3AsKn/P6+g3kp5eEXsxIGSC4lFsRvpGcTszk831Ck IaY59a2aeD/MAv6s+VHY+yzeHfCiF6DCDyITEWag/3tnHB22pjrbaycP+hDLWBPZok43Z9sIe yTeQ6R2Maz8bwehpvtOR8YMdvV5WPXvEP1ENblPrpL2MfgBrJwq7Cxi2v/hU2E6E3swwbCOA4 YuvBVYF05oBlxeCURpmP+XhZk06wz3/V5zWlbP7CpIS5sGhMi1KtgqzqfXm2AjBNqlyu+B8cT Uja7m1tYr0cZ4DvFNIm88EFwH5pQebe0Sd7zkD1+Qx5JKZ+HQDxm8J7QNQF4pXiColnId4z9i h+GLUcHCpz7L70YdP7Wc0LmcmEAeNbOYa3axLxJSFHqEWUFPP71JDdfwB1x5M0L5X2/4xK8xJ NEy7UE60QACeN5fTryjYycxMODFjlqj+6VlekJofJIrQckSVbvl/QEK925j2JQoh0ecC/iWbS Tt/uWbrXkmElYbBrFCHvFRi8dVMmJwF0gxnKwfDuTdirHqjcVEvfqol+F5qDA2BjvhMoMZCzj HBqiMWqE7JXg18TuB+4KbNYZkaqiybqFClgtIxZMhl0DpE3ZJN7FmBNzTpfIkwy6k5+VoRVo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263968 Archived-At: Michael Albinus 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.