AGENT SKILL
kubernetes
K8s local clusters.
使用场景运维与部署
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- kubernetes
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- K8s local clusters.
03 SKILL.md 正文
Kubernetes
K8s local clusters.
When To Use
- Local K8s testing
- Cloud-native dev
- Container orchestration
What To Do
1. Install KIND
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/
2. Create Cluster
kind create cluster
kubectl get pods
3. Common Commands
| Command | What |
|---|---|
| kind create cluster | Create K8s cluster |
| kind delete cluster | Delete cluster |
| kubectl apply -f | Apply manifest |
| kubectl get pods | List pods |
| kubectl logs | View logs |
| kubectl exec | Execute in pod |
4. Manifest
apiVersion: apps/v1
kind: Deployment
metadata:
name: app
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
spec:
containers:
- name: app
image: myapp:latest
Output
## Kubernetes
| Cluster | Nodes | Status |
|---------|-------|--------|
| [name] | [n] | [READY] |
### Deployments
- [list]
Role: K8s Operator Input: Manifests Output: Running services
K8s locally.
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16