All Projects → emirozer → Kubectl Doctor

emirozer / Kubectl Doctor

Licence: apache-2.0
kubectl cluster triage plugin for k8s - 🏥 (brew doctor equivalent)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Kubectl Doctor

Metalk8s
An opinionated Kubernetes distribution with a focus on long-term on-prem deployments
Stars: ✭ 217 (+3.83%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment, kubernetes-monitoring
terraform-vultr-condor
Kubernetes Deployment Tool for Vultr
Stars: ✭ 60 (-71.29%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Ops Cli
Ops - cli wrapper for Terraform, Ansible, Helmfile and SSH for cloud automation
Stars: ✭ 152 (-27.27%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Sonobuoy
Sonobuoy is a diagnostic tool that makes it easier to understand the state of a Kubernetes cluster by running a set of Kubernetes conformance tests and other plugins in an accessible and non-destructive manner.
Stars: ✭ 2,442 (+1068.42%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
GPU-Kubernetes-Guide
How to setup a production-grade Kubernetes GPU cluster on Paperspace in 10 minutes for $10
Stars: ✭ 34 (-83.73%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
k3s-on-prem-production
Playbooks needed to set up an on-premises K3s cluster and securize it
Stars: ✭ 108 (-48.33%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
k8s-day2-ops
This repository contain scripts for Kubernetes day 2 operations
Stars: ✭ 25 (-88.04%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
spring-cloud-microservices-on-kubernetes
My Best Practices in development and deployment of Spring Cloud Microservices on Kubernetes.
Stars: ✭ 19 (-90.91%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Eksctl
The official CLI for Amazon EKS
Stars: ✭ 3,550 (+1598.56%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Kubekey
Provides a flexible, rapid and convenient way to install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons. It is also an efficient tool to scale and upgrade your cluster.
Stars: ✭ 288 (+37.8%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Kubernetes Workshop
⚙️ A Gentle introduction to Kubernetes with more than just the basics. 🌟 Give it a star if you like it.
Stars: ✭ 3,122 (+1393.78%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
bulletinApi
Bulletin board scalable API
Stars: ✭ 35 (-83.25%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
eks-anywhere
Run Amazon EKS on your own infrastructure 🚀
Stars: ✭ 1,633 (+681.34%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
ansible-role-k8s
This role render an arbitrary number of Jinja2 templates and deploys or removes them to/from Kubernetes clusters.
Stars: ✭ 26 (-87.56%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
KubeScrape
KubeScrape: An open-source dev tool that provides an intuitive way to view the health, structure, and live metrics of your Kubernetes cluster
Stars: ✭ 133 (-36.36%)
Mutual labels:  kubernetes-cluster, kubernetes-monitoring
kuberbs
K8s deployment rollback system based on system observability principles of modern stacks
Stars: ✭ 61 (-70.81%)
Mutual labels:  kubernetes-monitoring, kubernetes-deployment
Spekt8
Visualize your Kubernetes cluster in real time
Stars: ✭ 545 (+160.77%)
Mutual labels:  kubernetes-cluster, kubernetes-monitoring
kubernetes-starterkit
A launchpad for developers to learn Kubernetes from scratch and deployment of microservices on a kubernetes cluster.
Stars: ✭ 39 (-81.34%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
ansible-role-rke2
Ansible Role to install RKE2 Kubernetes.
Stars: ✭ 118 (-43.54%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Kubernetes Tutorial
Running Kubernetes cluster Locally tutorial
Stars: ✭ 257 (+22.97%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment

Kubernetes CLI Plugin - Doctor

This plugin is inspired from brew doctor :) It will scan your currently targeted k8s cluster to see if there are anomalies or useful action points that it can report back to you.

This plugin does not change any state or configuration, it merely just scans and gathers information than reports back anomalies in yaml format.

Demo

Install

  1. Download a zip that contains the binary from releases that is compatible with your os/arch
  2. Unzip to get kubectl-doctor (or kubectl-doctor.exe if windows)
  3. Add it to your PATH

Usage

When the plugin binary is found from PATH you can just execute it through kubectl CLI

kubectl doctor

Current list of anomaly checks

  • core component health (etcd cluster members, scheduler, controller-manager)
  • orphan endpoints (endpoints with no ipv4 attached)
  • persistent-volume available & unclaimed
  • persistent-volume-claim in lost state
  • k8s nodes that are not in ready state
  • orphan replicasets (desired number of replicas are bigger than 0 but the available replicas are 0)
  • leftover replicasets (desired number of replicas and the available # of replicas are 0)
  • orphan deployments (desired number of replicas are bigger than 0 but the available replicas are 0)
  • leftover deployments (desired number of replicas and the available # of replicas are 0)
  • leftover cronjobs (last active date is more than 30 days)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].