Required steps for installation using CloudFormation when deploying cluster in a private subnet.
The following commands should be run on the config server to pull the required images from the public registry and push them to your private registry.
<REGISTRY>
should be the address of your private registry as output by the CloudFormation stack.
You will need to be logged into your private registry before running these commands.
docker pull registry.k8s.io/autoscaling/cluster-autoscaler:v1.24.1
docker pull registry.k8s.io/metrics-server/metrics-server:v0.4.2
docker tag registry.k8s.io/autoscaling/cluster-autoscaler:v1.24.1 <REGISTRY>/cluster-autoscaler:v1.24.1
docker tag registry.k8s.io/metrics-server/metrics-server:v0.4.2 <REGISTRY>/metrics-server:v0.4.2
docker push <REGISTRY>/cluster-autoscaler:v1.24.1
docker push <REGISTRY>/metrics-server:v0.4.2
kubectl rollout restart deploy metrics-server cluster-autoscaler -n kube-system