Skip to content

shabbirsaifee92/openfunction-dapr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Pre-requisites

Access to a kubernetes cluster

Lab setup

  1. Create azure service bus and new topic and get the endpoint connection strings a. servicebus name: knative-dapr-demo b. topic name: knative-dapr-demo

  2. Add openfunction chart repo

      helm repo add openfunction https://openfunction.github.io/charts
      helm repo update
    
  3. Deploy openfunction chart

      helm install openfunction openfunction/openfunction -n openfunction --create-namespace --wait
    
  4. Create namespace for the demo

      kubectl create ns knative-dapr-demo
    
  5. Deploy dapr component to use azure service bus (replace the connection string in dapr/azure-service-bus-component.yaml)

      kubectl apply -f dapr/azure-service-bus-component.yaml
    
  6. Update SERVICEBUS_CONNECTIONSTRING in subscriber/open-subscriber.yaml

      kubectl apply -f subscriber/open-subscriber.yaml
    
  7. Deploy subscriber

      kubectl apply -f subscriber/open-subscriber.yaml
    
  8. Send a message topic from azure portal, and see the subscriber scale up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published