- For any and all RKE2 Windows Clusters, v1.22.x or higher of RKE2 needs to be used. This is due to a Calico 3.19.x bug in v1.21.x of RKE2 that Tigera will not backport.
- The minor version of Calico was changed midway through the RKE2 v1.22 lifecycle.
- rke2 v1.22.3+rke2r1 through v1.22.6+rke2r1 have Calico 3.20.x (3.20.1 for v1.22.3+rke2r1 only and then 3.20.2 until v1.22.7+rke2r1)
- rke2 v1.22.7+rke2r1 and up have Calico 3.21.4 (or higher)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cheat-sheet for using dynamically defined variables between steps, jobs and stages in Azure DevOps Yaml Pipelines | |
# Documentation: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch | |
trigger: none | |
pr: none | |
stages: | |
- stage: DefineVarStage | |
jobs: | |
- job: DefineVarJob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$rootFolder = "C:\Projects\Upgrade\SC\src" | |
$files = Get-ChildItem -Filter *serialization.config -Path $rootFolder -Recurse | |
foreach($file in $files) | |
{ | |
$newSerializationJson = New-Object -TypeName pscustomobject | |
Write-Host "Convert Started: " + $file.FullName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you have enabled "Expose hardware assisted virtualization to the guest OS" for the VMWare CPU | |
Write-Host "##############################`nInstalling features: Containers, Hyper-V, Hyper-V-PowerShell`n##############################`n" | |
Install-WindowsFeature Containers | |
Install-WindowsFeature Hyper-V | |
Install-WindowsFeature Hyper-V-PowerShell | |
Write-Host "##############################`nDisabling firewall`n##############################`n" | |
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run with defaults: iex (iwr "https://gist.githubusercontent.com/pbering/309c5a14162dcbe70e842295e0319022/raw" -UseBasicParsing).Content | |
param ( | |
[Parameter(Mandatory = $false)] | |
[string]$DockerVersion = "27.5.1" | |
, | |
[Parameter(Mandatory = $false)] | |
[string]$ComposeVersion = "2.33.1" | |
, | |
[Parameter(Mandatory = $false)] |
To create a VM, you need an image. This can be found by using az vm image list
. Some examples below:
`az vm image list -p MicrosoftWindowsServer -f windowsserver -s datacenter-core-2004 --all
`az vm image list -p MicrosoftWindowsServer -f windowsserver -s datacenter-core-20H2 --all
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$registry = "%registry name here, i.e. myregistry%" | |
$repositories = docker images --digests | % { $_ -replace " +", "," } | convertfrom-csv | where { $_.REPOSITORY.StartsWith($registry) } | group REPOSITORY | |
Write-Output "Found $($repositories.Count) local repositories from $($registry) registry" | |
foreach ($group in $repositories) { | |
$repository = $group.Name.Split('/')[1] | |
$remoteData = az acr repository show-tags -n $registry --repository $repository --detail | convertfrom-json | |
foreach ($localRepo in $group.Group) { | |
$localRepo | Add-Member -NotePropertyName REPO -NotePropertyValue $repository |
title | subtitle | author | date | source |
---|---|---|---|---|
Build, Publish and Deploy ASP.NET Web Applications from the Command Line |
How to use the MSBuild (or dotnet) command to build, publish, deploy ASP.NET web applications from the command line. |
Microsoft |
December 12, 2019 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
$solrVersion = "6.6.2", | |
$installFolder = "c:\solr", | |
$solrPort = "8983", | |
$solrHost = "solr", | |
$solrSSL = $true, | |
$nssmVersion = "2.24", | |
$JREVersion = "1.8.0_151" | |
) |
NewerOlder