K8s foundation

From NaveedTechLab/skills-library · View interactive version

K8s foundation is an AI agent skill from the GitHub repository NaveedTechLab/skills-library. Validate Kubernetes cluster health and apply foundational Helm charts. Use when Claude needs to check cluster status, deploy core infrastructure components, or ensure cluster readiness for applications. Must use kubectl and helm via scripts. No environment setup instructions. Return minimal success/

How to use this skill

Skill file

K8s Foundation

Overview

This skill provides tools for validating Kubernetes cluster health and applying foundational Helm charts. It focuses on cluster readiness assessment and deployment of essential infrastructure components.

Primary Functions

  1. Cluster Health Validation: Check if the Kubernetes cluster is operational and healthy
  2. Foundational Chart Deployment: Apply essential Helm charts that form the foundation of the cluster
  3. Readiness Assessment: Verify that the cluster is ready for application deployments

Validation Workflow

Follow these steps to validate cluster health:

  1. Check Cluster Connectivity: Verify kubectl can reach the cluster
  2. Assess Node Status: Validate all nodes are ready and operational
  3. Review System Pods: Ensure core Kubernetes pods are running properly
  4. Test Resource Availability: Confirm sufficient resources are available
  5. Validate Access Rights: Verify required permissions for operations

Deployment Workflow

For applying foundational Helm charts:

  1. Prerequisite Check: Ensure cluster meets requirements for chart deployment
  2. Helm Repo Update: Update Helm repositories to latest versions
  3. Chart Installation: Deploy charts with appropriate values
  4. Post-Installation Validation: Verify successful deployment
  5. Status Reporting: Return minimal success/failure output

Essential Foundational Charts

Common foundational charts that might be deployed:

Scripts Provided

This skill includes scripts for common Kubernetes and Helm operations:

Cluster Validation Scripts

Deployment Scripts

Utility Scripts

Resources

scripts/

Executable scripts that use kubectl and helm commands for cluster operations.

Examples:

Appropriate for: Kubernetes validation, Helm chart deployment, cluster readiness checks, and infrastructure provisioning.

references/

Documentation about Kubernetes cluster validation best practices and foundational chart configurations.

Examples:

Appropriate for: In-depth information about cluster validation techniques and chart configurations.

assets/

Template files and configurations for foundational charts.

Examples:

Appropriate for: Standard configurations and templates used in deployments.


Any unneeded directories can be deleted. Not every skill requires all three types of resources.

When NOT to Use This Skill

Common Mistakes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.