Reputation: 737
I'm running kops on aws.
There is some documentation here about how to add the autoscaler to the cluster. https://github.com/kubernetes/kops/tree/master/addons/cluster-autoscaler
As far as I can tell kops doesn't create its own autoscaling groups and there doesn't seem to be any documentation on how to create an autoscaling group that will interact with the cluster.
I can follow all the existing documentation and I will end up with this error message
Failed to update node registry: Unable to get first autoscaling.Group for "nodes.***redacted***"
is there something obvious I'm missing?
Thanks, Nathan
What kops
version are you running? The command kops version
, will display
this information.
Version 1.8.0
What Kubernetes version are you running? kubectl version
will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops
flag.
v1.8.6
What cloud provider are you using?
AWS
What commands did you run? What is the simplest way to reproduce this issue?
kubectl apply -f autoscale.yaml
What happened after the commands executed?
Failed to update node registry: Unable to get first autoscaling.Group for "nodes.***redacted***"
yaml file here https://gist.github.com/nburn42/6c94336574083be610efa911e06c7ae1
Upvotes: 1
Views: 915
Reputation: 1737
This is now false. Kops does create ASGs You possibily need to configure your cluster autoscaler using either :
c.f. https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/aws/examples for a config sample
Upvotes: 0