Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 17 DOCS / kubernetes132 indexed job failure success policy backoff completion ledger

Recover indexed Job index success/failure/retry and completion actions under explicit pod termination, failure/success policies and pinned feature gates. No scheduling/PDB/Deployment.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-17-DOCS/kubernetes132-indexed-job-failure-success-policy-backoff-completion-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "k8sJob"
      ],
      "properties": {
        "k8sJob": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "completions": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 32
                },
                "parallelism": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 32
                },
                "backoff": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 32
                },
                "per_index": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 16
                },
                "max_failed": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 32
                },
                "previous_failures": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 32
                  },
                  "maxItems": 32
                },
                "succeeded": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 31
                  },
                  "maxItems": 32
                },
                "failed": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 31
                  },
                  "maxItems": 32
                },
                "pods": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "$ref": "#/properties/artifact/%24defs/a"
                      },
                      "index": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 31
                      },
                      "state": {
                        "enum": [
                          "active",
                          "succeeded",
                          "failed",
                          "terminating"
                        ]
                      },
                      "exit_code": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 255
                      },
                      "conditions": {
                        "$ref": "#/properties/artifact/%24defs/b"
                      }
                    },
                    "required": [
                      "id",
                      "index",
                      "state",
                      "exit_code",
                      "conditions"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 64
                },
                "failure_rules": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "action": {
                        "enum": [
                          "Count",
                          "Ignore",
                          "FailJob",
                          "FailIndex"
                        ]
                      },
                      "exit_codes": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 255
                        },
                        "maxItems": 32
                      },
                      "operator": {
                        "enum": [
                          "In",
                          "NotIn"
                        ]
                      },
                      "conditions": {
                        "$ref": "#/properties/artifact/%24defs/b"
                      }
                    },
                    "required": [
                      "action",
                      "exit_codes",
                      "operator",
                      "conditions"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 16
                },
                "success_rules": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "indexes": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 31
                        },
                        "maxItems": 32
                      },
                      "count": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": 1,
                        "maximum": 32
                      }
                    },
                    "required": [
                      "indexes",
                      "count"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 16
                },
                "global_failed": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000
                },
                "deadline_exceeded": {
                  "type": "boolean"
                }
              },
              "required": [
                "completions",
                "parallelism",
                "backoff",
                "per_index",
                "max_failed",
                "previous_failures",
                "succeeded",
                "failed",
                "pods",
                "failure_rules",
                "success_rules",
                "global_failed",
                "deadline_exceeded"
              ],
              "additionalProperties": false
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      },
      "$defs": {
        "a": {
          "type": "string",
          "maxLength": 24,
          "minLength": 1,
          "pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
          "not": {
            "type": "string",
            "pattern": "[\\r\\n

]"
          }
        },
        "b": {
          "type": "array",
          "items": {
            "$ref": "#/properties/artifact/%24defs/a"
          },
          "maxItems": 8
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 20:49 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →