Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 05 / kubernetes132 disruption budget health and eviction admission

Reconstruct desired health, disruption allowance and unhealthy-Pod eviction admission from one complete bounded PDB snapshot.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-disruption-budget-health-and-eviction-admission

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": [
        "k8sPdb"
      ],
      "properties": {
        "k8sPdb": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "controller_scales",
                "mode",
                "percent",
                "pods",
                "status_current",
                "unhealthy_policy",
                "value"
              ],
              "properties": {
                "controller_scales": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "maxItems": 512
                },
                "mode": {
                  "type": "string",
                  "maxLength": 20000
                },
                "percent": {
                  "type": "boolean"
                },
                "pods": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "already_disrupted",
                      "deleting",
                      "owner",
                      "ready"
                    ],
                    "properties": {
                      "already_disrupted": {
                        "type": "boolean"
                      },
                      "deleting": {
                        "type": "boolean"
                      },
                      "owner": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "number"
                          }
                        ]
                      },
                      "ready": {
                        "type": "boolean"
                      }
                    }
                  },
                  "maxItems": 512
                },
                "status_current": {
                  "type": "boolean"
                },
                "unhealthy_policy": {
                  "type": "string",
                  "maxLength": 20000
                },
                "value": {
                  "type": "number"
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "current_healthy",
                    "desired_healthy",
                    "disruptions_allowed",
                    "eviction",
                    "expected_pods"
                  ],
                  "properties": {
                    "current_healthy": {
                      "type": "number"
                    },
                    "desired_healthy": {
                      "type": "number"
                    },
                    "disruptions_allowed": {
                      "type": "number"
                    },
                    "eviction": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "allowed",
                          "reason"
                        ],
                        "properties": {
                          "allowed": {
                            "type": "boolean"
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 20000
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "expected_pods": {
                      "type": "number"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

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

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →