Skip to content

Commit

Permalink
disk size updates and enable dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
singhalkarun committed Oct 29, 2024
1 parent 9284b8a commit d32c823
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cluster/kubespray-vars/group_vars/k8s_cluster/addons.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Kubernetes dashboard
# RBAC required. see docs/getting-started.md for access details.
# dashboard_enabled: false
dashboard_enabled: true

# Helm deployment
helm_enabled: true
Expand Down
12 changes: 6 additions & 6 deletions infra/dev.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ kube_apiserver_port = "6443"

k8s_master_node_size = ["Standard_D4s_v3"]
k8s_master_node_count = "1"
k8s_master_disk_size = "256"
k8s_master_disk_size = ["256"]

k8s_worker_node_size = ["Standard_D4s_v3", "Standard_D4s_v3", "Standard_D4s_v3"]
k8s_worker_node_count = "3"
k8s_worker_disk_size = "128"
k8s_worker_disk_size = ["128", "128", "128"]

k8s_worker_gpu_node_size = ["Standard_NC4as_T4_v3", "Standard_NC4as_T4_v3", "Standard_NC4as_T4_v3"]
k8s_worker_gpu_node_count = "3"
k8s_worker_gpu_disk_size = "256"
k8s_worker_gpu_disk_size = ["256", "256", "256"]

k8s_admin_disk_size = "128"
k8s_admin_disk_size = ["128"]
k8s_admin_node_size = ["Standard_D4s_v3"]

k8s_lb_disk_size = "128"
k8s_lb_disk_size = ["128", "128"]
k8s_lb_node_size = ["Standard_D4s_v3", "Standard_D4s_v3"]
k8s_lb_node_count = 2

k8s_stateful_node_count = "3"
k8s_stateful_node_size = ["Standard_D4s_v3", "Standard_E4bds_v5", "Standard_E4bds_v5"] ## 4cpu 16 GB ram
k8s_stateful_disk_size = "512"
k8s_stateful_disk_size = ["512", "2560", "512"]



2 changes: 1 addition & 1 deletion infra/module/vm/vm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ resource "azurerm_linux_virtual_machine" "vm" {
name = "${var.resource_group_name}-${var.node_type}-disk-${count.index}"
storage_account_type = "Standard_LRS"
caching = "ReadWrite"
disk_size_gb = var.node_disk_size
disk_size_gb = var.node_disk_size[count.index]
}

network_interface_ids = [azurerm_network_interface.nic[count.index].id]
Expand Down

0 comments on commit d32c823

Please sign in to comment.