kops icon indicating copy to clipboard operation
kops copied to clipboard

Don't allow configuration of kubeAPIServer.targetRamMb in the cluster spec on Kubernetes 1.24+

Open danports opened this issue 1 year ago • 2 comments

/kind feature

1. Describe IN DETAIL the feature/behavior/change you would like to see. kOps will allow you to configure kubeAPIServer.targetRamMb in your cluster spec on Kubernetes 1.24+, but then when you try to deploy your cluster, you get this in your api-server logs:

Error: unknown flag: --target-ram-mb

This is due to the removal of this flag in 1.24+: https://github.com/kubernetes/kubernetes/pull/108457

2. Feel free to provide a design supporting your feature request.

Probably best to reject this cluster configuration based on the Kubernetes version and add a note to the docs.

danports avatar Sep 15 '22 02:09 danports

Thanks for catching this. Would you be able to do a PR?

olemarkus avatar Sep 15 '22 04:09 olemarkus

Perhaps eventually, but probably not in the near future.

danports avatar Sep 20 '22 03:09 danports