unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: emacs-devel@gnu.org, Michael.Albinus@gmx.de
Cc: bjc@spork.org, bjc@kublai.com
Subject: tramp-kubernetes
Date: Mon, 03 Oct 2022 23:30:50 +0300	[thread overview]
Message-ID: <m25yh08xad.fsf@fastmail.fm> (raw)

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

Hi,

I've seen the recently-added tramp-docker method (thanks for that!).  It
was easy to adapt that to add a method for Kubernetes.  I think this
could be a worthwhile addition, the code is attached - take if you like.

Of the things to be improved, we could add container selection (like
"kubectl exec <pod> -c <container>").  Now it offers to choose pod, and
then uses first container there (as just "kubectl exec <pod>").  This
default should usually be enough, though.

Thanks.
Filipp


[-- Attachment #2: tramp-kubernetes.el --]
[-- Type: application/emacs-lisp, Size: 3400 bytes --]

             reply	other threads:[~2022-10-03 20:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03 20:30 Filipp Gunbin [this message]
2022-10-03 22:38 ` tramp-kubernetes Filipp Gunbin
2022-10-04 14:30 ` tramp-kubernetes Michael Albinus
2022-10-04 16:50   ` tramp-kubernetes Filipp Gunbin
2022-10-04 17:35     ` tramp-kubernetes Michael Albinus
2022-10-04 17:45       ` tramp-kubernetes Brian Cully via Emacs development discussions.
2022-10-04 17:49       ` tramp-kubernetes Filipp Gunbin
2022-10-04 17:57         ` tramp-kubernetes Michael Albinus
2022-10-05  0:33           ` tramp-kubernetes Filipp Gunbin
2022-10-05 15:13             ` tramp-kubernetes Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m25yh08xad.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=Michael.Albinus@gmx.de \
    --cc=bjc@kublai.com \
    --cc=bjc@spork.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).