Skip to content

Commit

Permalink
Updated nodepool.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielscholl committed Feb 6, 2024
1 parent 96acb22 commit 3ad9da7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -1585,9 +1585,9 @@ module pool1 './modules/aks_agent_pool.bicep' = {
]
subnetId: virtualNetworkNewOrExisting != 'new' ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}' : '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}'
podSubnetId: virtualNetworkNewOrExisting != 'new' && enablePodSubnet ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${podSubnetName}' : ''
nodeTaints: ['app=elasticsearch:NoSchedule']
nodeTaints: ['app=cluster:NoSchedule']
nodeLabels: {
app: 'elasticsearch'
app: 'cluster'
}
}
}
Expand All @@ -1605,9 +1605,9 @@ module pool2 './modules/aks_agent_pool.bicep' = {
]
subnetId: virtualNetworkNewOrExisting != 'new' ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}' : '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}'
podSubnetId: virtualNetworkNewOrExisting != 'new' && enablePodSubnet ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${podSubnetName}' : ''
nodeTaints: ['app=elasticsearch:NoSchedule']
nodeTaints: ['app=cluster:NoSchedule']
nodeLabels: {
app: 'elasticsearch'
app: 'cluster'
}
}
}
Expand All @@ -1625,9 +1625,9 @@ module pool3 './modules/aks_agent_pool.bicep' = {
]
subnetId: virtualNetworkNewOrExisting != 'new' ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}' : '${vnetId[virtualNetworkNewOrExisting]}/subnets/${aksSubnetName}'
podSubnetId: virtualNetworkNewOrExisting != 'new' && enablePodSubnet ? '${vnetId[virtualNetworkNewOrExisting]}/subnets/${podSubnetName}' : ''
nodeTaints: ['app=elasticsearch:NoSchedule']
nodeTaints: ['app=cluster:NoSchedule']
nodeLabels: {
app: 'elasticsearch'
app: 'cluster'
}
}
}
Expand Down

0 comments on commit 3ad9da7

Please sign in to comment.