Skip to content

Add k8s.rollout operation for checking deployment rollout status #10

Description

@Cali0707

Description

Add a k8s.rollout operation to check and manage deployment rollout status. This is needed for the rolling-update-deployment task which verifies that deployments complete their rollouts successfully.

Current bash tasks use patterns like:

  • kubectl rollout status deployment/web-app -n namespace --timeout=120s

Requirements

  • Support checking rollout status for Deployments
  • Support checking rollout status for StatefulSets and DaemonSets
  • Support timeout specification
  • Return success/failure based on rollout completion

Example Usage

- k8s.rollout:
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: web-app
      namespace: rollout-test
    timeout: 120s

Acceptance Criteria

  • Can check rollout status for a Deployment by name and namespace
  • Can check rollout status for StatefulSets
  • Can check rollout status for DaemonSets
  • Supports configurable timeout
  • Returns success when rollout completes within timeout
  • Returns failure with descriptive error when rollout fails or times out
  • Operation is documented in extension manifest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions