Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
azure-cni example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalya Subramanian authored and ksubrmnn committed Mar 9, 2020
1 parent 2f6bc96 commit 3d2365a
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
55 changes: 55 additions & 0 deletions examples/windows/kubernetes-hybrid.azure-containerd.json
@@ -0,0 +1,55 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.18",
"kubernetesConfig": {
"networkPlugin": "azure",
"containerRuntime": "containerd",
"windowsContainerdURL": "https://aksenginee2etestimages.blob.core.windows.net/test-content/windows-cri-containerd.zip",
"windowsSdnPluginURL": "https://aksenginee2etestimages.blob.core.windows.net/test-content/windows-cni-containerd.zip"
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "linuxpool1",
"count": 2,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "windowspool2",
"count": 2,
"vmSize": "Standard_D2s_v3",
"availabilityProfile": "AvailabilitySet",
"osType": "Windows"
}
],
"windowsProfile": {
"adminUsername": "azureuser",
"adminPassword": "replacepassword1234$",
"enableAutomaticUpdates": false,
"sshEnabled": true
},
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
},
"servicePrincipalProfile": {
"clientId": "",
"secret": ""
}
}
}
2 changes: 1 addition & 1 deletion parts/k8s/kuberneteswindowssetup.ps1
Expand Up @@ -342,6 +342,7 @@ try
-AzureEnvironmentFilePath $([io.path]::Combine($global:KubeDir, "azurestackcloud.json")) `
-IdentitySystem "{{ GetIdentitySystem }}"
}
# To Check: Hopefully no change needed here for containerd
}
elseif ($global:NetworkPlugin -eq "kubenet") {
Write-Log "Fetching additional files needed for kubenet"
Expand All @@ -351,7 +352,6 @@ try
} else {
Update-WinCNI -CNIPath $global:CNIPath
}
Get-HnsPsm1 -HNSModule $global:HNSModule
}

New-ExternalHnsNetwork
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/templates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d2365a

Please sign in to comment.