Home / gke-labs / kube-agents · agents/platform/skills/kube-agents-observability/SKILL.md · GitHub

kube-agents-observability skillB

kube-agents-observability is agent-read markdown (skill) from gke-labs/kube-agents: Audit, monitor, and debug the logging, tracing, metrics, and API/dashboard observability of the Platform Agent..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Task

Audit, verify, and troubleshoot the logging, metrics, and distributed tracing observability of the Platform Agent.

> [!TIP]
> The provided Python scripts in the `scripts/` subdirectory are parameterized reference implementations. When troubleshooting, you can run them directly, customize their parameters, or write custom just-in-time scripts/commands to query more specific metrics, endpoints, or time ranges as required by the task context.

# Workflow

## Logging

### 1. Audit Agent Main Logs

- Verify that the main agent container is writing logs to `/opt/data/logs/*.log`.
- View the internal agent log files directly:
  ```bash
  kubectl exec <pod-name> -c <agent-container-name> -n kubeagents-system -- tail -n 100 /opt/data/logs/agent.log
  ```

### 2. Inspect Sidecar Log Aggregator (Fluent-bit)

- Verify the `fluent-bit` sidecar container tails the log directory and streams to standard output:
  ```bash
  kubectl logs <pod-name> -c fluent-bit -n kubeagents-system --tail=100
  ```
- Retrieve and verify the configuration of the Fluent-bit sidecar:
  ```bash
  kubectl get configmap <agent-name>-fluent-bit-config -n kubeagents-system -o yaml
  ```
…

Read the whole file at its exact version.

How to install

Latest version
mdr add gke-labs/kube-agents/kube-agents-observability@git:20260915.90f2b62
Exact content
mdr add gke-labs/kube-agents/kube-agents-observability@sha256:8adc1d7cfd5bed9c

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jdht3tnv6ifnkorv.svg)](https://markdownregistry.com/a/art_jdht3tnv6ifnkorv)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260915.90f2b62 latest2026-09-15 90f2b62 9,660 BB view · diff
git:20260910.211a62b2026-09-10 211a62b 9,004 BA view · diff
git:20260825.1795ec92026-08-25 1795ec9 8,912 BA view · diff
git:20260812.8e8a46c2026-08-12 8e8a46c 8,170 BA view · diff
git:20260812.e7192e62026-08-12 e7192e6 8,073 BA view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1:9119)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9660 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Source

GitHub

gke-labs/kube-agents · 64 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jdht3tnv6ifnkorv
GET https://markdownregistry.com/api/v1/resolve?ref=gke-labs/kube-agents/kube-agents-observability
GET https://markdownregistry.com/api/v1/blob/8adc1d7cfd5bed9cd9b8277984ed8a6ad9300be6f10b8ef9cb2d5824ff028092

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from gke-labs/kube-agents

install-kube-agents skill
gke-labs/kube-agents · .agents/skills/install-kube-agents/SKILL.md · Provision and install the Kubernetes Agentic Harness (kube-agents) onto a GKE cluster non-interactively or…
git:20260923.b7399af · audit B · 64 stars
review-adversarial skill
gke-labs/kube-agents · .agents/skills/review-adversarial/SKILL.md · Reviews a change adversarially — establishes what it claims to do, hunts candidates from ten angles, then re-derives…
git:20260916.6d52c6b · audit A · 64 stars
review-docs-drift skill
gke-labs/kube-agents · .agents/skills/review-docs-drift/SKILL.md · Reviews a pull request for documentation drift — finds which docs the change should have updated, verifies doc claims…
git:20260916.6d52c6b · audit A · 64 stars
review-preflight skill
gke-labs/kube-agents · .agents/skills/review-preflight/SKILL.md · Runs the review passes required before a pull request is opened — adversarial and docs-drift — each in a context that…
git:20260916.6d52c6b · audit A · 64 stars
review-security-k8s-admission skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-admission/SKILL.md · Reviews Kubernetes Admission Control (Webhooks, VAP/MAP) for vulnerabilities.
git:20260522.4bbd4a0 · audit A · 64 stars
review-security-k8s-agents-audit-logs skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-audit-logs/SKILL.md · Reviews Kubernetes and application audit logging for AI agents, ensuring tamper-proof observability.
git:20260521.2bcbdef · audit A · 64 stars
review-security-k8s-agents-credentials skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-credentials/SKILL.md · Reviews AI agent Kubernetes configurations for credentials exposed to agents.
git:20260521.2bcbdef · audit A · 64 stars
review-security-k8s-agents-data-exfil skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-data-exfil/SKILL.md · Reviews Kubernetes configurations to prevent data exfiltration by AI agents.
git:20260521.2bcbdef · audit A · 64 stars
review-security-k8s-agents-firewall skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-firewall/SKILL.md · Reviews Kubernetes network and firewall configurations specifically for AI agent execution sandboxes.
git:20260903.799c7e3 · audit A · 64 stars
review-security-k8s-agents-main skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-main/SKILL.md · Orchestrates comprehensive Kubernetes security audits specifically tailored for AI agent workloads.
git:20260522.4bbd4a0 · audit A · 64 stars
review-security-k8s-agents-prompt-injection skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-prompt-injection/SKILL.md · Reviews AI agent architectures (API gateways, WAFs, input sanitization) for prompt injection risks.
git:20260521.2bcbdef · audit A · 64 stars
review-security-k8s-agents-sandbox skill
gke-labs/kube-agents · .agents/skills/review-security-k8s-agents-sandbox/SKILL.md · Reviews AI agent execution sandboxes for code escape and lateral movement risks.
git:20260521.2bcbdef · audit A · 64 stars

Every file in gke-labs/kube-agents

Browse by kind, by grade B, or by owner.