kube-jarvis

module
v0.0.0-...-6b231d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more

README

kube-jarvis

Build Status codecov

kube-jarvis is a tool used to inspect kubernetes cluster

Features

  • Comprehensively check the cluster health status
  • Support a variety of cloud manufacturers
  • Highly configurable
  • Highly extensible
  • Description statements can be customized

Quick start

On any node has "/$HOME/.kube/config"

wget -O -  https://kube-jarvis-1251707795.cos.ap-guangzhou.myqcloud.com/run.sh | bash

Config struct

global:
  trans: "translation" # the translation file dir 
  lang: "en" # target lang 

cluster: 
  type: "custom"

coordinator:
  type: "default"

diagnostics:
  - type: "master-capacity"
  - type: "master-apiserver"
  - type: "node-sys"
  - type: "requests-limits"

exporters:
  - type: "stdout"

  - type: "file"
    name: "for json"
    config:
      format: "json"
      path: "result.json"


Run in docker

login any node of your cluster and exec cmd:

docker run  -i -t docker.io/raylhuang110/kube-jarvis:latest

you can found all docker images here

Run as job or cronjob

create common resource (Namespaces, ServiceAccount ...)

kubectl apply -f manifests/ 

run as job

kubectl apply -f manifests/workload/job.yaml

run as cronjob (default run at 00:00 every day)

kubectl apply -f manifests/workload/cronjob.yaml

Plugins

we call coordinator, diagnostics, evaluators and exporters as "plugins"

you can found all plugins lists here

License

Apache License 2.0 - see LICENSE.md for more details

Directories

Path Synopsis
cmd
kube-jarvis
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
pkg
httpserver
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
logger
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster/all
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster/custom
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster/custom/compexplorer
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster/custom/nodeexec
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/cluster/fake
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/coordinate
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/coordinate/all
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/coordinate/basic
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/coordinate/cron
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/all
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/args/apiserver
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/args/controller-manager
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/args/etcd
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/args/scheduler
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/capacity
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/master/components
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/node/ha
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/node/iptables
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/node/sys
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/other/example
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/hpa/ip
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/affinity
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/batch
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/ha
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/healthcheck
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/pdb
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/diagnose/resource/workload/requestslimits
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/export
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/export/all
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/export/stdout
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
plugins/export/store
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
store
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
translate
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.
util
* Tencent is pleased to support the open source community by making TKEStack * available.
* Tencent is pleased to support the open source community by making TKEStack * available.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL