Update quick install script to add Cluster Autoscaler and istiod memory leakage fix fields #2609
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Swapnesh Khare swapkh91@gmail.com
What this PR does / why we need it:
Kubernetes Cluster Autoscaler (tested on GKE) expects pods to have
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
annotation to mark them safe for eviction from a node and scale down the node (ref). Istio specific pods do not have these annotations and hence are not scaled down if created on a new node during autoscaling.As of Istio version 1.15, the
istiod
component suffers from memory leakage (ref), which is fixed in 1.16 (ref) by disablingPILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING
environment variable.istiod
now takes 0.5M CPU and 2GB memory by default. These can be changed by setting fields ink8s
key.Type of changes
Please delete options that are not relevant.
Feature/Issue validation/testing:
Ran
quick_install.sh
with the updated script on cluster with Kubernetes version 1.22 (1.22.16-gke.1300)Checked
istiod
andistio-ingressgateway
pods to contain safe-to-evict annotationCluster Autoscaler successfully downscaled a new node
Logs
Annotation set
CPU and memory leakage before setting
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING
flagfalse
Release note: