/ai-infra:gpu-resource-management [workload profile — training/inference, GPU mix, QPS pattern]from ai-infra
Designs GPU orchestration on EKS using Karpenter v1.2+ NodePools, KEDA scale-to-zero, and DRA 1.35 GA for MIG partitioning. Right-sizes NodePool for p5/g6e/trn2 instance mix, spot/on-demand split, consolidation, and topology-aware scheduling.
Ships in ai-infra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
agentic-eks-bootstrap 선행--feature-gates=DynamicResourceAllocation=true)apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
name: gpu-inference-pool
spec:
template:
metadata:
labels:
node-type: gpu-inference
workload: genai
spec:
requirements:
- key: kubernetes.io/arch
operator: In
values: ["amd64"]
- key: karpenter.sh/capacity-type
operator: In
values: ["on-demand", "spot"]
- key: node.kubernetes.io/instance-type
operator: In
values: ["p5.48xlarge", "g6e.12xlarge", "g6e.48xlarge"]
taints:
- key: nvidia.com/gpu
value: "true"
effect: NoSchedule
nodeClassRef:
name: default
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 30s
limits:
nvidia.com/gpu: 64
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: vllm-scaler
namespace: inference
spec:
scaleTargetRef:
name: vllm-llama3
minReplicaCount: 0
maxReplicaCount: 8
triggers:
- type: prometheus
metadata:
serverAddress: http://prometheus.observability.svc:9090
metricName: vllm_num_requests_running
threshold: "4"
query: sum(rate(vllm_num_requests_running[1m]))
1g.10gb × 7 로 분할하면 소형 모델 7개 동시 서빙ResourceClaim + DeviceClass 리소스로 Pod 에 동적 할당apiVersion: resource.k8s.io/v1beta1
kind: ResourceClaimTemplate
metadata:
name: mig-1g10gb
spec:
spec:
devices:
requests:
- name: gpu
deviceClassName: nvidia.com/mig-1g.10gb
topologySpreadConstraints 로 AZ 분산 DP, 동일 노드 내 TPDCGM_FI_DEV_GPU_UTIL, DCGM_FI_DEV_MEM_COPY_UTIL1g.10gb × 7 → 7B-14B 모델 7개 동시provisioner.karpenter.sh) — v1 migration 필수../../references/vllm-performance-tuning.mdWhat SKILL.md sets; muted values are Claude Code's defaults
claude-sonnet-4-6Three short reads, in order
npx claudepluginhub aws-samples/sample-oh-my-aidlcops --plugin ai-infra6 skills in this plugin
/agentic-eks-bootstrapBootstrap an AWS EKS cluster optimized for Agentic AI workloads — Karpenter v1.2+ GPU node pools, EKS Auto Mode, Kubernetes 1.32+ with DRA 1.35 GA, VPC CNI, GPU Operator, and baseline observability. Use when starting a new EKS cluster that will host vLLM, Inference Gateway, Langfuse, or Kagent./ai-gateway-guardrailsEnforce Input/Output Guardrails at the LLM Gateway layer — PII redaction, Prompt Injection defense, Jailbreak detection, Toxicity filter, and Tool Allow-list. Integrates Bedrock Guardrails, NeMo Guardrails, Llama Guard 3, and regex/regex-ML policies on Bifrost/LiteLLM with Langfuse audit trail./inference-gateway-routingOther plugins' skills for the same job