/auplc:upgrade-aup-learning-cloudfrom auplc
Upgrades a running AUP Learning Cloud deployment, including JupyterHub Helm chart/values and the underlying k3s cluster. Covers both single-node and multi-node upgrade paths.
Ships in auplc. 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.
Read when SKILL.md points to them.
Move a live deployment to new versions without losing user data: apply chart / values / image changes, and (separately, more carefully) upgrade k3s. Two independent axes — the Hub (Helm) and the cluster (k3s) — upgraded in a safe order. Commands per topology and the rollback notes are in reference.md.
aup-learning-cloud matching (or ahead
of) what is deployed.helm + kubectl (multi-node) or ./auplc-installer (single-node).| Change | Path |
|---|---|
| values.yaml / overlay only | helm upgrade (multi) or ./auplc-installer rt upgrade (single) |
| New Hub/notebook image tag | bump custom.resources.images, then the same upgrade; single-node image swap: rt reinstall |
| Chart bump | helm upgrade --install with the new chart |
| k3s version | Ansible pb-k3s-upgrade.yml (multi) — separate, gated step |
Prefer the narrowest path. A values/image change does not require a k3s upgrade.
kubectl get nodes -o wide, helm list -n jupyterhub,
kubectl get pods -n jupyterhub. Note the current chart + k3s versions and
that nothing is already broken.helm template jupyterhub ./runtime/chart -f runtime/values.yaml -f <overlay> must succeed before any apply.pb-k3s-upgrade.yml. Keep pxe_k3s_version (PXE rootfs) in sync with the
server k3s_version — agents must not be newer than the server.Ready, no CrashLoopBackOff/ImagePullBackOff,
the Hub loads, an existing user can log in, and a fresh spawn (CPU then GPU)
works.Stop and get explicit confirmation before:
pb-k3s-reset.yml (whole cluster or --limit <node>) — destructive.helm uninstall or any change that recreates the Hub DB PVC — data loss.Never commit changes, and never bump pxe_k3s_version above the server
k3s_version. If a chart upgrade misbehaves, helm rollback jupyterhub <rev>
(see reference) before experimenting further.
Per-topology commands (single-node installer, multi-node Helm, k3s playbooks),
version-pin locations, helm history/rollback, and troubleshooting:
reference.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/build-aup-learning-cloud-imagesGroup: Plan & deploy AUP Learning Cloud. Builds and publishes the AUP Learning Cloud Docker images — the Hub image and the CPU/GPU notebook and course images — with ./auplc-installer img build. Use when the user wants to build, rebuild, tag, or push AUPLC images, mentions img build / img pull, the dockerfiles/ directory, auplc-hub / auplc-base / auplc-default / auplc-cv / auplc-dl / auplc-llm / auplc-physim / code-cpu / code-gpu, a gfx-specific image tag, the GHCR registry, code-server VS Code extensions, or preparing images for an offline/registry deployment. Covers GPU-target tagging and pushing to a registry. Do not use to install or deploy a cluster (install-/deploy-aup-learning-cloud) or to edit the course catalog in values.yaml (configure-aup-learning-cloud-courses)./configure-aup-learning-cloud-authGroup: Maintain AUP Learning Cloud. Configures authentication for AUP Learning Cloud with custom.auth provider flags for auto-login, dummy, native, GitHub, or native plus GitHub. Covers GitHub App OAuth and team sync, native accounts, password policy, forced first-login change, and custom.adminUser bootstrap. Use for custom.auth, GitHubOAuthenticator, custom.githubOrgName, oauth_callback_url, allowed_organizations, jupyterhub-admin-credentials, login 404s, OAuth callback errors, or "Resource not accessible by integration". Do not use for resource-to-group mapping (configure-aup-learning-cloud-courses), bulk users (manage-aup-learning-cloud-users), or private-repo cloning (configure-aup-learning-cloud-repos)./configure-aup-learning-cloud-coursesGroup: Course & other editor. Edits the AUP Learning Cloud course catalog and access control in the JupyterHub values.yaml: course images, resource requirements, spawn-UI metadata, group ordering, GPU accelerator selectors, team-to-course mappings, and the quota knobs. Use when the user wants to add/remove a course or notebook environment, show/hide an option in the spawn picker, map a GitHub team or group to courses, set per-course CPU/memory/amd.com/gpu requirements, add or retune an accelerator (custom.accelerators), or configure quota (cpuRate, quotaRate, minimumToStart, refresh rules). Triggers include values.yaml, custom.resources.images, custom.teams.mapping, custom.accelerators, custom.quota, acceleratorKeys, launchMode. Do not use to build the images themselves (build-aup-learning-cloud-images) or to install a cluster (install-/deploy-aup-learning-cloud)./configure-aup-learning-cloud-reposGroup: Course & other editor. Configures per-user Git repository cloning: the custom.gitClone block (githubAppName repo picker, defaultAccessToken for private repos, allowedProviders, maxCloneTimeout, defaultPersistence, allowPersistenceChoice) and the per-resource metadata.allowGitClone gate that clones a repo into a user's workspace at spawn time. Use when the user wants to let learners clone a Git repo on startup, enable the spawn-form repo URL/branch field or GitHub repo picker, give access to a private repo (bot PAT or GitHub App token), choose whether cloned repos persist, allow GitLab/Bitbucket, or debug "Repository URL ignored" or a failed clone init container. Triggers include custom.gitClone, allowGitClone, githubAppName, defaultAccessToken, allowedProviders, init-clone-repo. Do not use to set up GitHub login itself (configure-aup-learning-cloud-auth), to publish a course to the catalog (configure-/develop-aup-learning-cloud-courses), or to build images (build-aup-learning-cloud-images)./deploy-aup-learning-cloudGroup: Plan and deploy AUP Learning Cloud. Use when the user wants to install the multi-node JupyterHub-on-k3s platform on physical hardware through either PXE-diskless or SSH-preinstalled nodes. Do not use for the single-node ./auplc-installer flow, notebook image builds, or unrelated JupyterHub and k3s installations./develop-aup-learning-cloud-coursesGroup: Course & other editor. Authors a new learning toolkit for AUP Learning Cloud end to end: write the course notebooks under projects/<NAME>/, package them into a course Docker image (dockerfiles/Courses/<NAME>/ + a Makefile target on the ROCm GPU base), register the course in auplc_installer/catalog.py (COURSE_CATALOG + team mapping), then hand off to build + values wiring. Use when an educator wants to add a new course or lab set, create a toolkit like CV/DL/LLM/PhySim, turn a notebook folder into a spawnable course, add a Dockerfile/build.sh for a course, or add a course key to the catalog. Triggers include projects/CV, projects/DL, projects/LLM, projects/PhySim, dockerfiles/Courses, COURSE_CATALOG, "add a course", "new toolkit". Do not use to only build an existing image (build-aup-learning-cloud-images), to only edit the values catalog for an existing image (configure-aup-learning-cloud-courses), or to clone a user's repo at runtime (configure-aup-learning-cloud-repos).npx claudepluginhub amdresearch/aup-learning-cloud --plugin auplcOther plugins' skills for the same job