Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Last active March 2, 2020 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrieljoelc/f6f0f97692f2dee4590c0403865b29cb to your computer and use it in GitHub Desktop.
Save gabrieljoelc/f6f0f97692f2dee4590c0403865b29cb to your computer and use it in GitHub Desktop.

GistID: f6f0f97692f2dee4590c0403865b29cb

Dapr on Azure

Serverless

I want to replace Azure Functions with custom auto-scaling / consumption utilization using Dapr. I'm going to use this sample to get started.

Pre-requisite steps:

  1. Someone else created an Azure Kubernetes Service cluster using this
  2. I install kubctl
  3. I install Helm 3
  4. I installed Azure CLI
  5. I connected to the AKS cluster locally with this command
az aks get-credentials -n [our_aks_cluster_name] -g [our_resource_group]

Keda installation

# https://keda.sh/deploy/

helm repo add kedacore https://kedacore.github.io/charts
helm repo update
# Helm 3
kubectl create namespace keda
helm install keda kedacore/keda --namespace keda

Kafka and Keda configuration

Followed all steps after this.

Test: publish to Kafka

TODO: try to use the publish to Kafka with this howto

Scheduled messages

TODO: see if we can get Sidekiq running (without Rails) and Redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment