Coder Social home page Coder Social logo

rbac-slicer's Introduction

RBAC Slicer

Get some kind of summary info for roles deployed into a large cluster. Large clusters can get a very chaotic and huge collection of rbacs. This tool gathers gerenal summaries of the situation.

This is a demo that is useful, but needs more work.

Example Data

verbs sorted by apigroup

  • admissionregistration.k8s.io/v1 * 1
  • apiextensions.k8s.io * 1
  • apiextensions.k8s.io get,list,watch,delete 37
  • app.k8s.io * 2
  • apps * 13
  • apps get 7
  • apps get,list,watch 1
  • apps get,watch,update,list,create,delete 1
  • apps get,watch,update,list,create,delete,patch 2
  • apps,extensions get,list,watch 1

resources from the various apigroups sorted by count

  • core configmaps 66
  • policy podsecuritypolicies 45
  • core events 44
  • apiextensions.k8s.io customresourcedefinitions 38
  • core secrets 36
  • core pods 28
  • getambassador.io * 22

Usage

Usage of ./rbac-slicer:
  -c    sort the results by count
  -kubeconfig value
        the path to the kubeconfig
  -l string
        a label selector to filter the results

rbac-slicer's People

Contributors

xmcqueen avatar

Watchers

 avatar  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.