搜索

PythonReactSEOPDF
GitHub Skill

kubernetes

Kubernetes deployment, management, and troubleshooting. Activate for k8s, kubectl, pods, deployments, services, ingress, namespaces, and container orchestration tasks.

Lobbi-Docs☆ 2 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Kubernetes Skill

Provides comprehensive Kubernetes deployment and management capabilities for the Golden Armada AI Agent Fleet Platform.

When to Use This Skill

Activate this skill when working with:

  • Pod management and debugging
  • Deployment configurations and rollouts
  • Service and ingress setup
  • Kubernetes resource templates
  • Cluster troubleshooting
  • Namespace management

Quick Reference

Common Commands

```bash

Pods

kubectl get pods -n agents kubectl describe pod -n agents kubectl logs -n agents --tail=100 -f kubectl exec -it -n agents -- /bin/sh

Deployments

kubectl get deployments -n agents kubectl rollout status deployment/ -n agents kubectl rollout restart deployment/ -n agents kubectl scale deployment/ -n agents --replicas=3

Services

kubectl get svc -n agents kubectl port-forward svc/ 8080:8080 -n agents

Debugging

kubectl get events -n agents --sort-by='.lastTimestamp' kubectl top pods -n agents kubectl describe pod -n agents | grep -A10 "Events:" ```

Resource Templates

Deployment

```yaml apiVersion: apps/v1 kind: Deployment metadata: name: agent-deployment namespace: agents spec: replicas: 2 selector: matchLabels: app: agent template: metadata: labels: app: agent spec: securityContext: runAsNonRoot: true runAsUser: 1000 containers: - name: agent image: golden-armada/agent:latest ports: - containerPort: 8080 resources: limits: cpu: "500m" memory: "512Mi" requests: cpu: "100m" memory: "128Mi" livenessProbe: httpGet: path: /health port: 8080 initialDelaySeconds: 10 periodSeconds: 30 readinessProbe: httpGet: path: /health port: 8080 initialDelaySeconds: 5 periodSeconds: 10 ```

Service

```yaml apiVersion: v1 kind: Service metadata: name: agent-service namespace: agents spec: selector: app: agent ports: - port: 80 targetPort: 8080 type: ClusterIP ```

Ingress

```yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: agent-ingress namespace: agents annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: rules: - host: agents.example.com http: paths: - path: / pathType: Prefix backend: service: name: agent-service port: number: 80 ```

Troubleshooting Flow

  1. Check pod status: kubectl get pods
  2. Check events: kubectl get events
  3. Check logs: kubectl logs <pod>
  4. Check describe: kubectl describe pod <pod>
  5. Check resources: kubectl top pods

Golden Armada Specific

Default namespace: agents Helm chart location: deployment/helm/golden-armada

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-31
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!