mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-12 18:01:59 +01:00
69b84c09af
Signed-off-by: magic_rb <magic_rb@redalder.org>
36 lines
774 B
Nix
36 lines
774 B
Nix
{
|
|
apiVersion = "autoscaling/v2";
|
|
kind = "HorizontalPodAutoscaler";
|
|
metadata = {
|
|
labels = {
|
|
app = "istiod";
|
|
"install.operator.istio.io/owning-resource" = "unknown";
|
|
"istio.io/rev" = "1-20-2";
|
|
"operator.istio.io/component" = "Pilot";
|
|
release = "istio-istiod";
|
|
};
|
|
name = "istiod-1-20-2";
|
|
namespace = "istio-system";
|
|
};
|
|
spec = {
|
|
maxReplicas = 5;
|
|
metrics = [
|
|
{
|
|
resource = {
|
|
name = "cpu";
|
|
target = {
|
|
averageUtilization = 80;
|
|
type = "Utilization";
|
|
};
|
|
};
|
|
type = "Resource";
|
|
}
|
|
];
|
|
minReplicas = 1;
|
|
scaleTargetRef = {
|
|
apiVersion = "apps/v1";
|
|
kind = "Deployment";
|
|
name = "istiod-1-20-2";
|
|
};
|
|
};
|
|
}
|