Advanced Operations

Rerun job whether the job is complete or not.

post/kapis/operations.kubesphere.io/v1alpha2/namespaces/{namespace}/jobs/{job}

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Path parameters

jobstring required

job name

namespacestring required

The specified namespace.

Query parameters

actionstring

action must be "rerun"

resourceVersionstring required

version of job, rerun when the version matches

Response

ok

messagestring required

error message

Changes

    • info

      api operation id handleJobReRun removed and replaced with JobReRun

    • info

      api tag Advanced Operations added

    • breaking

      added the new required query request parameter resourceVersion

    • info

      api operation id RerunJob removed and replaced with handleJobReRun