{
  "name": "kubectl-rollout-restart",
  "title": "Restart a workload",
  "description": "Restart a Deployment, StatefulSet or DaemonSet so its pods are replaced one at a time, and optionally wait until the new pods are ready.",
  "category": "Kubernetes",
  "tags": [
    "kubectl",
    "kubernetes"
  ],
  "latestVersion": "1.0.0",
  "versions": [
    "1.0.0"
  ],
  "parameters": [
    "name",
    "kind",
    "namespace",
    "timeout",
    "wait"
  ],
  "images": [
    "cgr.dev/chainguard/kubectl@sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/kubectl-rollout-restart.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-rollout-restart/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/kubectl-rollout-restart/",
  "entrypoint": "restart",
  "parameterDetails": [
    {
      "name": "name",
      "title": "Name",
      "description": "Name of the workload.",
      "type": "string",
      "required": true,
      "example": "checkout-api"
    },
    {
      "name": "kind",
      "title": "Kind",
      "description": "Kind of workload to restart.",
      "type": "string",
      "required": false,
      "default": "deployment",
      "enum": [
        "deployment",
        "statefulset",
        "daemonset"
      ]
    },
    {
      "name": "namespace",
      "title": "Namespace",
      "description": "Namespace the resource lives in.",
      "type": "string",
      "required": false,
      "default": "default",
      "example": "default"
    },
    {
      "name": "timeout",
      "title": "Timeout",
      "description": "Longest time to wait for the rollout, such as 300s or 5m.",
      "type": "string",
      "required": false,
      "default": "300s"
    },
    {
      "name": "wait",
      "title": "Wait",
      "description": "Set to \"true\" to block until the new pods are ready.",
      "type": "string",
      "required": false,
      "default": "true",
      "enum": [
        "true",
        "false"
      ]
    }
  ],
  "imageDetails": [
    {
      "ref": "cgr.dev/chainguard/kubectl@sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba",
      "repository": "cgr.dev/chainguard/kubectl",
      "tag": "latest-dev",
      "digest": "sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.0",
      "date": "2026-10-18",
      "notes": "Initial release.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-rollout-restart/1.0.0.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-rollout-restart/1.0.0/template.yaml"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/kubectl-rollout-restart",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
