Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Debugging "Object reference not set to an instance of an object." 😬

Sajeetharan sajeetharan

💭
Debugging "Object reference not set to an instance of an object." 😬
View GitHub Profile
@sajeetharan
sajeetharan / Install tye
Created Dec 20, 2020
Install Project Tye
View Install tye
dotnet tool install -g Microsoft.Tye --version "0.2.0-alpha.20258.3"
View gist:de85e9cce3b5aa2bd0647a8ddae68b98
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
⚡ C:\processOrder>func kubernetes deploy --name processorder --registry sajeetharan
@sajeetharan
sajeetharan / EnableKeda
Last active Sep 27, 2020
Enable KEDA on AKS
View EnableKeda
⚡ C:\processOrder>func kubernetes install --namespace kube-system --dry-run > keda.yaml
kubectl apply -f keda.yaml --namespace="kube-system"
@sajeetharan
sajeetharan / newfnKeda
Created Sep 27, 2020
Create new function
View newfnKeda
C:\processOrder>func new
@sajeetharan
sajeetharan / fnkeda
Created Sep 27, 2020
Create a containerized azure function
View fnkeda
⚡ C:\processOrder>func init --docker
@sajeetharan
sajeetharan / akskeda
Created Sep 27, 2020
Create AKS cluster for KEDA
View akskeda
⚡ C:\keda
C:\>az aks create --resource-group "rgKeda" --name "aksKeda" --node-count 2 --generate-ssh-keys
@sajeetharan
sajeetharan / sqkeda
Created Sep 27, 2020
Create Storage Queue
View sqkeda
⚡ C:\keda
❯ az storage queue create --name "sqkeda" --account-name "sakeda"
@sajeetharan
sajeetharan / sbKeda
Last active Sep 27, 2020
Create Storage Account
View sbKeda
⚡ C:\keda
❯ az storage account create --name sakeda --resource-group rgKeda
@sajeetharan
sajeetharan / rgKeda
Created Sep 27, 2020
Create resource group
View rgKeda
⚡ C:\keda
❯ az group create --location "southeastasia" --name "rgKeda"