/k8s_mcextfs

Midnight Commander extfs for kubernetes

Primary LanguagePythonMIT LicenseMIT

Kubernetes Virtual filesystem for Midnight Commander

This is an extension to MC that shows the API object as files. The main objective is to cut down on the time spent typing kubectl commands.

  1. Kubectl contexts k8s contexts
  2. Namespaces Namespaces
  3. ConfigMaps, Deplooyents, Ingress, Pods, Replicasets, Secrets and Services k8s objects
  4. Pod status k8s objects
  5. Pod Object description
    Pod Object description

Installation

Copy k8sfs+ and k8sfs-context to

~/.local/share/mc/extfs.d

Add this:

regex/^\[k8s-context\]
	Open=%cd %p/k8sfs-context://

To the top of:

~/.config/mc/mc.ext

Usage

Execute: cd k8sfs://