← 返回命令列表

Linux command

popeye 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Scan Kubernetes cluster

popeye

Scan specific namespace

popeye -n [namespace]

Scan with specific context

popeye --context [context]

Output as JSON

popeye -o json

Save report to file

popeye --save --out [dir]

说明

popeye scans a live Kubernetes cluster and reports potential issues, misconfigurations, and resource problems. It checks pods, services, deployments, and other resources against best practices and common pitfalls. Results are color-coded by severity (OK, info, warning, error). Use -n to scan a specific namespace, -o for machine-readable output formats (JSON, YAML, HTML), and --save to write reports to disk. All operations are read-only.

参数

-n, --namespace _NS_
Scan specific namespace.
--context _CTX_
Kubernetes context.
-o, --out _FORMAT_
Output format (json, yaml, html).
--save
Save report to file.
-A, --all-namespaces
Scan all namespaces.

FAQ

What is the popeye command used for?

popeye scans a live Kubernetes cluster and reports potential issues, misconfigurations, and resource problems. It checks pods, services, deployments, and other resources against best practices and common pitfalls. Results are color-coded by severity (OK, info, warning, error). Use -n to scan a specific namespace, -o for machine-readable output formats (JSON, YAML, HTML), and --save to write reports to disk. All operations are read-only.

How do I run a basic popeye example?

Run `popeye` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n, --namespace _NS_ do in popeye?

Scan specific namespace.