I am trying to increase the memory of VM into AZK. Is there some enviroment variable for do that? Can someone help me please?
azk
(http://azk.io/)
Right-click a virtual machine in the inventory and select Edit Settings. On the Virtual Hardware tab, expand Memory, and select Enable to enable adding memory to the virtual machine while it is turned on. Click OK.
Yes this is possible with Azure VMs in different aspects: memory, storage, network, etc... it is referred as AutoScale.
The amount of memory must be set before starting azk agent
. So, be sure the agent is down and run:
export AZK_VM_MEMORY=[memory size in MB]
azk agent start
As a shorthand, you can put the export
command into your .profile
, .bashrc
or .zshrc
file (depending on the shell you are using) to make that config persistent between different terminal sessions.
Note: by default, azk uses 1/6
of the total memory (or 512MB
, whichever is greater) for the VM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With