Giter VIP home page Giter VIP logo

eck-glance's Introduction

eck-glance

Tool to make eck diag a bit more human readable

Install

git clone https://github.com/jlim0930/eck-glance.git

Use

Goto the extracted eck-diag and run /path/eck_1.sh for most cases.

If your workstation is able to handle it you can run /path/eck_1fast.sh it will launch all the jobs in the background and run all the subscripts at once - I tried this on multiple diags and it was super fast !!

All eck_*_1.sh scripts will give high level of the kind that you are looking at(more detailed than just kubectl get <kind>) All eck_*_2.sh will give a more descriptive and detailed view of the resource(its more like kubectl describe <kind> <resource>)

Files generated by the tool will be named eck_*.txt

In the main ECK diag directory eck_nodes.txt

In each name space any elastic related items will be eck_[elasticsearc|beat|agent|kibana|enterprisesearch/elasticmapservice]*.txt All other eck_*.txt are for kubernetes kinds

  • StatefulSets - manages elasticsearch
  • ReplicaSets - manages beats(metricbeats/etc that runs on 1 or more host)/apmserver/kibana
  • DaemonSets - manages filebeat(or anything that needs to run on all kubernetes hosts)
  • Secrets - list of secrets like passwords,certificates,etc
  • Services - list of services
  • ...

  • If you want to run individual jobs all eck_*_1.sh, scripts can be ran with eck_*_1.sh /path/file.json Example: /path/eck_beat_1.sh beat.json

  • If you want to run individual jobs for all eck_*_2.sh, scripts can be ran with eck_*_2.sh /path/proper.json resourcename Example: /path/eck_beat_2.sh beat.json filebeat

After the eck-glance runs I would start looking at eck_events.txt from the <namespace> directory, then eck_pods.txt, etc.. depending on the issue at hand.

TODO

  • Find # FIX for things to fix.
  • Validate code against different diags to ensure proper coverage
  • Find ways to remove loops
  • Find ways to make current jq queries more simple and account for various nulls

eck-glance's People

Contributors

jlim0930 avatar

Stargazers

Jihyun(Brian) Jeong avatar Austin Smith avatar Kyle McLaren avatar

Watchers

 avatar Alessandro Stoltenberg avatar

Forkers

jihyunjeongme

eck-glance's Issues

Add a license

I am not finding any license for this repo, can one be added ? Thanks

Directories with spaces

Is it possible to make it work with directories with spaces? Easiest would be to URL encode the directories.

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.