| name | coreweave-upgrade-migration |
| description | Upgrade CoreWeave deployments and migrate between GPU types.
Use when migrating from A100 to H100, upgrading CUDA versions,
or updating inference server versions.
Trigger with phrases like "upgrade coreweave", "coreweave gpu migration",
"coreweave cuda upgrade", "migrate coreweave".
|
| allowed-tools | Read, Write, Edit, Bash(kubectl:*), Grep |
| version | 1.11.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","gpu-cloud","kubernetes","inference","coreweave"] |
| compatibility | Designed for Claude Code |
CoreWeave Upgrade & Migration
Community-contributed. Not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc.
Overview
CoreWeave is a GPU-specialized cloud provider running Kubernetes-native infrastructure. Migrations involve upgrading between GPU instance types (A100 to H100), updating CUDA driver versions, and handling Kubernetes API version changes across namespaces. Tracking API versions is critical because CoreWeave's instance type labels and resource quotas change between platform releases, and deploying to a deprecated instance class will cause scheduling failures.
Version Detection
import { KubeConfig, CoreV1Api } from "@kubernetes/client-node";
async function detectCoreWeaveVersion(): Promise<void> {
const kc = new KubeConfig();
kc.loadFromDefault();
const k8sApi = kc.makeApiClient(CoreV1Api);
const pods = await k8sApi.listNamespacedPod("my-namespace");
for (const pod of pods.body.items) {
const gpuClass = pod.spec?.nodeSelector?.["gpu.nvidia.com/class"];
const cudaVersion = pod.metadata?.labels?.["cuda-version"];
console.();
}
deprecated = [, , ];
activeGpus = pods..
.( p.?.?.[])
.();
stale = activeGpus.( deprecated.(g!));
(stale. > ) .();
}