amazon web services - Increase ROOT_SIZE of minion in aws kubernetes cluster -


i making kubernetes cluster in aws. using kubernetes version 1.0.6. things necessary running cluster works fine in version. need increae root disk size of minions. created default 8gb. want them 40gb instead. using t2.micro cluster.

the problem there env variable minion_root_disk_size in version : master, 1.1.0-alpha.1. in 1.0.6 there no env variable in name. , setting variable in 1.0.6 did not work work 1.1.0-alpha.1. can't use pre release or can't jump 1.0.6 1.1.0-alpha.1. need increase minions , masters root disk size.

how can achive that?

the config file both version here:

v1.1.0-alpha1

v1.0.6 using

for still have problem here solution. if have kubernetes file u can achive editing

"cluster/aws/util.sh" file.

find block_device_mappings , add this

{"devicename":"/dev/sda1","ebs":{"volumesize":40, "volumetype": "gp2"} 

this feild string u need add \ before every "

{\"devicename\":\"/dev/sda1\",\"ebs\":{\"volumesize\":40, \"volumetype\": \"gp2\"} 

this create gp2 volume 40gb of size , minion , master's root disk.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -