랭킹으로 돌아가기

GoogleCloudPlatform/khi

Go

A log viewer for Kubernetes troubleshooting

google-cloud-platformkubernetesobservabilityvisualizerloggingtroubleshooting
스타 성장
스타
2.1k
포크
93
주간 성장
이슈
19
1k1.5k2k
2025년 1월2025년 7월2026년 1월2026년 7월
아티팩트Go Modulesgo get github.com/GoogleCloudPlatform/khi
README

Kubernetes History Inspector

Language: English | 日本語
GitHub Release PR Tests License

Kubernetes History Inspector Demo


Kubernetes History Inspector

Kubernetes History Inspector (KHI) is a rich log visualization tool for Kubernetes clusters. KHI transforms vast quantities of logs into an interactive, comprehensive timeline view. This makes it an invaluable tool for troubleshooting complex issues that span multiple components within your Kubernetes clusters. Also, KHI is agentless, allowing anyone to access its features without a complicated process.

Timeline view Topology view
Timeline view

Timeline view visualizes resource status change timings with timeline charts and manifest diffs from Kubernetes audit logs.

Topology view

Topology view visualizes relationships among Kubernetes resources, solely from kube-apiserver audit logs.

Getting started

The easiest way to try KHI is using Cloud Shell, where the metadata server is available without requiring initial credential setup.

Running in Cloud Shell

  1. Open Cloud Shell

  2. Run the following command:

    docker run -p 127.0.0.1:8080:8080 gcr.io/kubernetes-history-inspector/release:latest
    
  3. Click the link http://localhost:8080 on the terminal and start working with KHI!

Running in environment without a metadata server (Local PC, etc.)

If you want to run KHI in an environment where the metadata server is not available, you can use Application Default Credentials (ADC) by mounting your ADC file from your host filesystem to the container.

For Linux, MacOS or WSL

gcloud auth application-default login
docker run \
 -p 127.0.0.1:8080:8080 \
 -v ~/.config/gcloud/application_default_credentials.json:/root/.config/gcloud/application_default_credentials.json:ro \
 gcr.io/kubernetes-history-inspector/release:latest

For Windows PowerShell

gcloud auth application-default login
docker run `
-p 127.0.0.1:8080:8080 `
-v $env:APPDATA\gcloud\application_default_credentials.json:/root/.config/gcloud/application_default_credentials.json:ro `
gcr.io/kubernetes-history-inspector/release:latest

Supported Products & Environments

Kubernetes cluster

Logging backend

  • Google Cloud

    • Cloud Logging (For all clusters on Google Cloud)
  • Other

Supported environment

  • Latest Google Chrome
  • docker command

[!IMPORTANT] We only test KHI on the latest version of Google Chrome. KHI may work with other browsers, but we do not provide support if it does not.

Environment Setup Guide

Google Cloud

Read Google Cloud Permissions & Configuration Guide.

OSS Kubernetes

Read Using KHI with OSS Kubernetes Clusters - Example with Loki.

User Guide

Read user guide.

Development Contribution Guide

If you'd like to contribute to the project KHI, read Contribution Guide and then follow Development Guide

Disclaimer

Please note that this tool is not an officially supported Google Cloud product. If you find any issues and have a feature request, file a Github issue on this repository and we are happy to check them on best-effort basis.

[!IMPORTANT] Do not expose KHI port on the internet. KHI itself is not providing any authentication or authorization features and KHI is intended to be accessed from its local user.

관련 저장소
firebase/functions-samples

Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase

JavaScriptnpmApache License 2.0faasfaas-platform
firebase.google.com/docs/functions
12.2k3.8k
aquasecurity/tfsec

Tfsec is now part of Trivy

GoGo ModulesMIT Licenseterraformsecurity
aquasecurity.github.io/trivy/
7k555
priyankavergadia/GCPSketchnote

If you are looking to become a Google Cloud Engineer , then you are at the right place. GCPSketchnote is series where I share Google Cloud concepts in quick and easy to learn format.

Othergcpsketchnotes
5.1k894
cloudcommunity/Cloud-Free-Tier-Comparison

Comparing the free tier offers of the major cloud providers like AWS, Azure, GCP, Oracle etc.

MIT Licensecloudcloud-computing
cloudstudy.net
4.4k286
sathishvj/awesome-gcp-certifications

Google Cloud Platform Certification resources.

MIT Licensegoogle-cloud-platformcertification
4.4k1.5k
GoogleCloudPlatform/professional-services

Common solutions and tools developed by Google Cloud's Professional Services team. This repository and its contents are not an officially supported Google product.

PythonPyPIApache License 2.0google-cloud-platformgoogle-cloud-dataflow
3k1.5k
GoogleCloudPlatform/asl-ml-immersion

Notebooks, code samples and reference for machine learning and generative ai on Google Cloud for the Advanced Solutions Lab (ASL) bootcamps.

Jupyter NotebookApache License 2.0google-cloud-platformmachine-learning
2.6k1.5k
cycloidio/terracognita

Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration

GoGo ModulesMIT Licensedevops-toolsterraform
2.4k171
google-github-actions/run-gemini-cli

A GitHub Action invoking the Gemini CLI.

TypeScriptnpmApache License 2.0actionsai
github.com/google-gemini/gemini-cli
2k272
google-github-actions/setup-gcloud

A GitHub Action for installing and configuring the gcloud CLI.

TypeScriptnpmApache License 2.0gcpgoogle-cloud-platform
cloud.google.com/sdk/docs
1.9k532
GoogleCloudPlatform/cloud-builders

Builder images and examples commonly used for Google Cloud Build

GoGo ModulesApache License 2.0google-cloud-platformgoogle-containers
cloud.google.com/cloud-build/
1.5k615
GoogleCloudPlatform/cloud-sql-proxy

A utility for connecting securely to your Cloud SQL instances

GoGo ModulesApache License 2.0cloud-sql-proxycloud-sql
1.4k354