takaishi / kelm

Interactive kubernetes operator like a peco and Emacs helm.

Home Page:https://github.com/takaishi/kelm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kelm

Go Report Card MIT License

Interactive kubernetes operator like a peco and Emacs helm.

Install

$ brew tap takaishi/homebrew-fomulas
$ brew install kelm

Usage

$ kelm

Custom Action

You can write custom action to ~/.kelm.

For example:

---
actions:
  pods:
    - name: "log"
      command:  "kubectl -n {{ .Namespace }} log {{ .Obj.metadata.name }}"
  nodes:
    - name: "ssh"
      variables:
        - name: address
          jsonpath: '{.status.addresses[?(@.type=="InternalIP")].address}'
      command: 'ssh {{ .address }}'

Author

r_takaishi

About

Interactive kubernetes operator like a peco and Emacs helm.

https://github.com/takaishi/kelm

License:MIT License


Languages

Language:Go 91.5%Language:Makefile 8.5%