kubernetes-integration
CommunityMaster Kubernetes API usage for platform-go.
Software Engineering#go#kubernetes#resource-management#retry-patterns#api-management#client-go#testing-fake-client
Authorlinskybing
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill consolidates best practices for integrating with the Kubernetes API from a Go-based platform, focusing on safe patterns, scalable resource management, and reliable client-go usage.
Core Features & Use Cases
- Safe client initialization and error handling to avoid nil client usage in tests and production.
- Namespace, resource, and PVC lifecycle management with robust patterns and label-based queries.
- Reliable operation with retry mechanisms and pagination patterns to handle large clusters.
- Testing guidance using a fake Kubernetes client for unit tests.
- Use Case: Imagine a developer needs to ensure RBAC-compliant access patterns across multiple namespaces.
Quick Start
Review the core patterns and begin integrating client-go into services. Run unit tests with the fake Kubernetes client: go test ./... Validate resource lifecycles (create, list, delete) in a local cluster or kind. Monitor and refine with the provided observability guidance.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kubernetes-integration Download link: https://github.com/linskybing/platform-go/archive/main.zip#kubernetes-integration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.