From: Eshel Yaron Date: Fri, 9 Aug 2024 16:31:43 +0000 (+0200) Subject: New post about Kubed being on GNU ELPA X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af983311baac7fec499bcc104761fb03868dc01f;p=esy-publish.git New post about Kubed being on GNU ELPA --- diff --git a/kubed b/kubed index 1047609..f65ee0e 160000 --- a/kubed +++ b/kubed @@ -1 +1 @@ -Subproject commit 1047609241d9cd830556709c14ddceacef7b92fb +Subproject commit f65ee0e44acda485e950824466b2bcf46a2ab7dc diff --git a/source/assets/kubed-multi-context.png b/source/assets/kubed-multi-context.png new file mode 100644 index 0000000..7137804 Binary files /dev/null and b/source/assets/kubed-multi-context.png differ diff --git a/source/assets/kubed-replace-diff.png b/source/assets/kubed-replace-diff.png new file mode 100644 index 0000000..6e6d07a Binary files /dev/null and b/source/assets/kubed-replace-diff.png differ diff --git a/source/posts/2024-07-31-crafting-kubectl-commands-in-style-with-kubed.org b/source/posts/2024-07-31-crafting-kubectl-commands-in-style-with-kubed.org index e19e386..e898c15 100644 --- a/source/posts/2024-07-31-crafting-kubectl-commands-in-style-with-kubed.org +++ b/source/posts/2024-07-31-crafting-kubectl-commands-in-style-with-kubed.org @@ -42,6 +42,9 @@ interface, it Just Works with any Cobra program! [[file:../assets/kubed-helm.png]] +/Note: these screenshots show my custom minibuffer completions +interface, with vanilla Emacs things look slightly different./ + You can summon ~kubed-kubectl-command~ from the menu-bar "Kubernetes" menu (enable ~kubed-menu-bar-mode~ to see that menu first), and if you have the prefix keymap ~kubed-prefix-map~ bound to e.g. ~C-c k~, then diff --git a/source/posts/2024-08-09-kubed-is-now-on-gnu-elpa.org b/source/posts/2024-08-09-kubed-is-now-on-gnu-elpa.org new file mode 100644 index 0000000..1c7b063 --- /dev/null +++ b/source/posts/2024-08-09-kubed-is-now-on-gnu-elpa.org @@ -0,0 +1,71 @@ +#+TITLE: Kubed is now on GNU ELPA +#+SUBTITLE: Some updates about my new Emacs package for Kubernetes +#+DESCRIPTION: Post by Eshel Yaron with some updates about Kubed, a new Emacs package for Kubernetes +#+KEYWORDS: emacs,kubernetes,lisp +#+DATE: 2024-08-09 + +@@html:
@@Created on [{{{date}}}], last updated [{{{modification-time(%Y-%m-%d, t)}}}]@@html:
@@ + +[[https://eshelyaron.com/kubed.html][Kubed]], my new Emacs-based Kubernetes interface, is now available from +the official Emacs package archive GNU ELPA. Some brave souls have +already taken Kubed for a spin beforehand, but having the package on +ELPA makes it easier to install and helps with discoverability for new +users. Crucially, if you pop up the packages list in vanilla Emacs +and search for "Kubernetes", you'll now see /something/. + +The current Kubed version on ELPA is 0.3.1. The main advancement in +0.3 is the ability to have multiple resource list buffers showing +resources in different namespaces or ~kubectl~ contexts. This is +similar to having multiple Dired buffers listing different directories +in your file system. For example, this lets you set up your +deployment lists side by side for two different contexts (say, ~prod~ +and ~dev~) and then restart deployments in either context by simply +switching buffers and hitting ~R~, or right-clicking in either buffer, +without having to context-switch. + +[[file:../assets/kubed-multi-context.png]] + +Version 0.3 also introduced the ability to /bookmark/ resource list +buffers and buffers that display a particular resource. This is done +by integrating with the standard Emacs bookmarks system, so it works +with the usual commands (~C-x r m~ to set a bookmark, ~C-x r b~ to +jump back to it anytime). + +The next version, 0.3.2, should be available sometimes next week. The +focus of that version is a new capability to edit and apply changes to +resource YAMLs that Kubed displays. Here's a sneak peek: + +[[file:../assets/kubed-replace-diff.png]] + +On a broader note, someone asked over on the GitHub mirror of Kubed +for a comparison of Kubed with other Emacs package for Kubernetes. +(Actually, they asked about one package in particular, ~kele~, but I +assume the request applies to other existing packages as well.) + +While Kubed provides some currently exclusive features (such as the +bookmarking integration and [[file:2024-07-31-crafting-kubectl-commands-in-style-with-kubed.org][completion support for kubectl commands]]), +perhaps the most important difference between Kubed and existing +Kubernetes packages is that Kubed is ultimately intended to be added +to Emacs core, if people find it useful and important enough. + +One of the implications of this intention is that Kubed currently does +not depend on any external package. This is certainly a +limitation---for instance, the ~with-editor~ package could help make +commands like ~kubed-edit-pod~ simpler and more robust. Another +implication is that significant contributions to Kubed's code require +copyright assignment to the FSF. + +Regardless, I think that a comparison of Kubed with its alternatives +in terms of user facing features is a great idea. For one, it could +help folks that are looking for a Kubernetes interface understand if +Kubed is the right choice for them. I'd like to add a few words about +each alternative to the project's ~README~, but the first order of +business is to complete the documentation of Kubed proper. + +In the meantime, if you're giving Kubed a try and you've got some +experience with other Kubernetes interfaces (Emacs packages like +~kubernetes.el~, ~kele~, and ~kubel~, as well as other programs like +~k9s~), I would love to hear your thoughts about the most prominent +differences. The best way to reach out is via an email to [[mailto:~eshel/kubed-devel@lists.sr.ht][the Kubed +mailing list]]; bug reports, patches and feature suggestions are very +welcome too!