Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ kube_aws_iam_controller_mem: "50Mi"
kube_state_metrics_cpu: "100m"
kube_state_metrics_mem_max: "4Gi"
kube_state_metrics_mem_min: "120Mi"
kube_state_metrics_vpa_update_mode: "InPlaceOrRecreate"

kubernetes_lifecycle_metrics_mem_max: "4Gi"
kubernetes_lifecycle_metrics_mem_min: "120Mi"
Expand Down Expand Up @@ -1395,6 +1396,7 @@ aws_vpc_cni_network_policy_enforcing_mode: "standard"
aws_load_balancer_controller_cpu: "100m"
aws_load_balancer_controller_mem_max: "4Gi"
aws_load_balancer_controller_default_target_type: "instance"
aws_load_balancer_controller_vpa_update_mode: "InPlaceOrRecreate"

# configure if sandbox-controller should be deployed
sandbox_controller_enabled: "true"
Expand Down
2 changes: 1 addition & 1 deletion cluster/manifests/aws-load-balancer-controller/vpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
kind: Deployment
name: aws-load-balancer-controller
updatePolicy:
updateMode: InPlaceOrRecreate
updateMode: {{ .Cluster.ConfigItems.aws_load_balancer_controller_vpa_update_mode }}
resourcePolicy:
containerPolicies:
- containerName: controller
Expand Down
2 changes: 1 addition & 1 deletion cluster/manifests/kube-state-metrics/vpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
kind: Deployment
name: kube-state-metrics
updatePolicy:
updateMode: InPlaceOrRecreate
updateMode: {{.Cluster.ConfigItems.kube_state_metrics_vpa_update_mode}}
resourcePolicy:
containerPolicies:
- containerName: kube-state-metrics
Expand Down