Skip to content
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

ARM template for Nodepool Provision Cluster #14215

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9a678c4
adding arm templates
ReddyVanshika Apr 15, 2024
315d35c
Merge branch 'Azure:master' into master
ReddyVanshika Aug 20, 2024
8f92e41
Create metadata.json
ReddyVanshika Sep 30, 2024
0bcfa86
Create metadata.json
ReddyVanshika Sep 30, 2024
eaa38c8
changed to have only one folder
ReddyVanshika Oct 23, 2024
9d304f9
Merge branch 'Azure:master' into master
ReddyVanshika Oct 23, 2024
a15f16f
updated PR with ReadMe and correct names. ReadMe needs a few more cha…
ReddyVanshika Nov 6, 2024
4596c85
Merge branch 'Azure:master' into master
ReddyVanshika Nov 7, 2024
a4b19db
updated readme
ReddyVanshika Nov 7, 2024
fea1610
Merge branch 'master' of ssh://github.com/ReddyVanshika/azure-quickst…
ReddyVanshika Nov 7, 2024
6caa9ee
nodepool changes
ReddyVanshika Nov 11, 2024
90065f7
modified ReadMe
ReddyVanshika Nov 13, 2024
39171a7
modified ReadMe
ReddyVanshika Nov 13, 2024
fb2146c
fixed best practices
ReddyVanshika Nov 13, 2024
aabc4d9
fixed best practices
ReddyVanshika Nov 13, 2024
d787372
testing params
ReddyVanshika Nov 14, 2024
c1ae7d1
checking if template creation works
ReddyVanshika Nov 14, 2024
92ba35e
adding nodepool
ReddyVanshika Nov 14, 2024
30f3222
fixed capitalization
ReddyVanshika Nov 14, 2024
54044fb
modified readMe
ReddyVanshika Nov 14, 2024
a77a4df
used gen-unique
ReddyVanshika Nov 15, 2024
b2aade8
updated metadata
ReddyVanshika Nov 15, 2024
80955e4
commenting depedns on
ReddyVanshika Nov 15, 2024
63c08f2
reverting
ReddyVanshika Nov 15, 2024
8dad091
changed provisioned cluster type
ReddyVanshika Nov 26, 2024
99001dd
changed provisioned cluster type back emoved scope
ReddyVanshika Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions quickstarts/microsoft.aksarc/nodepool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
description: Deploys a nodepool on an existing provisioned cluster
page_type: sample
products:
- azure
- azure-resource-manager
urlFragment: nodepool
languages:
- json
- bicep
---
# Create an AKS ARC nodepool on an existing provisioned cluster using a template

![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/PublicLastTestDate.svg)
![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/PublicDeployment.svg)

![Azure US Gov Last Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/FairfaxLastTestDate.svg)
![Azure US Gov Last Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/FairfaxDeployment.svg)

![Best Practice Check](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/BestPracticeResult.svg)
![Cred Scan Check](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/CredScanResult.svg)

![Bicep Version](https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.aksarc/nodepool/BicepVersion.svg)

[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.aksarc%2Fnodepool%2Fazuredeploy.json)
[![Deploy To Azure US Gov](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true)](https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.aksarc%2Fnodepool%2Fazuredeploy.json)
[![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.aksarc%2Fnodepool%2Fazuredeploy.json)

This template allows you to deploy a new AKS ARC nodepool on an existing provisioned cluster.

For more information about Azure Kuberneties Service, see [What is Azure Arc enabled Kuberneties](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/overview).

`Tags: Microsoft.aksarc/nodepool`
54 changes: 54 additions & 0 deletions quickstarts/microsoft.aksarc/nodepool/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters" : {
"provisionedClusterName": {
"type": "string"
},
"agentName": {
"type": "string"
},
"agentVMSize": {
"type": "string"
},
"agentCount": {
"type": "int"
},
"agentOsType": {
"type": "string"
},
"location": {
"type": "string"
}
},
"resources" : [
{
"type": "Microsoft.Kubernetes/connectedClusters",
"apiVersion": "2024-01-01",
"name": "[parameters('provisionedClusterName')]",
"location": "[parameters('location')]",
"condition" : false
},
// {
// "type": "Microsoft.HybridContainerService/provisionedClusterInstances",
// "apiVersion": "2024-01-01",
// "name": "[parameters('provisionedClusterName')]",
// "location": "[parameters('location')]",
// "condition" : false
// },
{
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/agentPools",
"apiVersion": "2024-01-01",
"name": "[concat('default/', parameters('agentName'))]",
// "scope": "[resourceId('Microsoft.Kubernetes/connectedClusters', parameters('provisionedClusterName'))]",
"dependsOn": [
"[resourceId('Microsoft.Kubernetes/connectedClusters', parameters('provisionedClusterName'))]"
],
"properties": {
"count": "[parameters('agentCount')]",
"osType": "[parameters('agentOsType')]",
"vmSize": "[parameters('agentVMSize')]"
}
}
]
}
24 changes: 24 additions & 0 deletions quickstarts/microsoft.aksarc/nodepool/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"provisionedClusterName": {
"value": "GEN-UNIQUE"
},
"location": {
"value": "eastus"
},
"agentName": {
"value": "GEN-UNIQUE"
},
"agentVMSize": {
"value": "Standard_A4_v2"
},
"agentCount": {
"value": 3
},
"agentOsType": {
"value": "Linux"
}
}
}
10 changes: 10 additions & 0 deletions quickstarts/microsoft.aksarc/nodepool/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploys a nodepool",
"description": "Deploys a nodepool on an existing provisioned cluster with workload identity federation enabled and OIDC issuer URL enabled on ASZ environment.",
"summary": "Create a nodepool instance using a template",
"githubUsername": "ReddyVanshika",
"docOwner": "ReddyVanshika",
"dateUpdated": "2024-11-15"
}
Loading