spinkube / spin-plugin-kube

A Spin plugin for interacting with Kubernetes.
Other
20 stars 5 forks source link

`spin k8s scaffold`: autoscaling support #29

Closed bacongobbler closed 6 months ago

bacongobbler commented 7 months ago

spin-operator allows a user to enable autoscaling. We should provide a flag for that.

spin k8s scaffold --enable-autoscaling

We should also check if the user provides both --enable-autoscaling and --replicas, returning an error, as they are incompatible with each other.

bacongobbler commented 7 months ago

Throwing into the "nice to have" category for now. Users can take the output of spin k8s scaffold and mess around with the file to achieve the same effect. This just provides a more convenient way of doing that from the CLI.