Skip to content

An node.js wrapper for kubectl, to make it easier to use.

Notifications You must be signed in to change notification settings

linkeo/kubectl.js

Repository files navigation

kubectl.js

kubectl.js is an wrapper for kubectl to get better UX.

Installation

> npm i -g kubectl.js

Usage

> kubejs [op [args...]]

Operations

  • (none)
    Will ask you to choose one.

  • get namespaces | [namespace][resource-type]
    Print resources.

  • get-watch namespaces | [namespace][resource-type]
    Print resources every 1s.

  • exec [namespace][pod]
    Execute commands in a pod (bash)

  • log-history [namespace][pod]
    Print history logs of a pod.

  • log-future [namespace][pod]
    future logs of a pod.

  • mlog-future [namespace][pod-keyword]
    Print future logs of some pods.

  • help
    Print help.

Resource Types

all, deployments, endpoints, events, jobs, namespaces, nodes, pods, replicasets, services, statefulsets, storageclasses.

About

An node.js wrapper for kubectl, to make it easier to use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published