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
kopsversion are you running? The commandkops version, will display this information.Version 1.8.0What Kubernetes version are you running?
kubectl versionwill print the version if a cluster is running or provide the Kubernetes version specified as akopsflag.v1.8.6What cloud provider are you using?
AWSWhat commands did you run? What is the simplest way to reproduce this issue?
kubectl apply -f autoscale.yamlWhat 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
kopsdoes create its own autoscaling groups: github.com/kubernetes/kops/blame/master/docs/aws.md#L333. - Amit Kumar Gupta