Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 05 / kubernetes132 horizontal pod autoscaler metric replica recommendation

Reconstruct HPA metric recommendations with missing/not-ready damping and bounded multi-metric recommendation/stabilization.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-horizontal-pod-autoscaler-metric-replica-recommendation

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": [
        "k8sHpa"
      ],
      "properties": {
        "k8sHpa": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "current",
                "downscale_window_ms",
                "history",
                "maximum",
                "metrics",
                "minimum",
                "now_ms",
                "tolerance_ppm"
              ],
              "properties": {
                "current": {
                  "type": "number"
                },
                "downscale_window_ms": {
                  "type": "number"
                },
                "history": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "replicas",
                      "time_ms"
                    ],
                    "properties": {
                      "replicas": {
                        "type": "number"
                      },
                      "time_ms": {
                        "type": "number"
                      }
                    }
                  },
                  "maxItems": 512
                },
                "maximum": {
                  "type": "number"
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "error"
                        ],
                        "properties": {
                          "error": {
                            "type": "boolean"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "error",
                          "pods",
                          "target_percent"
                        ],
                        "properties": {
                          "error": {
                            "type": "boolean"
                          },
                          "pods": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "request",
                                "state",
                                "usage"
                              ],
                              "properties": {
                                "request": {
                                  "type": "number"
                                },
                                "state": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "usage": {
                                  "anyOf": [
                                    {
                                      "type": "null"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                }
                              }
                            },
                            "maxItems": 512
                          },
                          "target_percent": {
                            "type": "number"
                          }
                        }
                      }
                    ]
                  },
                  "maxItems": 512
                },
                "minimum": {
                  "type": "number"
                },
                "now_ms": {
                  "type": "number"
                },
                "tolerance_ppm": {
                  "type": "number"
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "constrained_replicas",
                    "error_blocks_downscale",
                    "metrics",
                    "stabilized_replicas",
                    "unstabilized_replicas"
                  ],
                  "properties": {
                    "constrained_replicas": {
                      "type": "number"
                    },
                    "error_blocks_downscale": {
                      "type": "boolean"
                    },
                    "metrics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "adjusted_ratio",
                          "error",
                          "initial_ratio",
                          "raw_utilization",
                          "replicas"
                        ],
                        "properties": {
                          "adjusted_ratio": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "error": {
                            "type": "boolean"
                          },
                          "initial_ratio": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "raw_utilization": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "replicas": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "stabilized_replicas": {
                      "type": "number"
                    },
                    "unstabilized_replicas": {
                      "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 →