From unknown Sun Jun 22 11:38:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59797 <59797@debbugs.gnu.org> To: bug#59797 <59797@debbugs.gnu.org> Subject: Status: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration Reply-To: bug#59797 <59797@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:38:10 +0000 retitle 59797 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes in= tegration reassign 59797 emacs submitter 59797 Michael Albinus severity 59797 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 03 04:20:25 2022 Received: (at submit) by debbugs.gnu.org; 3 Dec 2022 09:20:25 +0000 Received: from localhost ([127.0.0.1]:51413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Oh6-0006vp-KP for submit@debbugs.gnu.org; Sat, 03 Dec 2022 04:20:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:37764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Oh3-0006vj-2i for submit@debbugs.gnu.org; Sat, 03 Dec 2022 04:20:23 -0500 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 1p1Oh2-0003Yf-Qv for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 04:20:20 -0500 Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Ogz-0001Cz-W6 for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 04:20:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1670059213; bh=pKBFzKm/Lv4EUMq/mSnygcfPgN4I6RvmTVe4JqPeEvw=; h=X-UI-Sender-Class:From:To:Subject:Date; b=Tx55B/btMdgMNnQ6KGY5DC0WyVRyYP+VvajZQ+1rBASG/0z82Z29E5p4qYff+YQtf TNezXd2kX8aHbsLpYg1HV84mOsbrXCdIdDlJzKXsPnZJDXP5wzhkA1X8K1o/Qa6Z7d cHow5t+DjdrNrmsXljoArCM8njkYmEoVwbP5ds90BQyF+8pOc3NbOxE1Y6BIoQARfx cOd7aCaxIkA9M6n61SFqpr6IRTNj24MPhTwyx/fUnDUld6CFwZu7ep5Kek21buMCfV 0fkkseCF1bQ8dkGjTQbMCT8qZYTVcVLa11vJ20Ostz/HtBVQiI0sy4Loi5wHPjVvaU 9MhmYNGpOq1Nw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.11]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mplbx-1oeBQu0lKf-00qDH5 for ; Sat, 03 Dec 2022 10:20:13 +0100 From: Michael Albinus To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration X-Debbugs-Cc: Filipp Gunbin Date: Sat, 03 Dec 2022 10:20:12 +0100 Message-ID: <87wn78lu7n.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:j05u0QrOjzRBMyfczzVhjg3FQmWepP3oR7yCJvRe6jFhOUHEweE 5UQH+fy9fglJeVlBbp594WpL8o6H1c1jvRsioG8qWtsWJu/H2HxPBC3LlvUQEmkW+7OAHeW /mqwj9TdQrVP2A6mIfUtSwrply4yfTVUIGNOVJmQp03MsYJ9usl4ZwumkmZbhgVF/10HJ6t Ic57YQhCQzKor8dn9P64A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:vrjkjTwE1sk=;/Pr9nKtKhsvHzQN1kYXdjGPQYia 7uOvkhKzz+8WZauepYCWAue3mRZJoLAj5uQeps0HzwSRKV59CvxQW8g4f6q9A197Vpa6RFMdG I8rEuLo38BuCP6xmbXMn0ghAlOVomUVM0PISHm/dyjhzmI+3OxP3picDe0XPUrZ4xRigZ3rAB 9FMnL1RfJM0DidD8HxLCmoOyFVHLDDuZlNnthK2O+cX2PZgR4PEYdJj46YvOEjTrPgVI25okd qBRy0qKsYoIg8bzCaw9FlHukxYfh9U9pW4dNGbkDeQSg79xjxcgCNfjsLgcvarhBFXS7oxWwM YgMuz0+OxipvHEu9mRFtyoXmff6k4M+tnNS3M3lP7nbgE2w3hPcNzvdrNCpWngOukugGBA0kd Z65+ct2NYJoVKEKt4MSZWS45Yfd9jNV9hxamP5p/WEzQkvYe9iK0LYVFAhuvIZTQqmhaisgs5 B37O8ATPRu5LFqeLOgYNBPx/N0kTG44+vG5qemNZG3mFg4Cz7/K9AW4q6cWoe5MIJQKhodYQh C1bbGDxcQ9ZQPc9TuPSlAMugs4bPOJCzKnB37kvzabOFpkn3q+XQraog6JDU97/YRVfep8jIG dGDkJWbu2EREy8Oy0AnL1yOJUjNq0nMc6c5fWDKubXBlgt27AvTrct/jqkxbmCyYojha6RzCE hEwhf9IfMoII5NQwPNw6EELnMZKcKadjRSRj98onrhykdrhNOoDw1GI4y6YAHLDlaK/aUQ9e2 wWzmors7dJBybsKJ2uZl9o2gb/bS+mFAdv6nDid6Rg1kmzpR2stpQST4RvVjrRiKMdqy8AC3c MG4lqk2YxiBtA/0ul1L64upwAmC6pGZpuMXY5G5cjIF7KdbLora7MGl8dpdC6aQZE2edKnbYo QA4K06J84nTRJU2JP6ahaiWF3Eoj5T3CUQ3QWMhyycTZtOSziZcXAj8xI5Ygwl29Ih4SWSTFZ vbs7ZSiUxjZGltXH/fTTaHItgls= Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi, Now we have kubernetes integrated in Tramp. We can access pods like "/kubernetes:POD:/path/to/file". However, kubernetes can much more. For all services (like pods) it creates DNS entries "..svc.cluster.local". Should'nt we support this? It means should we allow to access kubernetes pods like "/kubernetes:POD.NAMESPACE:/path/to/file", including completion for namespace names? Best regards, Michael. In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-11-29 built on gandalf Repository revision: 7939184f8e0370e7a3397d492812c6d202c2a193 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12201005 System Description: Fedora Linux 37 (Workstation Edition) Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8 Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t shell-dirtrack-mode: t delete-selection-mode: t icomplete-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs /home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-org /home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-gnu /home/albinus/src/elpa/packages/debbugs/debbugs-guix hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-guix /home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-browse /home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-pkg /home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-autoloads /home/albinus/src/elpa/packages/debbugs/debbugs-compat hides /home/albinus/.emacs.d/elpa/debbugs-0.34/debbugs-compat /home/albinus/src/tramp/lisp/tramp-sh hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-sh /home/albinus/src/tramp/lisp/tramp-compat hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-compat /home/albinus/src/tramp/lisp/tramp hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp /home/albinus/src/tramp/lisp/tramp-rclone hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-rclone /home/albinus/src/tramp/lisp/tramp-cmds hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-cmds /home/albinus/src/tramp/lisp/tramp-gvfs hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-gvfs /home/albinus/src/tramp/lisp/tramp-uu hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-uu /home/albinus/src/tramp/lisp/tramp-crypt hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-crypt /home/albinus/src/tramp/lisp/tramp-integration hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-integration /home/albinus/src/tramp/lisp/tramp-archive hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-archive /home/albinus/src/tramp/lisp/tramp-fuse hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-fuse /home/albinus/src/tramp/lisp/tramp-adb hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-adb /home/albinus/src/tramp/lisp/trampver hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/trampver /home/albinus/src/tramp/lisp/tramp-ftp hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-ftp /home/albinus/src/tramp/lisp/tramp-smb hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-smb /home/albinus/src/tramp/lisp/tramp-cache hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-cache /home/albinus/src/tramp/lisp/tramp-sudoedit hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-sudoedit /home/albinus/src/tramp/lisp/tramp-sshfs hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-sshfs /home/albinus/src/tramp/lisp/tramp-loaddefs hides /home/albinus/.emacs.d/elpa/tramp-2.5.3.3/tramp-loaddefs /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads /home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme /home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg /home/albinus/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/site-lisp/tramp-sh /home/albinus/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/site-lisp/tramp-cmds /home/albinus/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/site-lisp/tramp-gvfs /home/albinus/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/site-lisp/tramp-ftp /home/albinus/src/tramp/lisp/tramp-crypt hides /usr/local/share/emacs/site-lisp/tramp-crypt /home/albinus/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/site-lisp/tramp-adb /home/albinus/src/tramp/lisp/tramp hides /usr/local/share/emacs/site-lisp/tramp /home/albinus/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/site-lisp/tramp-cache /home/albinus/src/tramp/lisp/tramp-rclone hides /usr/local/share/emacs/site-lisp/tramp-rclone /home/albinus/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/site-lisp/tramp-compat /home/albinus/src/tramp/lisp/tramp-integration hides /usr/local/share/emacs/site-lisp/tramp-integration /home/albinus/src/tramp/lisp/tramp-archive hides /usr/local/share/emacs/site-lisp/tramp-archive /home/albinus/src/tramp/lisp/tramp-sudoedit hides /usr/local/share/emacs/site-lisp/tramp-sudoedit /home/albinus/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/site-lisp/tramp-loaddefs /home/albinus/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/site-lisp/tramp-uu /home/albinus/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/site-lisp/tramp-smb /home/albinus/src/tramp/lisp/trampver hides /usr/local/share/emacs/site-lisp/trampver /home/albinus/.emacs.d/elpa/auth-source-pass-20210210.1908/auth-source-pass hides /home/albinus/src/emacs/lisp/auth-source-pass /home/albinus/.emacs.d/elpa/transient-20221119.1503/transient hides /home/albinus/src/emacs/lisp/transient /home/albinus/src/tramp/lisp/tramp-sh hides /home/albinus/src/emacs/lisp/net/tramp-sh /home/albinus/src/tramp/lisp/tramp-fuse hides /home/albinus/src/emacs/lisp/net/tramp-fuse /home/albinus/src/tramp/lisp/tramp-cmds hides /home/albinus/src/emacs/lisp/net/tramp-cmds /home/albinus/src/tramp/lisp/tramp-container hides /home/albinus/src/emacs/lisp/net/tramp-container /home/albinus/src/tramp/lisp/tramp-gvfs hides /home/albinus/src/emacs/lisp/net/tramp-gvfs /home/albinus/src/tramp/lisp/tramp-ftp hides /home/albinus/src/emacs/lisp/net/tramp-ftp /home/albinus/src/tramp/lisp/tramp-crypt hides /home/albinus/src/emacs/lisp/net/tramp-crypt /home/albinus/src/tramp/lisp/tramp-adb hides /home/albinus/src/emacs/lisp/net/tramp-adb /home/albinus/src/tramp/lisp/tramp hides /home/albinus/src/emacs/lisp/net/tramp /home/albinus/src/tramp/lisp/tramp-cache hides /home/albinus/src/emacs/lisp/net/tramp-cache /home/albinus/src/tramp/lisp/tramp-rclone hides /home/albinus/src/emacs/lisp/net/tramp-rclone /home/albinus/src/tramp/lisp/tramp-compat hides /home/albinus/src/emacs/lisp/net/tramp-compat /home/albinus/src/tramp/lisp/tramp-integration hides /home/albinus/src/emacs/lisp/net/tramp-integration /home/albinus/src/tramp/lisp/tramp-archive hides /home/albinus/src/emacs/lisp/net/tramp-archive ~/lisp/dbus hides /home/albinus/src/emacs/lisp/net/dbus /home/albinus/src/tramp/lisp/tramp-sudoedit hides /home/albinus/src/emacs/lisp/net/tramp-sudoedit /home/albinus/src/tramp/lisp/tramp-loaddefs hides /home/albinus/src/emacs/lisp/net/tramp-loaddefs /home/albinus/src/tramp/lisp/tramp-uu hides /home/albinus/src/emacs/lisp/net/tramp-uu /home/albinus/src/tramp/lisp/tramp-sshfs hides /home/albinus/src/emacs/lisp/net/tramp-sshfs /home/albinus/src/tramp/lisp/tramp-smb hides /home/albinus/src/emacs/lisp/net/tramp-smb /home/albinus/src/tramp/lisp/trampver hides /home/albinus/src/emacs/lisp/net/trampver Features: (shadow sort mail-extr emacsbug pop3 utf-7 nndraft nnmh nnml network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom nnnil smtpmail gnus-demon nntp gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr face-remap ob-shell ob ob-tangle ol org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-core ob-eval org-keys oc org-compat advice org-macs vc vc-dispatcher time tramp-cache time-stamp tramp-sh lxd-tramp lxc-tramp tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load wid-edit files-x tramp-compat rx warnings icons shell pcomplete comint ansi-osc ansi-color ring parse-time iso8601 time-date ls-lisp format-spec delsel ido jka-compr icomplete dired dired-loaddefs debbugs-autoloads recentf-remove-sudo-tramp-prefix-autoloads relint-autoloads transient-autoloads markdown-mode-autoloads direnv-autoloads alert-autoloads dired-rsync-autoloads dockerfile-mode-autoloads auth-source-xoauth2-autoloads yaml-mode-autoloads auto-virtualenv-autoloads flycheck-autoloads projectile-autoloads f-autoloads ghub-autoloads compat-autoloads xr-autoloads pylint-autoloads dash-autoloads clojure-mode-autoloads envrc-autoloads helm-autoloads helm-core-autoloads async-autoloads info jarchive-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 184847 16944) (symbols 48 20233 0) (strings 32 65431 4443) (string-bytes 1 2209670) (vectors 16 35283) (vector-slots 8 400831 12797) (floats 8 251 354) (intervals 56 323 0) (buffers 984 12)) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 05 09:05:57 2022 Received: (at 59797) by debbugs.gnu.org; 5 Dec 2022 14:05:57 +0000 Received: from localhost ([127.0.0.1]:36207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2C6X-0001Fs-2I for submit@debbugs.gnu.org; Mon, 05 Dec 2022 09:05:57 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2C6U-0001Fl-B9 for 59797@debbugs.gnu.org; Mon, 05 Dec 2022 09:05:55 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 254BE5C0067; Mon, 5 Dec 2022 09:05:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 05 Dec 2022 09:05:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1670249148; x=1670335548; bh=FwnS4cYaWK isjoe/7vE6WgCYSwN70qbBktAuJ8YFQeI=; b=bBE8JkNECPCmq/X1fD9hH97kwQ M0L+0+kkLixJqW3WVN0OmIlFM/2kk85JqWivxOjQz65E1m7v+Wys4V0Jr3KwH13M MhQKVR/NQizShl5Kwm7o9bDgVRE6ye29nf0mOHBxGzyQSKUp9AiPrHRxYqumi02G 67UpLcx9AcomXY2o6NNj+Rctmy4XfNGFZrVqMxE4PvK4Z1ttcajsAQBGsNj62oG8 CfWrofS0U6X4UKj6v7s2fEYp4ZojEvfx6WvFQOVQ+55onJj498rRwsGR8+G7RZhQ Ag00ToJPpuPVHdkPyO6+UUc++k9o64Yomds0LHkuzFuSfeO8bkSrBclLnNwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1670249148; x=1670335548; bh=FwnS4cYaWKisjoe/7vE6WgCYSwN7 0qbBktAuJ8YFQeI=; b=C/13J/OG8p32M34CC9xS4MhCijndvbNfRj+yw7+NBrge tN+YILXqtGrlAsPZQnQE1u51EFBmKXOG3cwDRQvC23DEZY3OfqyFQyqaXAZxZbeb rA/GMISnBImh6OUpeuphFIg3EszfiRTXbteOSytKDVsl21lUm9HW3tqUCrOEbanO xwq4kAv8X/pQm+2vZi4wXW9wLkCoTP34djkP6D2gFpHBlHsGonJo/OUtuzthmM92 pLaAynE20sff8b03BXr8QvA6YF0Ov6qUudLyEL/B/7eF1QQ+oZ0heezmI/JlNA3H E+ET+IFL2reD7B9+YGhmkfOvd8W22oJrn80AFrWeeg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeggdeitdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepfffhjeevieeiiedutefgheffleeiveeffeeftdekleehledufeeuuedu heevieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Dec 2022 09:05:47 -0500 (EST) From: Filipp Gunbin To: Michael Albinus Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87wn78lu7n.fsf@gmx.de> (Michael Albinus's message of "Sat, 03 Dec 2022 10:20:12 +0100") References: <87wn78lu7n.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 05 Dec 2022 17:05:40 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: 59797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, My motivation behind adding limited k8s support to Tramp was to be able to login into pod. A service is a more high-level abstraction, you cannot log into service, as there're some particular pods behind it. >From my limited knowledge and experience of k8s, listing pods in the current namespace is ok. We could add more scenarios when the need arises. Filipp From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 05 10:55:01 2022 Received: (at 59797) by debbugs.gnu.org; 5 Dec 2022 15:55:01 +0000 Received: from localhost ([127.0.0.1]:36873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Do5-0004hf-AT for submit@debbugs.gnu.org; Mon, 05 Dec 2022 10:55:01 -0500 Received: from mout.gmx.net ([212.227.15.19]:46357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Do3-0004hZ-BQ for 59797@debbugs.gnu.org; Mon, 05 Dec 2022 10:55:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1670255690; bh=nKAB8PRlYHlkyuyL1C0ZMVfOCsTPby51WMTwGnYXSy0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=RnPhsPTZaFYs8+cMrSLxdbEkyN9grvW9MQ93K3sXhK+plFaYUHA1l0RB8hCtnGKPC tgDo9b4izRUMb32uWamNspuwHIxYIziLLuF4CYFfb91YdXyt7y20zQkbJ4VP0Tku5N IjJukdjvLFvOnAf4bBoZMCIhmx03qzA3rVS09n16fQhGBRHgNutLmvzCsQyDsHDwDD bvp09PsrKYOC3YVs3jJNIqgRau77KMb02iXxZkUijrtJPx5CvlLgxOBuwNMvOjrmXN TpUR81+8I6/6jUveQfW6pAEeJi1Oc2arh2MoKFyXyitXOTPltMFBLXZqZs2xQ8+hyK tu4zCiwFOhHSw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.11]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N3se2-1otfBJ3fYO-00zk3p; Mon, 05 Dec 2022 16:54:49 +0100 From: Michael Albinus To: Filipp Gunbin Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Filipp Gunbin's message of "Mon, 05 Dec 2022 17:05:40 +0300") References: <87wn78lu7n.fsf@gmx.de> Date: Mon, 05 Dec 2022 16:54:47 +0100 Message-ID: <874ju96e2g.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:uk4wf7O/kWQgI+stmiYmdKqOX2Mtw7/MUyCspPbkuCN2cHMav2p SoFygv0AzfQgi2rOS5eIOTTdnPDVCPUZeGrjGaJ+MiPngCU3FqUds1LDsSLlPdzL0zY9EdE CUc9tadX6tuzfIDAa87tQ9pvRrySau2KADI8+QQuZtUyOaSQWDfLotx3fZD2Fk1u7HNDtwB Rg1LZV0s+Y9LYcD8IcE3w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:sXyVPB4NSD0=;q1sUjM2TADncvEP83amnI1g8782 1uHIxr66xuqnSbw1z61xeU7iimq7qp1oS2xiGp6ZC8YCFdkNTcay0QslntbfBIQE+2RovlAcg Rqs6x2slR3BDInUjnw706BNVlyb4yAH1IfZ4IypSrO/sofv3Li0i6/vBy3waV2FWtpXZU6xIC q98i6J4u2qOSYwWtIapfVqxerpSxoC1YerzIKZj8TsWWzR6B2opeTXkSx670sjC1zXTR127a/ DVNx9LoGK0bYSZhV0dSL37+Pqq0JlcExXxurrPn+D4kcIe9VzKQ996DWTP+HZPAcHItlm7ekF EBMkkGE4cHLdkuEgM93psq/YSISBHEBQeKBH/hRfOTIdghVwMgePUIaEJNEWkvfEc4CgwHkLB Y1IUXfaeWv2Sn8XpjsAOeSphr5z3QCdcab7ihtESWNi7Yi9cfT1zFLGIniJEN2aenMqAlmXcR 795/JUufn8sYzbYURHv6j7Ovt4HPp2FUXjYT0tGbw63Hhkh+FkBUVCl2JWH8MasulT14g1LHv zFHJ0tOqs0wo0di0ZVcoLiBumWhwQf3GYYRAuL8V/FkLGaqutVRnWUt/Sk8eAxiPX1ZvvkkeZ qL65dzudOFOwFocu5CwCPEL4Mgym8mocAANkss6uBFlkYpnnyL1OMTk6/pd8qcnbmE2sdGVBT 7lqygeTI21jvbCw3zJEadK2oW+CdMjQZoQRKTkEiwqwco7u0pAV0XREnEOC2pWy+777ImdBk7 T+Ix+UGGCAejxjogofWFvU5lozWhWVuNSzDSmChl00PejCzJzVdCWmZRDW4s8ICdlZX9wMJSi WYIlS1A6ozNSyWNcJzM8ny49fLZTa5y8mOA2sRTt5ekOdK7S4PSuxAGQXQbKqWfJN4I5mqak1 WT3Eri2Czy3fscjJlo+j5hRpyKntW9Q/j+80yVspzdoeuPoKNSJBnGD2/eLbl5cnXEBcwALzs yDHwtDSCtx2z3RoZicQufRmPiRg= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: 59797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Filipp Gunbin writes: > Hi, Hi Filipp, > My motivation behind adding limited k8s support to Tramp was to be able > to login into pod. A service is a more high-level abstraction, you > cannot log into service, as there're some particular pods behind it. > From my limited knowledge and experience of k8s, listing pods in the > current namespace is ok. We could add more scenarios when the need > arises. I don't speak about services in general. I speak about pods. Imagine, you have "pod1" in your current context, and "pod2" in another namespace, call it "another-namespace". "kubectl get pods" shows you "pod1". "kubectl get pods --namespace another-namespace" shows you "pod2". "kubectl exec pod1 -it -- /bin/sh" access pod1 in your current context. This is what we use when we access via remote file name syntax "/kubernetes:pod1:". pod2 is not accessible in your current context. But you could apply "kubectl exec pod2 -it --namespace another-namespace -- /bin/sh". This is what I mean with remote-file name syntax "/kubernetes:pod1.another-namespace:". Is this possible? > Filipp Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 06 08:56:46 2022 Received: (at 59797) by debbugs.gnu.org; 6 Dec 2022 13:56:46 +0000 Received: from localhost ([127.0.0.1]:43109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2YRB-00046Z-RD for submit@debbugs.gnu.org; Tue, 06 Dec 2022 08:56:46 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2YR9-00046R-E5 for 59797@debbugs.gnu.org; Tue, 06 Dec 2022 08:56:44 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 07DB55C00A7; Tue, 6 Dec 2022 08:56:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 06 Dec 2022 08:56:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1670334997; x=1670421397; bh=G9+hJfTk0X XdJZp0/3MxWLp7jiSaU+7LbG9wbweXqMs=; b=PP4CvNbE1ELesE8swigMR783he mTNTQFYj1rUqVPqz9+/jlULhHJO7PVcbOoZ9ksVwkfcya791mcyulpkrQqqdwMhs GUueqekoV8RXYbmGS14CHRhnzPBSrjbdTnATPmYbOp2dLOPSGOStuktORfTE4Emv zs4Cd6asw0HzKVvt6EUsrqogOd2+zPGWUSAY5CVnyqzZsJ92JLoguu1ToLfoK3+z adJ6mtcnnSFXMx/Hcx7GDoY+4pND+dQxJB7iO1sC6bhZt3Hx3KsicHGmtWzs72M+ Gq1C8/OrSWDo2MPx/1YGE+U2+zUStXu4ghgjSiMm/PoW3BLtFYeM0Gkgs4Hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1670334997; x=1670421397; bh=G9+hJfTk0XXdJZp0/3MxWLp7jiSa U+7LbG9wbweXqMs=; b=OzmaIAa190q8PR/yBH31a9jHz5yB7DpO0SXswsuB58gN KcDRBpcngReBKz0pMn3HfDZm5zzcWz3gfF7NXODJKuIqYWxlW1BoYKSRHCv8mrbS Jo5ny7TD//lY/4gLJUOKcU2Ui6Ra+AyE9smE9mtjjfD5zDi2RF5fd+z9ZCUCd6g9 ggh/4AI6CE77sBWQAAS7pG8xWgWe+dmdhgPeoL2hRxBum/3hSN/kh8i2BbFVv7sh vhfFk1r8WVYCeSDkaP7y28spBmq3Nxl5d9ILZ4E9WPv9RE+Me912az2nvtRKCmtL EMp84RSuyMXNn5f02cu+pT/SIDvQnqR1kROzQ6tLRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeigdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepheffhfetudeivedtudduvedvkeduudffgeduhfffheekleevvdduvefh udffheffnecuffhomhgrihhnpegrnhhothhhvghrqdhnrghmvghsphgrtggvrdhishenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgs ihhnsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Dec 2022 08:56:35 -0500 (EST) From: Filipp Gunbin To: Michael Albinus Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <874ju96e2g.fsf@gmx.de> (Michael Albinus's message of "Mon, 05 Dec 2022 16:54:47 +0100") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 06 Dec 2022 16:56:30 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: 59797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Michael, On 05/12/2022 16:54 +0100, Michael Albinus wrote: >> My motivation behind adding limited k8s support to Tramp was to be able >> to login into pod. A service is a more high-level abstraction, you >> cannot log into service, as there're some particular pods behind it. >> From my limited knowledge and experience of k8s, listing pods in the >> current namespace is ok. We could add more scenarios when the need >> arises. > > I don't speak about services in general. I speak about pods. > > Imagine, you have "pod1" in your current context, and "pod2" in another > namespace, call it "another-namespace". > > "kubectl get pods" shows you "pod1". "kubectl get pods --namespace > another-namespace" shows you "pod2". > > "kubectl exec pod1 -it -- /bin/sh" access pod1 in your current > context. This is what we use when we access via remote file name syntax > "/kubernetes:pod1:". > > pod2 is not accessible in your current context. But you could apply > "kubectl exec pod2 -it --namespace another-namespace -- /bin/sh". This > is what I mean with remote-file name syntax "/kubernetes:pod1.another-namespace:". > > Is this possible? 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 :-) Filipp From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 06 10:13:55 2022 Received: (at 59797) by debbugs.gnu.org; 6 Dec 2022 15:13:55 +0000 Received: from localhost ([127.0.0.1]:43487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Zdr-0004ps-Eo for submit@debbugs.gnu.org; Tue, 06 Dec 2022 10:13:55 -0500 Received: from mout.gmx.net ([212.227.17.20]:54543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Zdl-0004pm-Pi for 59797@debbugs.gnu.org; Tue, 06 Dec 2022 10:13:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1670339621; bh=jWuMmTSWb971K3Ko7rth4gR9L3/qMPbwOK1LIIoDeVs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=A2kGnZmanrL8LvqqLX6s700d6qeqShNDMVtSq/j68Ng6w+r/ta++/JA/GOW8f1GeL GsqAmmtPOXFCjksCYcSnM1UDEc9jFGFnN8tEv0jCOeH0XuhCtgyMGobdlKnWgU9IhN sibc5saFUQ7TIUYht2ltLvPUIAzqXE04C+ZhlpsDGjk95q5WA2RnCb/5TrwsW9Wuz7 9Gtpw2X0HG4jLJjBDNi7paRz+WcGjdcPcY7eOn3v90fYx+gCha9d+WHU2v9u0iffJl XZyFdZ0Gc1TR3Auvkc34vopwxMISKV4Ugam+iX4SH2ylZ+vpcUNAhCWYlpiyzuY6o/ xFGuEYtnRhmZA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.11]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MC34X-1p7oxU0QW5-00CSSF; Tue, 06 Dec 2022 16:13:41 +0100 From: Michael Albinus To: Filipp Gunbin Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Filipp Gunbin's message of "Tue, 06 Dec 2022 16:56:30 +0300") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> Date: Tue, 06 Dec 2022 16:13:38 +0100 Message-ID: <87bkogr2e5.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Uy/NpmKJ4OvWCavVNBxtziLVnLAkH4aEB1iA39hhYf75tAPd7no cEoYUtkzdi1WI2Y0Jq6CGsaorbME0AziR3QvGELLCpCjOC4pq+53SpmV8ub7uNYg5nK+Cix KcKBibp4a3aYFkzLHeoZrk3NYPGTmPirQr7dOtXUYaLg5x+GWaAq2DRgHbY783Diu1Jt5FG UMa1fuuz9NBMi5Egbd8YQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:S0/NJ8BY9K0=;xTPuvFzmsDXhtjatixXkoalQKxF d36TFGGVcUv5NrtMux4fjez1zGaapCCpuAvaPPjDp/4AnPvk1pP36gfpMlQ00LfM6UWn9mlsx kdHFJkKJ92gQ+3BTmzf2jD4YQo60q/eKEYVGpoviSKIpGoCklS/cAFomneLSq9BXqqKGdCESO xd6nBjv6LvLVOXv1kCNtyisPbkiQ/di6Z21pHgdD1casiy4pROehEYR/kzOoFJcRoW08+1lUa Tiz12nBtFts/9E4YXHhVXitUqNFLgsEltITbmoNMY4uOiAMXW1YDHZuXOM+okHhm0f0bulYFc fZNG+EsoTMYgpfzejgr5Eqrmw+pSztDio3GT9N7t5BXotPmFBOBPlApfC75UfIRwoLxFNE0zV JnX61fNJt+dVIlXpqUjA4hBrOMsNbwVtOBn/rDZBHO6m5KFhcS0hzp/ZCYlJozcAX2sf63kI2 MAJ2Im3zCLefz6OSJPykDwOxhFtEUMa5XbOxj0nWWo+hQaAHFbTLqL2Q5Iu/KSNN3PkGN6TXk FNLkD+/YQBmb6iYrWJfrBIHBvVxZ78+iowuQYdQ1/sF89m9GGoB2QM34kt9LAvQ7EGmzbdLEM 8CzCcnHE5yBjP/QIhvMm00VWbzupMICEawUQ66v3Urm73M+Smi3eEXp3IJs4KdWUQL7y/xCzS +Na9gM7P+WEDAq7vkbXZ8f7eNS//E8TEsLkwbeCVX2AS2O/3dRU6oOhW3oobiLbhXzvrLGiys eK+5zBenMDvoiF42Mf1gdkkLx5m1unht0oM7Rm7z4CLVSp+ZLhUZbw6bgCNWUDcyEOaT40Ip6 uMmgr9eUg/lUL+3FYnO7hQnjt5GMq2BxL/w9gHZ9hkrBocu1CIsMV00GNUtNsKqqowblEgYr3 341idWHNk/wZ/1TKkeRApDn6NpTQtB/7U/p7CTGoIsqPP8ia49W3AFCCSxuWDdgd4nOm6b3J4 BZtEfG1EC7GJlm56ONHc6tP+uFk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: 59797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Filipp Gunbin writes: > Hi Michael, Hi Filipp, >> Is this possible? > > 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. > Filipp Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 23 15:47:52 2023 Received: (at 59797) by debbugs.gnu.org; 23 Jun 2023 19:47:52 +0000 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 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 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 From: Michael Albinus To: Filipp Gunbin Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87bkogr2e5.fsf@gmx.de> (Michael Albinus's message of "Tue, 06 Dec 2022 16:13:38 +0100") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> Date: Fri, 23 Jun 2023 21:47:37 +0200 Message-ID: <87y1kaq7ty.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:mjsYLvWlSdGyEZjGYycEZ2zUaUhZdtnV24sqWyeWdDAy74DRmK5 x7jlc1ANkcjKdtZQUwK4+/p7NLHbx3wPw0aQSoxC3MX6dahtMhr5P9lfueg1vvOinuAgb+V UpVJiYCDfTlgDsrwkit8KgMVp6wbanjvU6i/jQe+gHwtf7DZpJYPf9ieb9mHej2SODpTtv4 xEvpfreAYTvVC8JNpP2PQ== X-Spam-Flag: NO 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/ IBEco94WqprdIuzXj2g7AORNvTwzJJ+K+vgSHpa3ivPx0xvaFCDH6wB3qRqGLj3Y7TF1zEDNT j/fbv7biSQm1aIDtbTghxlPlHGGi1Ydd6ht8UucAXyd3K5FpsOzR18AZYJAK2CMTAVTM0VoGQ ARML5SUUbkPwWz6SDR7Krz5P5uk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: 59797@debbugs.gnu.org, Aaron Gonzales , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 02 04:37:52 2023 Received: (at 59797-done) by debbugs.gnu.org; 2 Jul 2023 08:37:52 +0000 Received: from localhost ([127.0.0.1]:59186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFsae-0001Rt-8y for submit@debbugs.gnu.org; Sun, 02 Jul 2023 04:37:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFsab-0001Rd-7p for 59797-done@debbugs.gnu.org; Sun, 02 Jul 2023 04:37:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1688287059; x=1688891859; i=michael.albinus@gmx.de; bh=c4VzR7SL0Hyze1uI19fZ6YCHwQskO23q2AsZ3kK4nbs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=FjKTV4AtWCo/AiM7IiKlrT8x3ZubDTlCsTvjeD6oBXGUBtDz09RPidvLRMcXd/fJ+q+3Nt1 ZwW+OHZk/OJp7aQwUCHOS7E5459UEDvCAL3jqCPvnUAp9E57m6TKas6z7JcwlnWQ4xTJlfahC XTFMqozH0Qz49ixecPaLOQSplFKtfhMTYgGlUta4dQfY/jdZ/MANRsCCsCAUtTaaB9lOiBLrd Epn3EBTTppTg80fYXycIgiFXD4/SXp4XeM5HJWLuKTtGDKz4R3eig+BHBWAt/PoWvaQ9ijzWe qtD01iCS6FgCWbmpo1aBChm7IBIsK5e7OlwZhJSemmJ1tO9LWlMQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MmDIo-1pXzCF3B6O-00iEpe; Sun, 02 Jul 2023 10:37:39 +0200 From: Michael Albinus To: Filipp Gunbin Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87y1kaq7ty.fsf@gmx.de> (Michael Albinus's message of "Fri, 23 Jun 2023 21:47:37 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> Date: Sun, 02 Jul 2023 10:37:38 +0200 Message-ID: <87jzviu2st.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:CFkn4h2WvCQY/7qtqPIYpmOeI5ydj5VRejzQWdFe83VEQSIu41f 0RUoY+fBy6U0544sbCrZVGjEEwbqkChDwwl0rYYFngQjLgHWhsD5+BloovJySJPA9oxn9Es nDfh/DA+dxCvpt/nOVWm7HdPpdW58c5LZjiVhQDsgngWPBF8BWrpwkqQHKz929Iaa1ot1eB wRvjV9QWI1HiMMiIN0Dzg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Xx9DxWKtCLc=;6xrEctPSeRp5719THueZr0KiAYC nwY4OhjDN+fzFsEwEIMnQ5fB2lKAruIJYtvxr1FdZ1EE32/THqxGR+oGE9kPrmXS7RE/l3twF zi0DZGDoioUw6xT5xoOxMtFZxaGQr8NVXJYkbilrIVjdIshdxNRJxw5UPEHUCjcTd2qxQo2hx pGnggHympwdBj5jVrpRdlUVLM/b7tOSya19EaWxlVFXeNvFEtKKO1+cf73rE+WZJf2ZOs1E9D ac4NFYH3toRzOjX0anq0TMOiRfGPSt+1gmQZ7QBWCsGs8LotSS5kt4KcTd99x7sdWSO7HAktN 07xKQqW3SoA3FIJ7PfRcHz7EtntbtpOkiCtVh3NDDfcN3RSYPYoNVokW8Q0NDsp22/JwzfeX6 MNo+WWLF0sScFZ/YwJDq3jz+xtmlGW4BVzQxyFmuTq6hs4PHsNT2mfEGqGnkuh6/JaXhlNECm BU1MKq1rB9H0WvmwMXoZ6dFRl91Uwm8LeyoS5tIFq8O92rfiMUfVzADH1pvH+ro/nkYxt90qE g2M4qBNYFIyhndr7dynbR9BlMHHGEn26qkzOZe60iUEZlxWeH09H8Ets7FdMxtjwN/poAIm2l 3+TmjZq5IsWirSjxgg1/+cFEK7VTK/GcBrVpc5NflycDntII8kLRJ9YI2sWEuJ7O7p1BTBE/9 fDSWlXqG2ZNWqt3SS7HyWmYvh6RcF+j+S+0GAcxvg+LuKROlG4cb851dNcNVqnLYbIWjr4XqM CL4BtzKRDZitOoQBj/2mJg+bTCpba2bmtEGJQM8q80witQQDRQErE/7db4H1mGnq2L7ciKKnn d9kpTkN3Py6w9Bky7etZGsjmg1Md5m7kCcg8Gh+sMuoVdLQTrQAnKmliMZlSrF64dzRxZkKR8 YKtTzT1/Dzz7NEThxrJZl0TJfJxZVOVcnYnR6ovBJWJBH4u+MyHxb8KRRpt/AQL+zck1Zf18e Hhm8NFKt4EsywYhTBQin8OHw8YU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797-done Cc: 59797-done@debbugs.gnu.org, Aaron Gonzales , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 30.1 Michael Albinus writes: Hi, > Everything pushed to the Emacs and Tramp master repositories. The target > is now Tramp 2.7 / Emacs 30. Comments welcome :-) No further comments, so I'm closing the bug. Best regards, Michael. From unknown Sun Jun 22 11:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 30 Jul 2023 11:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From unknown Sun Jun 22 11:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 30.1 and reopened. Date: Tue, 23 Jul 2024 11:21:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 30.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From unknown Sun Jun 22 11:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 30.1 and reopened. Date: Tue, 23 Jul 2024 12:20:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 30.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 08:19:58 2024 Received: (at control) by debbugs.gnu.org; 23 Jul 2024 12:19:58 +0000 Received: from localhost ([127.0.0.1]:59408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWEUo-00059o-9m for submit@debbugs.gnu.org; Tue, 23 Jul 2024 08:19:58 -0400 Received: from mout.gmx.net ([212.227.17.20]:36243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWEUl-00059M-Ut for control@debbugs.gnu.org; Tue, 23 Jul 2024 08:19:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721737186; x=1722341986; i=michael.albinus@gmx.de; bh=UGbf2HhOZXMrJBZRt7Wu0ywYxsp0o4cg3lVlCmWTpLg=; h=X-UI-Sender-Class:Date:Message-Id:To:From:Subject:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=r7/vmMo9Q/5G/r/UfYyjzkqIpJ8My0Bt/q7wY0BB3ajr8O3lq0LRB+4ih1MfTB8s WbKFiABt0BHeQmMrgEHAA3dM938hwPbuJ/nGDN/hzXut7i+vIXaQouHUHNTnnUVRo CBe0b1WzR3gwwsHTwuvi1if98pl8KRl/iqYTRK5jZwE+EiFCHxwQVhxsyjaHXgWXu L9kOUMuXaPvgJrE94PvgA0Q65juNvop+EIrLXPASP6r92dgNSH/YasyWBJFXkMBb5 /4F3l8G8UjjPBVSHSDsSbANvYH7RLVL/V40pO/6h03cqVu28otGAfe4nevQMEoRIP aHalZ/z2oRXbyqXnMg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MkHQX-1s3FKC2zeL-00ggnP for ; Tue, 23 Jul 2024 14:19:45 +0200 Date: Tue, 23 Jul 2024 14:19:45 +0200 Message-Id: <87zfq8nvvi.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #59797 X-Provags-ID: V03:K1:x0qw4XTULxqifEbfm0TZnX+TuX4MenWKs2p5pioExbnD4YN29GY xq186qevXQiCrKVs813RNHVVUcuFsoZBODQSKXDEUGRtLdBzCrh5jwHkpQB2vU4YLKsmWFU SScuzSm+l1AV+HU9bQhn5XpowQJLIVOGtETp9GwlDWxXQewvyH9yD0nRVDtRmYQi/BLoqeq BNdR4Rae5+YJFrntc6DoA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:HZu+8rAxB6k=;xOYUDF2fTMjn9zTrmfJY3LxakEl lVl0UJ70Esp37VSo6xZ7w63XZiEpSgjqaPP7r8ZuQJb+YOM42szSqqulXxzFLoU5b/zvG0RXO JcLpMqrtm/1SLtDw5yJDULB7gVqKlOvUM6psiqCul6FaeFkdVti3Fyh5yldJr2TOFMxT9i4Y3 8+tRSF8qA7Z/ryyjlG34xcN0SSZ6Im+AaIxBrTn9BPu36HjSHfxAxsPwL6fCkcPl8qLiF5BI7 pbExRu3tFTDd5xk/tmtVo4EErX98w9wx2Z5o65pA8Vf4fsYZoKUBcSzSN+4OPsoPa0nWhurmN hG6jAmbUj3d4L85TQ7X6EzlzywIgberDFw1FWp9LWXdc3IRmSCuXWgEqRYxUewwkUAktnDSF0 YzKqUlTY7pybTVk2TIRBOZG7vPep6Wz4n++W8zndjuIOfspoGAbTCGNHtw/IRH2RmJG6+X3Ux oUA98cVkW6eLxoHGEhE8uEbQSEelTE2D+qKsAVlFxFiv1dqPDH/ekApNOmUh/RRqIyWWM1OTy KOabBu5u58Ropq2VqtQnE67VZDgvoh3jQS1Yf1GEYxIJkvZ/I2Fsi0WXe84qu1xCHdiD1dm9V +ZZmh4U+dQsJDSpdn3ZfW7DnjpIf3hRbJIg0bQS/zVVpzXoBgbKHmAoTvOz1OhiR5HKyu2VhR 4yPseh3Pn3YAh37GQXgLUPXay6ICO8VIP0qQOBX9SHJZTXqNsjSPyI/hvjWIk1suksb7OQ0kR 0wLVK4VMlfbzvKb/3Za+QDUYdG2BoatVlqEHUOTEk41k7wJYBr6DmZKk4TS5eN2h+EXF/K8YE 0jS1m/BruVwm6iLHB4YHR8MQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) unarchive 59797 quit From unknown Sun Jun 22 11:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 30.1 and reopened. Date: Tue, 23 Jul 2024 12:21:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 30.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 08:29:59 2024 Received: (at 59797) by debbugs.gnu.org; 23 Jul 2024 12:29:59 +0000 Received: from localhost ([127.0.0.1]:59433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWEeU-0005QR-PG for submit@debbugs.gnu.org; Tue, 23 Jul 2024 08:29:59 -0400 Received: from mout.gmx.net ([212.227.15.18]:56505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWEeS-0005Q9-DM for 59797@debbugs.gnu.org; Tue, 23 Jul 2024 08:29:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721737779; x=1722342579; i=michael.albinus@gmx.de; bh=M/y5yyg9Q9EA5GW0HiisNaGaKichJfMnIkaL/DMpb8k=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=hjisDdDXUE7U5kelBqfyp7/Y9FYdv/wkEz4byVaenCxxFjJtowDnQbisFeH27S9A 8Byinb/b2cBiTKcfeVCdd+NRqHSl38xk2FrdbaWRuwSzuMQCL7NElaodMVJMk8cys PKXostpJUX0sUtwwUscP4FOAmxnsr2SgAsHZEThVWhALhEOmBuVL/RVO43F8QSW8f m4qOms7cWZ0bVgeIq6Dep1IavhPwYsMBgbAH0BFC/QvBqr8xD9TXMQcqIKHmbtD85 HgeOzDv8E+mwzYXsFisFu+xFCX9I5N7mtlmJjNN+uvK+175cVYjFuaf8czZSjDKJ7 G/Vo2yDQkEEcE9VRFA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2DxE-1sJUiL2KJK-00quiR; Tue, 23 Jul 2024 14:29:39 +0200 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Eshel Yaron's message of "Tue, 23 Jul 2024 13:20:11 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> Date: Tue, 23 Jul 2024 14:29:34 +0200 Message-ID: <87ttggnvf5.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:CfkHu2S78/5ZHa78xXQG2gQBJ5hfg9wb5JlnQO2NzuTtDbS9s7v wZNsRIFX9VdutTcPnb50oo1DgQZKSBKXNqzQep4Iu5w5ysB/971Yr6fHEBJmpj4c4K2Cwis azkrjkfTE1v1uFYT464ZQiA2NtgyUrlU7ncnQvn0U+eBMds2MGD2rwgYU6MYq+A5uzwVvKP kO3b4YVVZ/2q6Q8EPlKbg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:dlnDuJEZ6Tw=;BdwQoPHH++OeskI24duw0N/y8SS RjvFqDP4VrW+Znv4sBVzU7lCVWaA5sNr6AtRl/IYsBikOpFq2W6wXHcAOOzETmiclzwUYViQp Kbqn/tqTixLYb2QbIs8DgvxigqasdDf+nKucFVPnsytg6VxwepW0ip/4TPTS4YwYXON3nziuB yBdHugr0QleYMgY93r9ElLQjHSSUOgnq/F7rJ6lHuVyp3WJVdJW7+LEnH4UQhjMkMpB4r3/Du o1TnogXS/siNNw/6Rnx/yLW+v4ki6+P3IOY5Q0KSDCMDcMHhW+A8BQyNzRo7RtY65NZKf/6jl LNGV/oluBPssNACRe1Ta+ng2Sw+NIvqR5kFF8dQ4T3okwCqr3vFCGtYh5qVHmB7/y11ZFevkw YAvX3A+H3UqJtLaOO2BlDdSm2if60RPRY2jBLOk+p5Wk1yZUQJA6rdYjXInMA4ACX48BnBbAe JMpxYfjuM43uTb4JQiE4OEXAlr26A2xyVQc+MucLYtrl6u+3o79fWlvI32RInf1FzvivT2l0n gOoI3sDscz0yz4K+q4Gf2JgKTfWniaK7ktUl3MXe0dcvto1QzgnhheclhnFxC5Dp+e73MPC/W reIPr6GFIhZ+71c799Pe/m80Ke/AhJdWaVApAe/E6DOxbWe7+Az3pHb7joOm4sCT0tlgr0l9z HJeNGZPj2XaJDcSOkYBKeL/rB7P+AOU7EAM+FspLbN9a2vRR7UvheXYxTMiK/iCe4xE4Qp8Wj ZWauPVjxeJJr8O4Uj4WUg/l//FPwmbMvk9gFwARWg3ezrOw/p+vyBnGSIiBZ80bfKzKNDji4q Zql4GoZdPPvW8uvyepeNTQ5Q== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eshel Yaron writes: > Hi Michael, Hi Eshel, > Michael Albinus writes: > >> Now we have kubernetes integrated in Tramp. We can access pods like >> "/kubernetes:POD:/path/to/file". >> >> However, kubernetes can much more. For all services (like pods) it >> creates DNS entries "..svc.cluster.local"= . >> Should'nt we support this? It means should we allow to access kubernete= s >> pods like "/kubernetes:POD.NAMESPACE:/path/to/file", including >> completion for namespace names? > > [...] > >> 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 targe= t >> is now Tramp 2.7 / Emacs 30. Comments welcome :-) > > Sorry for not chiming in when this discussion was still ongoing, and > thank you for your work on the Kubernetes integration. I use it a lot. > > Would it be possible the reconsider adding an optional namespace to > Tramp's Kubernetes file name syntax? I'm thinking of something like > "/kubernetes:[CONTAINER.]POD[.NAMESPACE]:/...". 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? > My use case is that I want to start Dired for a (container in a) pod in > another namespace. I can almost get there if I temporarily bind > tramp-kubernetes-namespace around the call to dired, but the binding > doesn't carry on to subsequent operations in the Dired buffer. So an > explicit namespace in default-directory could help, I think. I see, it makes sense. My practical kubernetes experience is sparse; I would exploit you while implementing. At least for tests. Note also, that Emacs 30 is in pretest. Any such feature change will be targeted to Emacs 31 / Tramp 2.8. > Best, > > Eshel Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 09:00:03 2024 Received: (at 59797) by debbugs.gnu.org; 23 Jul 2024 13:00:03 +0000 Received: from localhost ([127.0.0.1]:59463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWF7a-0000Xe-A6 for submit@debbugs.gnu.org; Tue, 23 Jul 2024 09:00:03 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:33632 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWF7Y-0000Wm-Fu for 59797@debbugs.gnu.org; Tue, 23 Jul 2024 09:00:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721739595; bh=ZBgwmE/4w+lniBPUCDF9kmemeNJL5b2I4kEEx56PxJk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=sCdIDnkW//XVnylZtVoRIOu9l7CFmUGoFNhV8B3+dlgjlzaFfvWjcgnilcijPm7I6 eBig+dOJifhEfmEtQ+Nk1QWmgCcPGTW8XdVXA5FDYUzn9vpYlEYrWHU3RvJNj3OlI8 xBeudlzwQMPrMqBjal5NCpjRKudD6quKWGRQTWGRmLz2ZF/nB16ZGwS1Pt9XMAX4HX 46V2AoRsgFgvUz5Qbztdz4P6/lcbtbY5DPjsOm3mPchQMQwRgfNJOBTZ5Mh2AatVGH TZN5f5pZY5YOnNs7uRW8uUpWOcoQbgl71a/wllonOU/9ConNszc/yaEYe0xeTcIKZq zQbAk204Gz0Ew== From: Eshel Yaron To: Michael Albinus Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87ttggnvf5.fsf@gmx.de> (Michael Albinus's message of "Tue, 23 Jul 2024 14:29:34 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> Date: Tue, 23 Jul 2024 14:59:52 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Albinus writes: > Eshel Yaron writes: > >> Hi Michael, > > Hi Eshel, > >> Michael Albinus writes: >> >>> Now we have kubernetes integrated in Tramp. We can access pods like >>> "/kubernetes:POD:/path/to/file". >>> >>> However, kubernetes can much more. For all services (like pods) it >>> creates DNS entries "..svc.cluster.local". >>> Should'nt we support this? It means should we allow to access kubernetes >>> pods like "/kubernetes:POD.NAMESPACE:/path/to/file", including >>> completion for namespace names? >> >> [...] >> >>> 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 :-) >> >> Sorry for not chiming in when this discussion was still ongoing, and >> thank you for your work on the Kubernetes integration. I use it a lot. >> >> Would it be possible the reconsider adding an optional namespace to >> Tramp's Kubernetes file name syntax? I'm thinking of something like >> "/kubernetes:[CONTAINER.]POD[.NAMESPACE]:/...". > > 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. >> My use case is that I want to start Dired for a (container in a) pod in >> another namespace. I can almost get there if I temporarily bind >> tramp-kubernetes-namespace around the call to dired, but the binding >> doesn't carry on to subsequent operations in the Dired buffer. So an >> explicit namespace in default-directory could help, I think. > > I see, it makes sense. My practical kubernetes experience is sparse; I > would exploit you while implementing. At least for tests. SGTM. > Note also, that Emacs 30 is in pretest. Any such feature change will be > targeted to Emacs 31 / Tramp 2.8. Of course, that's fine. Thank you! [0] https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ https://kubernetes.io/docs/concepts/overview/working-with-objects/names/ From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 10:13:36 2024 Received: (at 59797) by debbugs.gnu.org; 23 Jul 2024 14:13:36 +0000 Received: from localhost ([127.0.0.1]:60415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWGGm-0002mo-9R for submit@debbugs.gnu.org; Tue, 23 Jul 2024 10:13:36 -0400 Received: from mout.gmx.net ([212.227.15.15]:42191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWGGi-0002mZ-KV for 59797@debbugs.gnu.org; Tue, 23 Jul 2024 10:13:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721743991; x=1722348791; i=michael.albinus@gmx.de; bh=yNW6m0eeoJbfQoYW/+6YWP0Eg4S1nWC6pnIPKFi3MaA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=s0GwlSrTmmNh2pQTUZOF/hDrwbgtd4Jr8tiAsQ8wAJQ3JHa2/Hg8Fh1BbF0KfVHK D9RkoZjiE9z3FwitX3gJ5GbgUuK7HyxBcrIJRWT5bhqTjb9ZS4d030UeEnBxpJkms zk1A038uq8NYUWyaJocgBolfASpzOyV5eDAgMOMXB7pMptmK7d9VHTBU9h6E2TmsG ph05SJ3MStViSQN5CQDIEv945LtGhPiHjFp7MIwK0gXoOlekGoPG3aherpsm1MRP1 hELVeHm5oeeUd8jCRGCy6FMicJk9cBry+XZdQzE6fM+/YvBJ12WN+n7kWtr3Pj5fM zEvNZXzyRungfdIC7Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWzfv-1spnJ80bG5-00S6Sj; Tue, 23 Jul 2024 16:13:11 +0200 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Eshel Yaron's message of "Tue, 23 Jul 2024 14:59:52 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> Date: Tue, 23 Jul 2024 16:13:10 +0200 Message-ID: <87plr4nqmh.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:RJF/iEMIyuTf+sbzRORKb/BavQkaYz6y96Jz63rFuyjfSjiLPXF 0ggyC75VDGrsg02kZangGMwkDw32dB4znRwhboQioP5T2FTLZfp8ZBJgTJa0euks67m3sck qneBJDbpl3qDWDXKL3UmizSvcSMJZqokOHZxI9SNlto43VK11thW9pAuB++ZVlH0nk/xHVb BRTe2JUCUvpq6xjSxc33w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:8HbBMDt5E0g=;Qkr2H+D7H3NA3GUQZwfbV4urmTp xgpzSZtPQgSEyogDi2Q6KlSO8AqCFZt1tEWFeo2DF8zqp/XU91lXnakwtfHpw/viACyTVCtrD HsDIW4t6NHIzTjaP6RfpeXyUq/MaqKVBDvMk/PMYLX3kwd4C+9+2hvfrtt80Q9KVKxIRI5s2A kgXtO9+ThfoMMI1UGr5vO35vr07T81QoMfwkrN/h8VAShMFGRuzcipZzbpuivQefFvPR24bAy LTh5rrgexc2i0Wls05GOZevhsFDYr3T1nRf8VmD/TzYziVxH53+UlOtHmcvbf22y3ky/ttbzh TaBZ2BwdfYFPFySIO507neS73uksdruLPJB49ZimmpLM7ZmUa0VWYdR3xJo33jsKfpOYpYRHn jyDMDZkRJfiIdKog2Htwnore2WXuzwM/2lOTwLG1gVlZ1pPnQAYNe6Fi3jy4ikzpsfsV/E7hr 7+HsUTFY+mB99EKvibSmR3F1s0mVV1W7HpdVEsOFdNAA3BCDFhRPAOSqRXjJdXibIL22GdWoM ir36M6f4wIzJwmcicu/YdGq3nT09rPoKBXG2gXpFCNBhmCAU80+qIJvIexj0X9cOyKXlYFFY6 QlcBhyPg9DFbOFBi2yCb4uOAYq1AxriYxjr9PEwsosTQVW5M1SMgZSPWJ3oXUGX6/rN4WNWIG gcofx/e7GkgLE3V+Pkb/qxKotjuic76ZvVLsOuhrcWDBpsf0MDEHxgaXyx15ubY2KlpAsgYEv Phll3K79RDM8bTsK2qePC+MgQRwkhEG8rj4YktsaDcYpPoT049ZLLGIg3EWKOHvvzdcPG0KkN SNCc0OPar9jy3uv/2kcyeztQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eshel Yaron 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@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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 24 12:48:31 2024 Received: (at 59797) by debbugs.gnu.org; 24 Jul 2024 16:48:31 +0000 Received: from localhost ([127.0.0.1]:34389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWfAE-0004uK-H1 for submit@debbugs.gnu.org; Wed, 24 Jul 2024 12:48:31 -0400 Received: from mout.gmx.net ([212.227.17.21]:36829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWfAB-0004u6-RK for 59797@debbugs.gnu.org; Wed, 24 Jul 2024 12:48:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721839687; x=1722444487; i=michael.albinus@gmx.de; bh=6U2bb07j50u5bWdwdtxefD18wLjKWktSkjKlSed0yEQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=rTWeH5FdXiWtdZjno863ydAxIrDzsmeqcLXUIsRyX9cKTMX3IS7eTwOxkdSRtWkp oSyv9sutfl/2xuAgLxZaMQH37BLbvvCqLms5IiFWqYOruKWUCQp9laF6jk8yZ/IBS /tTne7s2EcTvT8QLH8bCYvWuB4KDIm+5nvjtXld0I3JwT+mQqCafdsvjg53P6Je/Y /6rfAqGrwlXbSxofE6tpe2uThkhHbZMXY3OG0ZYPQzB6rX1J1TsSPQfUEQ4MLmV5c ffpSPY+alX8IMzDpJITQ6h/XXTISlZRAS8ViiUp6RO5gYnQf7vf70h7deHz9FG6Ha 799IOBsAk9wR2vM3vA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGQnF-1sVFb01PvJ-004IOr; Wed, 24 Jul 2024 18:48:07 +0200 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87plr4nqmh.fsf@gmx.de> (Michael Albinus's message of "Tue, 23 Jul 2024 16:13:10 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> <87plr4nqmh.fsf@gmx.de> Date: Wed, 24 Jul 2024 18:48:04 +0200 Message-ID: <87plr2ka7v.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:Q2nqfnWAawVF8D1VvBET7L56kZrMGbAHRI8gPDOqi3AABC+5WFQ xXMOH7fPAXeM6qMcApYUh82Q5GhNHBT4DebJaemHRx6K1LwMiOfxJFjVgcbpD2ICqc/DBaB Xg0HN+olVp+aHKGHLEWFo3LDEvS+5Gb4ECR40v/TFOiTZi7GLvdyWh3YTF22pLSiw+Xto5e kpPyYKZbDz3ylZwWZpJtw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:2RAJICshteo=;6gYGruwZOkfyfPTy1L7HbbigTWO 4qvIbZPdcT/FBU+VSkXZwtf/mhcsYN7KBXPVJXM9zgryPtsktXdALQyW8tOjjOQSnOSetfC28 NuEUFc1uRsdgdCb+6EjMgBU1/iCnnM1TZjUzZpDvc18GSNTL/9kOh3nx7AX6h+Ef0x/vbSPIY pjUez26BuKnYo+4QRHWossi5LUpcuTykJJDe9ccJuLwoWIwdKecoZfaky+B7/QeefTKlIfOpo QtgKgymcBc42W0oiK9GoDuHKQsjcxyQA09y//lulG/BA6hJmw91dHMta6txb/7u9oIZuBi088 yVg4pKa7b+4LKlq1gDVkS8DemzBqi9uY9mn0YMmxum0r6EYvs5MnSnqPtDuEAC2Ehj2YduQCc i1x/R2y9f5tqoQkv9cmvHLrWkvbQZAaYErejhniHsaBlnhN7zGMPsa+AppHz9AHx53qms2iYZ vDgf3oQ/sdfMYBPtYYRev4KQAlnzEOyLEQVzjXBhqdmL1OFZn3KiEyaonoffnnjmhW0pRf22H ubPhRK8y/cp7pYa8Q7UmvLvp08rGqyIdpiewpMrz9guUKGZb3XSIac5aU5gemrpPvUur20BVY 2z6R8kGsWg1+yBpcxtkhQSxJaXa/x5tqwBSlIQcZDpHWSz9aRJQKIPhUBIkNH7Do3zSEe+qhG WvwuGDmxXKRqy0CiT5DkWtG8eyYg7qKA5lDXH/nJFi1BBGmJaYIS50JwU+k/1DJpICMVTW4UW EiRXle5ZpRPYHiXMN2R25ErZqsoPUwpyk0G/DqIKtl2yldI2DjMy+T2Eflb9+A0Cg8O1RTbtw kkYhT85JT0gDW4Tnpf7kEiag== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Michael Albinus writes: Hi Eshel, >> 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@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. I gave it a first try. It turns out, that "+" is a bad choice, because it doesn't belong to tramp-host-regexp. I would need to rewrite host name handling in Tramp just for that, which is not desirable. tramp-host-regexp is "[%._[:alnum:]-]+". So we could take either "%" or "_" as namespace delimiter. I've decided for "%"; a complete remote file name for kubernetes is now "/kubernetes:[CONTAINER.]POD[%NAMESPACE]:/path/to/file". It works OK acc to my basic tests. I have appended the patch; I would really appreciate if you could give it more testing in your production environment. Please sync first with the Emacs or Tramp git repo; this morning I've pushed other changes there. What's left is file name completion for namespaces. I'm undecided whether we need this in practice; let's see how it goes as-it-is. Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/lisp/tramp-container.el b/lisp/tramp-container.el index 02512e64..e211a017 100644 =2D-- a/lisp/tramp-container.el +++ b/lisp/tramp-container.el @@ -50,18 +50,14 @@ ;; ;; Open file in a Kubernetes container: ;; -;; C-x C-f /kubernetes:[CONTAINER.]POD:/path/to/file +;; C-x C-f /kubernetes:[CONTAINER.]POD[%NAMESPACE]:/path/to/file ;; ;; Where: ;; POD is the pod to connect to. ;; CONTAINER is the container to connect to (optional). ;; By default, the first container in that pod will ;; be used. -;; -;; Completion for POD and accessing it operate in the current -;; namespace, use this command to change it: -;; -;; "kubectl config set-context --current --namespace=3D" +;; NAMESPACE is the namespace to be used (optional). ;; ;; ;; @@ -152,7 +148,9 @@ If it is nil, the default context will be used." (string))) (defcustom tramp-kubernetes-namespace "default" - "Namespace of Kubernetes." + "Namespace of Kubernetes. +If it is nil, the current namespace will be used. An explicit NAMESPACE +in the remote file name host part will override it." :group 'tramp :version "30.1" :type 'string) @@ -324,10 +322,18 @@ see its function help for a description of the forma= t." (push (concat elt "." (car line)) names))) (mapcar (lambda (name) (list nil name)) (delq nil names)))))) +;; +;; `lower' could also match non-ascii letters. But since this regexp +;; is only used for strings matching `tramp-host-regexp', this doesn't +;; hurt. +(defconst tramp-kubernetes--name-regexp (rx (** 1 63 (any lower digit "-"= ))) + "Regexp matching kubernetes names.") + (defconst tramp-kubernetes--host-name-regexp - (rx (? (group (regexp tramp-host-regexp)) ".") - (group (regexp tramp-host-regexp))) - "The CONTAINER.POD syntax of kubernetes host names in Tramp.") + (rx bos (? (group (regexp tramp-kubernetes--name-regexp)) ".") + (group (regexp tramp-kubernetes--name-regexp)) + (? "%" (group (regexp tramp-kubernetes--name-regexp))) eos) + "The CONTAINER.POD%NAMESPACE syntax of kubernetes host names in Tramp."= ) ;;;###tramp-autoload (defun tramp-kubernetes--container (vec) @@ -345,6 +351,15 @@ see its function help for a description of the format= ." (match-string 2 host))) "")) +;;;###tramp-autoload +(defun tramp-kubernetes--namespace (vec) + "Extract the namespace from a kubernetes host name in VEC." + (or (when-let ((_ vec) + (host (tramp-file-name-host vec))) + (and (string-match tramp-kubernetes--host-name-regexp host) + (match-string 3 host))) + tramp-kubernetes-namespace "")) + ;; We must change `vec' and `default-directory' to the previous hop, ;; in order to run `process-file' in a proper environment. (defmacro tramp-skeleton-kubernetes-vector (vec &rest body) @@ -400,8 +415,8 @@ Obey `tramp-kubernetes-context'" #'identity `(,(when-let ((context (tramp-kubernetes--current-context vec))) (format "--context=3D%s" context)) - ,(when tramp-kubernetes-namespace - (format "--namespace=3D%s" tramp-kubernetes-namespace))) + ,(when-let ((namespace (tramp-kubernetes--namespace vec))) + (format "--namespace=3D%s" namespace))) " ")) ;;;###tramp-autoload @@ -617,9 +632,9 @@ see its function help for a description of the format.= " ;; This variable will be eval'ed in `tramp-expand-args'. (tramp-extra-expand-args . (?a (tramp-kubernetes--container (car tramp-current-connection)) - ?h (tramp-kubernetes--pod (car tramp-current-connection)) - ?x (tramp-kubernetes--context-namespace - (car tramp-current-connection))))) + ?h (tramp-kubernetes--pod (car tramp-current-connection)) + ?x (tramp-kubernetes--context-namespace + (car tramp-current-connection))))) "Default connection-local variables for remote kubernetes connections.= ") (connection-local-set-profile-variables --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 24 13:30:41 2024 Received: (at 59797) by debbugs.gnu.org; 24 Jul 2024 17:30:41 +0000 Received: from localhost ([127.0.0.1]:34417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWfp2-00064G-NK for submit@debbugs.gnu.org; Wed, 24 Jul 2024 13:30:41 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:33542 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWfp0-000647-QC for 59797@debbugs.gnu.org; Wed, 24 Jul 2024 13:30:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721842232; bh=l/gEilh7RZVstBgjYxI5xskB5Zz8Ot5sEL4itoV86nI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fupLG+5NlamXodlKmSh4a2Ei1h88OfNVvU06MX2CX3rfWMYUoLjKY4+4nTwkrBveS FxMKn0JClHMV/7fkmtZQpSUS6auWNyu1AC3TaJCBNh/Zp21cZXmFZHtT6yfJCDvlXW hFmSCIZvQuZ3q3JGbzHVsd3ephyeJc4X2n+eeyHrXyOTH6B+pU9O6zG1Ird5SMc5Ep fYxPzbgumhweisWqKgmdlENKnPbfLmLyzvM65DZCBTPbYUTS9Ij901W4Y5R7YnRiVi g+hSRDjV0VXbjC0aJ8QXSFomB8b4LpXS1S6iInqhb76eLD+N3FczuiFDHCTNSRDvRO aqRohyUIgoO5g== From: Eshel Yaron To: Michael Albinus Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87plr2ka7v.fsf@gmx.de> (Michael Albinus's message of "Wed, 24 Jul 2024 18:48:04 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> <87plr4nqmh.fsf@gmx.de> <87plr2ka7v.fsf@gmx.de> Date: Wed, 24 Jul 2024 19:30:29 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Michael, Michael Albinus writes: > I gave it a first try. It turns out, that "+" is a bad choice, because > it doesn't belong to tramp-host-regexp. I would need to rewrite host > name handling in Tramp just for that, which is not desirable. > > tramp-host-regexp is "[%._[:alnum:]-]+". So we could take either "%" or > "_" as namespace delimiter. I've decided for "%"; a complete remote file > name for kubernetes is now "/kubernetes:[CONTAINER.]POD[%NAMESPACE]:/path/to/file". Makes sense. Thank you for tackling it so promptly! > It works OK acc to my basic tests. I have appended the patch; I would > really appreciate if you could give it more testing in your production > environment. Please sync first with the Emacs or Tramp git repo; this > morning I've pushed other changes there. >From a quick test, this mostly works fine. There's one issue (typo?) in tramp-kubernetes--namespace that causes a regression when there's no explicit namespace and tramp-kubernetes-namespace is nil, it returns an empty string instead of nil. > What's left is file name completion for namespaces. I'm undecided > whether we need this in practice; let's see how it goes as-it-is. It's not very crucial for me, FWIW. Cheers, Eshel From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 04:21:06 2024 Received: (at 59797) by debbugs.gnu.org; 25 Jul 2024 08:21:06 +0000 Received: from localhost ([127.0.0.1]:35497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWtik-00011x-8D for submit@debbugs.gnu.org; Thu, 25 Jul 2024 04:21:06 -0400 Received: from mout.gmx.net ([212.227.15.15]:53583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWtih-00011L-JT for 59797@debbugs.gnu.org; Thu, 25 Jul 2024 04:21:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721895643; x=1722500443; i=michael.albinus@gmx.de; bh=yM4VbIWCPLXgMNhZW3BQOPwyDtw5Oalh7BD0I4G0PEs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=NpIXV3R/gkMfKh71l76YsBeF43iQGX+V8vAH4nHuPREbh+rnM2TquJX1UHVPgiZN o5Sav0vqrax6JWXEyaWKaRqLMzFchQcWjwN83DawtXteG6uEBn+QLmplrAJdABF5H EvbX5qeCKjIOcv1QId8eKBHfNxVskZs0NOT0ph2TffSIYb/Z7Patq3MTODZ+mrB9d xoxXD0gfGr811TL2s4SzHF7MvqoEClwkF6BmAxj/yhbsRoI2PmfdNdZQUZE5g3db/ k2irDe1bUnZ4aFW/iR2Qzb6N5fi+GLPI6ZCZxP0GoboZWmCsv2r/rBPnpbjgGPu6s nZWP+2UOeW6uINp45A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWRRZ-1sm8FV43VD-00RY4q; Thu, 25 Jul 2024 10:20:43 +0200 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Eshel Yaron's message of "Wed, 24 Jul 2024 19:30:29 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> <87plr4nqmh.fsf@gmx.de> <87plr2ka7v.fsf@gmx.de> Date: Thu, 25 Jul 2024 10:20:40 +0200 Message-ID: <87ed7hkhlz.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:yBHYkBPLcYx9Z0ptHmy68MEECQ8Ll5cFtBTD8SVWKtosiHAlGHF cJG6OFn/xKPqztxOTPW+9l2P3Ix9P77w+QQFa8QNXyMAWb3S+VVLACCwfcu05LXWLThWRr7 HPD1IDrlXsYBhaNBiQNc6+ZBTyOBE7+H6ubaVArX+XSfcj+zEyxVt4KiVkqEVn95NSdLLzY jLjVZxJdvIFz+7roQr5iw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:uNebUgQl6bo=;IqPpxSVdO0Prf8WKq9iqpQ3vYiF /iZRkCGnd/zy8F6dSIQfjHga/hLPacL2KqzmR7oTFeX1D4MPHLLj2fpNtMi+zRESm684a2niQ /OodHVlqGYKpPh0CO+vwMmVYw03DUtNQw+eQDuNWOJY3n5TUgwUsl+PwZy3moxjHChFbtjmS6 QcXqX7tZz56gQn2EMQQtKBQjivAxQzAqjoJtBunqbYEI6bSCRIblQKE+b/YSF87ptZoyAikQ1 i4qhD3PBD73BXKTVYXpwet5BuswcxeFUA2fmB27hXiEPBPgTJYNrIBFiLnlQU2ewiAO7gjWPv 6+7RMALMF4OjoF3Ko9JfgYKySE5z1R24eF4qJmSElZ+hZpCGH3admvY+7Aav4KYvA9IpUJFBd 7B4C8sYloGhseuOLnYdQ02qRfHvjGtQVZx6e3GTTr4yRe6XMmBzMyIr/PUfG16l5WsCVGaxER nRVr43Q+VeU3hU4r/shBsdE8qCO9Sv8S1xNoUkcmszDP2i4AdWnuapJMZjNPdSeBXOJ32mnBz lYZW7EklaW4CLnkEsNf0vo3RN7y0KOGdfj/lfrxmj0bd13ptIUx+894TZdjyHdN70uMH79RTL Hq4acAKP4EWaJWjP6RRKJhT/g/IY2gLxShRrwgIn6Vvib+swSMod5HT08oGKuO9O5Vd+DBZht TCmlZk68D0kU0+XLF69jlhRVhs16tdJHsQi9X/vz5TGtjd8e4Nbb43bqeSSxTUemA641MXzQl U8J57l0Ie3GeHS78e3GElmUzZAYbUtu7I3A3qMRAyQR0MN3OIzs9OawxHVjnzZ3dUxX+pVqNz L+Qn4hY1qFt//8XW+CzB7dQw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Eshel Yaron writes: > Hi Michael, Hi Eshel, > From a quick test, this mostly works fine. There's one issue (typo?) in > tramp-kubernetes--namespace that causes a regression when there's no > explicit namespace and tramp-kubernetes-namespace is nil, it returns an > empty string instead of nil. I'fixed this, see appended revised patch. I've changed also the default value of tramp-kubernetes-namespace to nil; we shouldn't assume that everybody wants "default" as default. Could you give it a short test, please? > Cheers, > > Eshel Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/lisp/tramp-container.el b/lisp/tramp-container.el index 02512e64..bd5736e6 100644 =2D-- a/lisp/tramp-container.el +++ b/lisp/tramp-container.el @@ -50,18 +50,14 @@ ;; ;; Open file in a Kubernetes container: ;; -;; C-x C-f /kubernetes:[CONTAINER.]POD:/path/to/file +;; C-x C-f /kubernetes:[CONTAINER.]POD[%NAMESPACE]:/path/to/file ;; ;; Where: ;; POD is the pod to connect to. ;; CONTAINER is the container to connect to (optional). ;; By default, the first container in that pod will ;; be used. -;; -;; Completion for POD and accessing it operate in the current -;; namespace, use this command to change it: -;; -;; "kubectl config set-context --current --namespace=3D" +;; NAMESPACE is the namespace to be used (optional). ;; ;; ;; @@ -151,10 +147,12 @@ If it is nil, the default context will be used." :type '(choice (const :tag "Use default" nil) (string))) -(defcustom tramp-kubernetes-namespace "default" - "Namespace of Kubernetes." +(defcustom tramp-kubernetes-namespace nil + "Namespace of Kubernetes. +If it is nil, the current namespace will be used. An explicit NAMESPACE +in the remote file name host part will override it." :group 'tramp - :version "30.1" + :version "31.1" :type 'string) ;;;###tramp-autoload @@ -324,10 +322,18 @@ see its function help for a description of the forma= t." (push (concat elt "." (car line)) names))) (mapcar (lambda (name) (list nil name)) (delq nil names)))))) +;; +;; `lower' could also match non-ascii letters. But since this regexp +;; is only used for strings matching `tramp-host-regexp', this doesn't +;; hurt. +(defconst tramp-kubernetes--name-regexp (rx (** 1 63 (any lower digit "-"= ))) + "Regexp matching kubernetes names.") + (defconst tramp-kubernetes--host-name-regexp - (rx (? (group (regexp tramp-host-regexp)) ".") - (group (regexp tramp-host-regexp))) - "The CONTAINER.POD syntax of kubernetes host names in Tramp.") + (rx bos (? (group (regexp tramp-kubernetes--name-regexp)) ".") + (group (regexp tramp-kubernetes--name-regexp)) + (? "%" (group (regexp tramp-kubernetes--name-regexp))) eos) + "The CONTAINER.POD%NAMESPACE syntax of kubernetes host names in Tramp."= ) ;;;###tramp-autoload (defun tramp-kubernetes--container (vec) @@ -345,6 +351,16 @@ see its function help for a description of the format= ." (match-string 2 host))) "")) +;;;###tramp-autoload +(defun tramp-kubernetes--namespace (vec) + "Extract the namespace from a kubernetes host name in VEC. +Use `tramp-kubernetes-namespace' otherwise." + (or (when-let ((_ vec) + (host (tramp-file-name-host vec))) + (and (string-match tramp-kubernetes--host-name-regexp host) + (match-string 3 host))) + tramp-kubernetes-namespace)) + ;; We must change `vec' and `default-directory' to the previous hop, ;; in order to run `process-file' in a proper environment. (defmacro tramp-skeleton-kubernetes-vector (vec &rest body) @@ -355,6 +371,11 @@ BODY is the backend specific code." (cond ((null ,vec) tramp-null-hop) ((equal (tramp-file-name-method ,vec) tramp-kubernetes-method) + ;; Sanity check. We don't support `user' or `port' in + ;; kubernetes file names. + (when (or (tramp-file-name-user-domain ,vec) + (tramp-file-name-port ,vec)) + (tramp-user-error ,vec "Wrong kubernetes file name syntax")) (if (tramp-file-name-hop ,vec) (tramp-dissect-hop-name (tramp-file-name-hop ,vec)) tramp-null-hop)) @@ -400,8 +421,8 @@ Obey `tramp-kubernetes-context'" #'identity `(,(when-let ((context (tramp-kubernetes--current-context vec))) (format "--context=3D%s" context)) - ,(when tramp-kubernetes-namespace - (format "--namespace=3D%s" tramp-kubernetes-namespace))) + ,(when-let ((namespace (tramp-kubernetes--namespace vec))) + (format "--namespace=3D%s" namespace))) " ")) ;;;###tramp-autoload @@ -617,9 +638,9 @@ see its function help for a description of the format.= " ;; This variable will be eval'ed in `tramp-expand-args'. (tramp-extra-expand-args . (?a (tramp-kubernetes--container (car tramp-current-connection)) - ?h (tramp-kubernetes--pod (car tramp-current-connection)) - ?x (tramp-kubernetes--context-namespace - (car tramp-current-connection))))) + ?h (tramp-kubernetes--pod (car tramp-current-connection)) + ?x (tramp-kubernetes--context-namespace + (car tramp-current-connection))))) "Default connection-local variables for remote kubernetes connections.= ") (connection-local-set-profile-variables --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 06:48:55 2024 Received: (at 59797) by debbugs.gnu.org; 25 Jul 2024 10:48:55 +0000 Received: from localhost ([127.0.0.1]:35592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWw1m-0007kZ-SF for submit@debbugs.gnu.org; Thu, 25 Jul 2024 06:48:55 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:60736 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWw1k-0007kQ-Mu for 59797@debbugs.gnu.org; Thu, 25 Jul 2024 06:48:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721904524; bh=oZ6F2U293LDRQ+dCEddhJ+F5UWdd/9WroMgJcff4Q8Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SEvvwHRuCR0NWGloR9R7+d54AiMTod+otLKmahjGJz9jcjRQ+3VUjDSk/QA1uDwSM nrpqMug3DhmfAsf0Yvk+NRFj4+e6JD4riIwn3siMv3U8g0cvP63rXzE0aFdfYZX7kP 8snakRLeFnCE2l9JIkpowQmGHIy/Rw9Otgtjla8bQDaD/7yslkECkVm7Zd10rdDW4N AP0UOImdEjrgll4Ils+VHbefWzx7FImIIsTZJWGbPSscjdtlGLZvzHGPKNv5ApZeWA OCykR2b5+uAnO180+ZDP9ZmYLLMgOXJ0vz1sSBhLMsiPLfVFyO226GChWeKsTEVF2C SUMDhr2i01iAA== From: Eshel Yaron To: Michael Albinus Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: <87ed7hkhlz.fsf@gmx.de> (Michael Albinus's message of "Thu, 25 Jul 2024 10:20:40 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> <87plr4nqmh.fsf@gmx.de> <87plr2ka7v.fsf@gmx.de> <87ed7hkhlz.fsf@gmx.de> Date: Thu, 25 Jul 2024 12:48:42 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59797 Cc: Aaron Gonzales , 59797@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Albinus writes: > I'fixed this, see appended revised patch. I've changed also the default > value of tramp-kubernetes-namespace to nil; we shouldn't assume that > everybody wants "default" as default. Looks good. (I think the custom type of tramp-kubernetes-namespace may need updating because it currently only permits string values.) > Could you give it a short test, please? I tried it with Dired, M-x shell, C-x C-f, remote file name completion, everything seems to work well! Thanks, Eshel From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 07:42:26 2024 Received: (at 59797-done) by debbugs.gnu.org; 25 Jul 2024 11:42:26 +0000 Received: from localhost ([127.0.0.1]:35636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWwra-0003Up-9f for submit@debbugs.gnu.org; Thu, 25 Jul 2024 07:42:26 -0400 Received: from mout.gmx.net ([212.227.15.18]:38467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWwrX-0003UY-EL for 59797-done@debbugs.gnu.org; Thu, 25 Jul 2024 07:42:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721907725; x=1722512525; i=michael.albinus@gmx.de; bh=+jLibX3HuIl70xY83vvLlFw53H1XAX6YP5yRgdu/K8Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=l2I0PWqgpufOH4SccKW4yKlPB0qVmu9xtaJddBJoxIeittZmaEubU+wmg07u9ytj wyOa/pnBP0s83siYd9PPsmCW7vkD3It6JwxDJW1osbNWmAO2ej0hDNIIKwj/fWaeB 6gjWZU3fNqUaS7NYyUbWiDqAAhwilQPPiMrox3laAyC7jZtk1JA0uJhnhy3nYkGTb un5BY7gSpCNpMjBApVWKcFePY/W36r+xmClMUrfxtkLJmH3ZfopAVeeW5nNrgFjFR 5syNkgAjd00W5QChgiIjeyzBkZWkOmMJtDRY6UwSzfrL4St6Coo2it++GO+cOOoO2 qdkj8NRqLPjZ5MZeyA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfJd-1sIZlb3qs3-00vMYJ; Thu, 25 Jul 2024 13:42:05 +0200 From: Michael Albinus To: Eshel Yaron Subject: Re: bug#59797: 30.0.50; [wishlist] Using namespaces in Tramp's kubernetes integration In-Reply-To: (Eshel Yaron's message of "Thu, 25 Jul 2024 12:48:42 +0200") References: <87wn78lu7n.fsf@gmx.de> <874ju96e2g.fsf@gmx.de> <87bkogr2e5.fsf@gmx.de> <87y1kaq7ty.fsf@gmx.de> <87ttggnvf5.fsf@gmx.de> <87plr4nqmh.fsf@gmx.de> <87plr2ka7v.fsf@gmx.de> <87ed7hkhlz.fsf@gmx.de> Date: Thu, 25 Jul 2024 13:42:04 +0200 Message-ID: <87a5i5k8ab.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:uI8hciRBbhk7mFVOjiGq4SFtvu0ly0tgBhEHVuWZphivG6eHL0L TvA2h2l9rnYpZSXNAztG1C/5H7r8dHuvNzVNeOBsdP/aDdahyyYd9VgBzFLPbQSKxY3hHqA G8fb9b+fQRZITOACDkqEB67jhOgWUkwEP8Y8f3CdyZ94ym9gC8kP83QdqskZaYW5C0X+iBf fPGppGHFQ7BscqYCCIEHA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:RjroHxEs8UE=;HWPHZ2m9kdFllh22dNlyLT+AOPH Uy3Hpj6I09YSN0Gqq7+wenxYcufLYSjZRJ+DatXBXgWfKog0H7c88CZHcPfkiAcOZXSkhazcN X8VdjSDZ5V56PchST6Z4s8fW4nvE6LF4ZAczC00fY6VNsHkFlhr89V4s+gianRqmm6To5wC71 PmGBxpZmSNbILe3mIiumRs++498yfOGboIAkFIfyB4GSmRn+hn5903cpVJfbPgvZHRtWPwuKU 7yScxM73O7uR+PmI4qGXj6z9Zd04woMn0Kb6ei+XNewPfnn9fRVbwXqwgnq1XrPVItJWT8FRj 2FQOp6wNLnNu7W7nKt1yCmu4Bf36LkWiSd7/AeydLREkso1yn2Wsr+34dGPCG2cw3FzA6IjBm eGCqSZe6q8b1QgtFyWXT41bKE/xvHvshrVg7qYIxJikBf+RiDuo8K41C0UE9khRAVtrrxX641 /0Ed16XXhURFLjXw/9GGZFEtXvlfBtCMaFsZ1B824vhQMBdW9+1N4PsHl7kFetcIzvhK+dKr+ zq1khXIpYq8RoO0FpmJKnlBiILotw2ALWbm0IcleS2sW5c/xkJ9wNwPqIh3IzZjZ38xla2Qs5 uL+Gzjiv6tw2Pgj3naCVt+5L7W+UrSfY8Kdf0BaIn8j2aWxC6cEuHyHut6G9rG36pgWCdMxzE NlSIvTbrAals7kfP5ck2I/JYc9MMoAsEOZ/aucE75Lo6Gcoe07GfiB7Jjc/h+WJyXkaKb+pXC okvq5BZyIQAuwmJCAIf9fgxdLFoTDyrsfw+9J6QdUVzp8hXG+8nPxIcwLv7J3T4z+mGs07cwd F85EZgbRaksZwuvbGIB6cWuw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59797-done Cc: Aaron Gonzales , 59797-done@debbugs.gnu.org, Filipp Gunbin , Warren Lynn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 31.1 Eshel Yaron writes: Hi Eshel, > Looks good. (I think the custom type of tramp-kubernetes-namespace may > need updating because it currently only permits string values.) Good catch! I've fixed this. > I tried it with Dired, M-x shell, C-x C-f, remote file name completion, > everything seems to work well! Thanks for the tests! I've pushed the patch to both Emacs and Tramp git repositories, closing the bug. > Thanks, > > Eshel Best regards, Michael. From unknown Sun Jun 22 11:38:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Aug 2024 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator