Infra deploy stack

From GoogleCloudPlatform/k8s-bridge · View interactive version

Infra deploy stack is an AI agent skill from the GitHub repository GoogleCloudPlatform/k8s-bridge. Installs, 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 ope

How to use this skill

Skill file

Base Operator & Chart Installation (`infra-deploy-stack`)

1. Preconditions & Inputs

Before installing, upgrading, or uninstalling the base operators, check or ask the user for:

  1. Kubernetes Context & Prerequisites: Output of kubectl config current-context, plus cluster/tool version requirements in ## Prerequisites & Versions of docs/quickstart.md.
  2. Existing Cluster Components: Whether any prerequisite operators (cert-manager, slurm-operator, JobSet, Kueue) are already installed (see the prerequisite installation section of docs/existing-infra.md).
  3. k8s-bridge Installation Method: Published OCI Helm chart (Branch A), local ./helm chart with custom IMG (Branch B), or Kustomize (Branch C).

2. Guardrails


3. Step-by-Step Procedure

Step 1: Install Prerequisite Operators (`cert-manager`, `slurm-operator`, `JobSet` before `Kueue`, `Kueue`)

Follow the prerequisite installation section in docs/quickstart.md for a clean cluster, or docs/existing-infra.md to install only missing components.

Step 2: Install or Upgrade `k8s-bridge` (Select One Branch: A, B, or C)

(Stop here after Step 2 and proceed to Section 4 Verification when installing or upgrading. Do not run Step 3 unless the user asked to uninstall the operators.)

Step 3: Base Operator Stack Teardown (Run ONLY When Requested to Uninstall)

First complete CR and Slurm release teardown via skills/infra-configure-crs/SKILL.md (Step 4). Then, after user confirmation, uninstall k8s-bridge (or make undeploy uninstall for Branch C) and the prerequisite operators in reverse order as shown in the cleanup section of docs/quickstart.md or docs/existing-infra.md.


4. Verification

  1. Verify all operator deployments (cert-manager, slurm-operator, jobset-controller-manager, kueue-controller-manager, and k8s-bridge-controller-manager) have rolled out and are Available.
  2. Verify kubectl get crd workloadmixings.k8s-bridge.x-k8s.io succeeds.

5. Handoffs & Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.