All authors

Claude Skills by GoogleCloudPlatform
github.com/GoogleCloudPlatform10 skills0 installs10 views
- Dev Api And CodegenAdds or modifies Kubernetes Custom Resource Definition (CRD) Go types in api/, Kubebuilder validation markers, RBAC annotations, Kustomize bases, and Helm chart templates, values, and CRD schemas; regenerates manifests, ClusterRoles, and DeepCopy methods via make manifests and make generate; and audits pre-PR repository parity across config/, helm/, VERSION, and docs/examples/ YAMLs. Use when changing WorkloadMixing API struct fields, updating CRD validation or RBAC permissions, editing Helm/...Votes: 0GitHub stars: 17
- Dev Controller And TranslatorImplements or modifies Go operator reconciliation loops in internal/controller/, Slurm REST polling and event deduplication, JobSet translation, ClientMap and JWT token management, and Prometheus metric instruments. Use when changing how Slurm jobs are polled, translated into JobSets, unheld, preempted, or torn down in Go source code. Don't use for Slurm Lua submission plugins (use dev-slurm-lua), CRD schema or Helm template changes (use dev-api-and-codegen), deploying or upgrading the operat...Votes: 0GitHub stars: 17
- Dev Slurm LuaImplements, modifies, and tests the Slurm Lua plugins (hack/job_submit.lua and hack/cli_filter.lua) that validate CLI options, place jobs on bridged partitions into auto-hold, and protect k8s-bridge job constraints. Use when adding allowed Slurm CLI flags, changing job submission or modification interception rules in Lua, or testing plugin behavior with non-root users. Don't use for Go controller or JobSet translator changes (use dev-controller-and-translator) or cluster partition mapping con...Votes: 0GitHub stars: 17
- Infra Configure CrsConfigures, applies, and removes all workload-mixing Custom Resources (CRs) and Slurm partitions for CPU, GPU, priority, and GKE CCC workloads: Kueue CRs (ResourceFlavor, ClusterQueue, LocalQueue, WorkloadPriorityClass), GKE ComputeClass CRs, Slinky slurm Helm release (slurm-values.yaml and Lua plugins), WorkloadMixing CRs, non-root user verification, and job submission checks. Use when deploying, updating, or removing Slurm partitions, Kueue queues, priority classes, or typed/untyped GPU map...Votes: 0GitHub stars: 17
- Infra Deploy StackInstalls, upgrades, and tears down the base Kubernetes operators and Helm charts (cert-manager, Slinky slurm-operator CRDs and operator, JobSet before Kueue, Kueue, and the k8s-bridge controller chart from OCI or local ./helm / Kustomize). Use when installing, upgrading, or uninstalling the base operator stack in a cluster. Don't use for creating cloud clusters or node pools (use infra-provision-cluster) or configuring and applying Kueue, ComputeClass, Slinky Slurm partition, and WorkloadMixi...Votes: 0GitHub stars: 17
- Infra Provision ClusterCreates, resizes, updates, or deletes cloud Kubernetes clusters and CPU or GPU node pools on GKE (standard CPU node pools, Node Auto-Provisioning for Custom Compute Classes, DWS Flex-start GPU node pools, or labeling pre-provisioned GPU nodes). Use when creating, resizing, updating, or deleting cloud clusters and node pools for workload mixing. Don't use for installing Helm charts and operators inside the cluster (use infra-deploy-stack) or configuring and applying Kueue, ComputeClass, Slurm ...Votes: 0GitHub stars: 17
- Ops Cleanup StateDrains and cleans up wedged Slurm jobs, orphaned Kubernetes JobSets, Kueue Workloads, dynamic slurmd worker pods, and stale dynamic Slurm node registrations (DOWN or orphaned slurm-job-* nodes). Use when resetting cluster state between runs, removing stuck dynamic Slurm nodes that cause BadConstraints, or cancelling wedged workloads. Don't use for read-only root-cause diagnosis of stuck jobs (use ops-diagnose-workload) or tearing down the Slurm release, CRs, operator stack, and cloud cluster ...Votes: 0GitHub stars: 17
- Ops Diagnose WorkloadDiagnoses rejected, held (JobHeldUser / JobHeldAdmin), suspended (Workload not admitted), pending (BadConstraints / Pod Pending), preempted, or cancelled Slurm workloads and captures diagnostic state snapshots across Slurm, k8s-bridge, Kueue, JobSet, and dynamic slurmd pods. Use when troubleshooting why a submitted Slurm job is stuck or failed, or when collecting a cluster diagnostic dump. Don't use for destructive state cleanup, pod deletion, or draining orphaned nodes (use ops-cleanup-state).Votes: 0GitHub stars: 17
- Test E2e ClusterRuns, writes, and debugs full-stack end-to-end (E2E) Ginkgo test suites and cluster test harnesses against a local Kind CPU cluster or a GKE GPU Kubernetes cluster. Use when executing make test-e2e, make test-e2e-gpu, or make run-test-e2e-gpu, adding new E2E test specs in test/e2e/, or debugging E2E test failures. Don't use for local unit/envtest tests (use test-unit-and-lint) or interactive operator or partition deployment (use infra-deploy-stack or infra-configure-crs).Votes: 0GitHub stars: 17
- Test Unit And LintWrites and runs table-driven Go unit tests, envtest controller integration tests, Slurm REST client mocks, and static analysis linters via make test, make fmt, make vet, and make lint. Use when adding or debugging package-level tests, mocking Slurm REST API responses, or fixing lint and formatting failures. Don't use for running full-cluster end-to-end Ginkgo tests on Kind or cloud GPU clusters (use test-e2e-cluster).Votes: 0GitHub stars: 17