-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] disk_size_gb
hardcoded in /usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
#3004
Comments
Hey @wkalbar, Did you define it properly inside your input config: ...
---
kind: infrastructure/virtual-machine
title: "Virtual Machine Infra"
provider: azure
name: default
version: 1.0.2
specification:
storage_os_disk:
disk_size_gb: 64 #for example
---
... Pls add your config yaml so we can have a look what might be going on. |
|
What works for me is: ...
components:
repository:
count: 1
kubernetes_master:
count: 1
kubernetes_node:
count: 1
logging:
count: 0
monitoring:
count: 0
kafka:
count: 0
postgresql:
count: 0
load_balancer:
count: 0
rabbitmq:
count: 0
version: 1.0.2
---
kind: infrastructure/virtual-machine
name: kubernetes-master-machine
provider: azure
based_on: kubernetes-master-machine
specification:
storage_os_disk:
disk_size_gb: 128
---
kind: infrastructure/virtual-machine
name: kubernetes-node-machine
provider: azure
based_on: kubernetes-node-machine
specification:
storage_os_disk:
disk_size_gb: 256 If you have a full configuration (generated from init --full) you have to attach:
to the spec for each machine you want to change the disk size for. Nevertheless, I confirm that changing the disk in only one place for the default machine is not working properly. It works fine starting form v1.1.0. Comparing v1.0 to v1.1:
I think this could be the reason. |
@przemyslavic Yes you are right, we didn't backport this apparently. Will mark it as backport for 1.0.3 and will fix it. |
disk_size_gb
hardcoded in /usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
disk_size_gb
hardcoded in /usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
disk_size_gb
hardcoded in /usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
disk_size_gb
hardcoded in /usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
* Added #2976 * Fixed #2992 * Fixed #2876 * Fixed #3004 * Fix #2934 * Added #1076 * Removed un-used certificate stuff * Properly fixed #2876 * Add EOF EL * Update CHANGELOG-1.0.md Co-authored-by: Rafal Zeidler <[email protected]> * azure: fix for #3065 * comment more entries for #2934 * Escalate permissions for ip command (#2952) * Add documentation for custom terraform scripts * Remove one more duplicate entry in image-registry defaults Co-authored-by: Rafal Zeidler <[email protected]> Co-authored-by: cicharka <[email protected]> Co-authored-by: Irek Głownia <[email protected]> Co-authored-by: przemyslavic <>
NOTE: See comment from @przemyslavic below, should be a simple backport to add this 1.0.3
Describe the bug
Variable
disk_size_gb
for VMs OS disks used in config.yml is overwritten by variable in/usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
How to reproduce
Steps to reproduce the behavior:
epicli init ... (with params)
disk_size_gb
to any value other than default 32GBepicli apply ...
Expected behavior
VMs should have OS disk size equal to value of
disk_size_gb
variable. Instead of this they have still 32Gb OS disks.Config files
n/a
Environment
epicli version: 1.0.2
Additional context
There is workaround to change this variable in
/usr/local/epicli/data/azure/defaults/infrastructure/virtual-machine.yml
inside container. But it's still workaround.DoD checklist
The text was updated successfully, but these errors were encountered: