Skip to content

Commit fdc25c2

Browse files
sandeepkndclaude
andcommitted
feat: Add etcd health and performance analysis commands
Add two new OpenShift plugin commands for etcd monitoring and diagnostics: 1. /openshift:etcd-check-health - Performs comprehensive health checks on etcd cluster - Validates member status, quorum, and connectivity - Reports disk space, database size, and fragmentation - Detects configuration issues and performance problems 2. /openshift:etcd-analyze-performance - Analyzes etcd performance metrics and latency - Examines disk I/O, compaction times, and snapshot performance - Monitors leader stability and detects frequent changes - Identifies slow operations and bottlenecks - Provides actionable recommendations for optimization Both commands support OpenShift clusters with proper authentication and provide detailed analysis with severity-based recommendations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 48e260d commit fdc25c2

File tree

4 files changed

+996
-0
lines changed

4 files changed

+996
-0
lines changed

PLUGINS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ OpenShift development utilities and helpers
145145
- **`/openshift:cluster-health-check` `"[--verbose] [--output-format]"`** - Perform comprehensive health check on OpenShift cluster and report issues
146146
- **`/openshift:create-cluster` `"[release-image] [platform] [options]"`** - Extract OpenShift installer from release image and create an OCP cluster
147147
- **`/openshift:destroy-cluster` `"[install-dir]"`** - Destroy an OpenShift cluster created by create-cluster command
148+
- **`/openshift:etcd-analyze-performance` `"[--duration <minutes>]"`** - Analyze etcd performance metrics, latency, and identify bottlenecks
149+
- **`/openshift:etcd-check-health` `"[--verbose]"`** - Check etcd cluster health, member status, and identify issues
148150
- **`/openshift:expand-test-case` `[test-idea-or-file-or-commands] [format]`** - Expand basic test ideas or existing oc commands into comprehensive test scenarios with edge cases in oc CLI or Ginkgo format
149151
- **`/openshift:new-e2e-test` `[test-specification]`** - Write and validate new OpenShift E2E tests using Ginkgo framework
150152
- **`/openshift:rebase` `<tag>`** - Rebase OpenShift fork of an upstream repository to a new upstream release.

docs/data.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,18 @@
494494
"synopsis": "/openshift:destroy-cluster [install-dir]",
495495
"argument_hint": "\"[install-dir]\""
496496
},
497+
{
498+
"name": "etcd-analyze-performance",
499+
"description": "Analyze etcd performance metrics, latency, and identify bottlenecks",
500+
"synopsis": "/openshift:etcd-analyze-performance [--duration <minutes>]",
501+
"argument_hint": "\"[--duration <minutes>]\""
502+
},
503+
{
504+
"name": "etcd-check-health",
505+
"description": "Check etcd cluster health, member status, and identify issues",
506+
"synopsis": "/openshift:etcd-check-health [--verbose]",
507+
"argument_hint": "\"[--verbose]\""
508+
},
497509
{
498510
"name": "expand-test-case",
499511
"description": "Expand basic test ideas or existing oc commands into comprehensive test scenarios with edge cases in oc CLI or Ginkgo format",

0 commit comments

Comments
 (0)