Skip to content

Commit

Permalink
feat(ci.jenkins.io-kubernetes-agents) change OS of nodes to Azure Lin…
Browse files Browse the repository at this point in the history
…ux (#724)

Related to jenkins-infra/helpdesk#3954

Twin of #723, 

this PR fixes the OS to use Azure Linux. It was a mistake I did by
forgetting to specify it: as such, the nodes are currently using Ubuntu
  • Loading branch information
dduportal authored Jun 13, 2024
1 parent afba48e commit 81fe3d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci.jenkins.io-kubernetes-agents.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "linux_arm64_n2_applications" {
name = "la64n2app"
vm_size = "Standard_D4pds_v5"
os_disk_type = "Ephemeral"
os_sku = "AzureLinux"
os_disk_size_gb = 150 # Ref. Cache storage size at https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series#dsv3-series (depends on the instance size)
orchestrator_version = local.kubernetes_versions["cijenkinsio_agents_1"]
kubernetes_cluster_id = azurerm_kubernetes_cluster.cijenkinsio_agents_1.id
Expand Down Expand Up @@ -96,6 +97,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "linux_x86_64_n4_agents_1" {
provider = azurerm.jenkins-sponsorship
name = "lx86n3agt1"
vm_size = "Standard_D16ads_v5"
os_sku = "AzureLinux"
os_disk_type = "Ephemeral"
os_disk_size_gb = 600 # Ref. Cache storage size at https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series#dsv3-series (depends on the instance size)
orchestrator_version = local.kubernetes_versions["cijenkinsio_agents_1"]
Expand Down Expand Up @@ -126,6 +128,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "linux_x86_64_n4_bom_1" {
provider = azurerm.jenkins-sponsorship
name = "lx86n3bom1"
vm_size = "Standard_D16ads_v5"
os_sku = "AzureLinux"
os_disk_type = "Ephemeral"
os_disk_size_gb = 600 # Ref. Cache storage size at https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series#dsv3-series (depends on the instance size)
orchestrator_version = local.kubernetes_versions["cijenkinsio_agents_1"]
Expand Down

0 comments on commit 81fe3d5

Please sign in to comment.