Back to browse
kubernetes
officialplatinum (7/8)Clean scan
Install
mayros skill install kubernetes
mayros skill install [email protected]
kubectl operations, pods, deployments, services, HPA, Helm charts
README
@apilium/kubernetes
Kubernetes management skill for Mayros -- deployments, services, ingress, HPA, debugging, Helm, and scaling.
Installation
Copy this skill directory into your Mayros skills folder:
cp -r skills/kubernetes ~/.mayros/skills/kubernetes
Or install via the Mayros CLI:
mayros skill install @apilium/kubernetes
Prerequisites
Install kubectl:
# macOS
brew install kubectl
# Linux
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl && sudo mv kubectl /usr/local/bin/
Verify: kubectl version --client
Usage
Once configured, the agent can:
- Context: Switch clusters, list contexts, set default namespace
- Pods: List, describe, view logs, exec, port-forward, resource usage
- Deployments: Apply, rollout status/history/undo, scale, update image
- Services: Create ClusterIP, NodePort, LoadBalancer services
- Ingress: Configure path-based routing with TLS termination
- HPA: Set up CPU/memory-based autoscaling
- Secrets/ConfigMaps: Create, read, manage configuration data
- Debugging: Diagnose CrashLoopBackOff, Pending, ImagePullBackOff
- Helm: Add repos, install/upgrade/rollback charts
Example prompts
"Show me all pods in the production namespace"
"Scale the web deployment to 5 replicas"
"Why is my pod stuck in CrashLoopBackOff?"
"Create an HPA for my deployment targeting 70% CPU"
"Install nginx-ingress with Helm"
Semantic Predicates
| Predicate | Scope | Description |
|-----------|-------|-------------|
| k8s:resource_applied | agent | Resources applied by the agent |
| k8s:issue_detected | agent | Issues detected in the cluster |
| k8s:cluster_context | namespace | Cluster context for enrichment |
License
MIT
Versions
Comments
Sign in to leave a comment.
Loading comments...