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 commandkops 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 akops
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
kops
does create its own autoscaling groups: github.com/kubernetes/kops/blame/master/docs/aws.md#L333. – Amit Kumar Gupta