View Test.ps1
This file contains 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
FUNCTION GenerateMasterKeyAuthorizationSignature | |
{ | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String] $verb, # HTTP verb, such as GET, POST, or PUT | |
[Parameter(Mandatory=$true)][String] $resourceLink, # Case SeNsItIvE!!! (this is the parent path for the $resourceType) | |
[Parameter(Mandatory=$true)][String] $resourceType, # type of resource that the request is for, Eg. "dbs", "colls", "docs" | |
[Parameter(Mandatory=$true)][String] $dateTime, # Must exactly match x-ms-date in header (and be lower case) | |
[Parameter(Mandatory=$true)][String] $key, # |
View gist:8213f9c160ab5bc53111bc7047ca81c6
This file contains 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
locals { | |
global_resource_group = "stackover" | |
resource_group = "stackover-${var.env_prefix}" | |
cluster_name = "stackover-${var.env_prefix}-cluster" | |
ingress_address_res_name = "stackover-${var.env_prefix}-ingress-ip" | |
} | |
# --- Existing resources ----------------------------------------------------- | |
data "azurerm_container_registry" "container_registry" { |
View Install tye
This file contains 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
dotnet tool install -g Microsoft.Tye --version "0.2.0-alpha.20258.3" |
View gist:de85e9cce3b5aa2bd0647a8ddae68b98
This file contains 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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Azure.Management.Fluent; | |
namespace AciManagerFuncApp | |
{ |
View Deploy function
This file contains 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
⚡ C:\processOrder>func kubernetes deploy --name processorder --registry sajeetharan |
View EnableKeda
This file contains 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
⚡ C:\processOrder>func kubernetes install --namespace kube-system --dry-run > keda.yaml | |
kubectl apply -f keda.yaml --namespace="kube-system" | |
View newfnKeda
This file contains 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
C:\processOrder>func new |
View fnkeda
This file contains 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
⚡ C:\processOrder>func init --docker |
View akskeda
This file contains 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
⚡ C:\keda | |
C:\>az aks create --resource-group "rgKeda" --name "aksKeda" --node-count 2 --generate-ssh-keys |
View sqkeda
This file contains 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
⚡ C:\keda | |
❯ az storage queue create --name "sqkeda" --account-name "sakeda" |
NewerOlder