Kops: Reduce default ETCD volume size and/or make it easy configurable

Created on 14 Apr 2018  路  5Comments  路  Source: kubernetes/kops

  1. Describe IN DETAIL the feature/behavior/change you would like to see.

The default ETCD volume size at the moment is 20GB: https://github.com/kubernetes/kops/blob/dc4a1a35b627f699a1c515790950c117919b84ca/pkg/model/master_volumes.go#L38
Which I think is way overkill for most clusters and a waste of money (DO example: 3 masters * 20GB disk * 2 * 0,1 = 12$/month). Lets change it to something more reasonable, 5GB maybe? and make it easily configurable without changing the config files by hand.

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

Lets add a kops create cluster parameter to control DefaultEtcdVolumeSize instead of hardcoding it.

cc @andrewsykim

Most helpful comment

Agreed. After 5 months our etcd volumes are <500mb

All 5 comments

Agreed. After 5 months our etcd volumes are <500mb

I am also interested in this parameter being added.

any update on this guys, ,or is there any easy solution to this.

we also need this function

Hi all, this is actually already implemented, though not documented (which I've done in #5692). Hope this helps!

Was this page helpful?
0 / 5 - 0 ratings