Code Monkey home page Code Monkey logo

kube-plugins's Introduction

kube-plugins

a repository for plugins and scripts for kubernetes

Pre-requisites

  • kubectl >= 1.12.x
  • tmux >= 2.1 (Tmux is a terminal multiplexer that helps in creating multiple terminals.)

Installation

USAGE

  • TO use as K8S Plugin, name convention is kubectl-plugin name-argument. Follow https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/ for more detail.
  • Copy the plugin script to /usr/local/bin/
  • Follow naming convention as per the kubectl-plugins document mentioned above.
  • Run below command to see available plugins
# run command and if kmux is not listed as plugins, follow below.

$ kubectl plugin list

# install plugin as recommended.

cd kube-plugins

cp -p kmux/kmux /usr/local/bin/kubectl-kmux

cp -p krawl/krawl /usr/local/bin/kubectl-krawl

# run list command again to see if your plugin is listed.

$ kubectl plugin list

The following compatible plugins are available:

/usr/local/bin/kubectl-krawl

/usr/local/bin/kubectl-kmux

  • Execute
$ kubectl krawl

---------------------------------------------------------------------------------
  Krawl is a command line utility to scan pods and prints name of errored pods
+and containers within. To use it as kubernetes plugin, please check their page
=================================================================================
NAMESPACE    |POD_NAME                     |CONTAINER_NAME      |ERRORS
---------    |--------                     |--------------      |------
kube-system  |kube-addon-manager-minikube  |kube-addon-manager  |3

  • To use as utility script, use as is.
$ krawl

---------------------------------------------------------------------------------
  Krawl is a command line utility to scan pods and prints name of errored pods
+and containers within. To use it as kubernetes plugin, please check their page
=================================================================================
NAMESPACE    |POD_NAME                     |CONTAINER_NAME      |ERRORS
---------    |--------                     |--------------      |------
kube-system  |kube-addon-manager-minikube  |kube-addon-manager  |3

kube-plugins's People

Contributors

abhitamrakar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.