Skip to content

thobiast/kubectl-plugins

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

kubectl-plugins

It is a set of kubectl plugins. It has been tested with Openshift.

Plugins:

  • alertmanager_conf Plugin for showing alertmanager config file (namespace: openshift-monitoring)
  • egressnetworkpolicy plugin for showing egressnetworkpolicy for all namespaces
  • nodeslabel Plugin for showing nodes label
  • podevent Plugin for showing pods' event
  • podinfo Plugin for showing pod information
  • route_whitelist Plugin for showing route haproxy ip_whitelist

Install

[ -d ~/.kube/plugins ] || git clone https://github.com/thobiast/kubectl-plugins.git ~/.kube/plugins

Example

kubectl plugin demo GIF

know issues:

  • egressnetworkpolicy: This plugin only works with Openshift. There is no egressnetworkpolicy resource on Kubernetes.