dotfiles/terranix/main/kubernetes/generated/istio-istiod/istio-system.HorizontalPodAutoscaler.istiod.nix
magic_rb 03b54bd52b
Use helm2nix2terraform to create nix files from helm charts
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-07 13:24:08 +02:00

36 lines
761 B
Nix

{
apiVersion = "autoscaling/v2";
kind = "HorizontalPodAutoscaler";
metadata = {
labels = {
app = "istiod";
"install.operator.istio.io/owning-resource" = "unknown";
"istio.io/rev" = "default";
"operator.istio.io/component" = "Pilot";
release = "istio-istiod";
};
name = "istiod";
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";
};
};
}