Categorygithub.com/dblencowe/kubernetes-monitoring
repositorypackage
0.0.2
Repository: https://github.com/dblencowe/kubernetes-monitoring.git
Documentation: pkg.go.dev

# README

Kubernetes Monitoring Tool

This proof of concept tool can be used for quickly tracking the number of running pods within a Kubernetes cluster.

As it is proof of concept this tool currently reads your local KUBECONFIG path from an environment variable and connects to that cluster

Installation

The tool is written in Golang. To compile and run the program first install your Golang development environment and run the following commands

go build
KUBECONFIG=/Users/you/.kube/config ./kubernetes monitoring

Configuration

VariableValuesDescription
KUBECONFIG<>The path to your KUBECONFIG file
OUTPUT_FORMATjson / textOutput as JSON or Human Friendly
IN_CLUSTER"TRUE" / "FALSE"Set to false to use KUBECONFIG