This is a simple dapr side car actor app to demonstrate timers in actors
- Docker desktop
- Kubernetes enabled in docker desktop
- kubectl
- helm
- docker build -t my-js-actor-app .
- docker tag my-js-actor-app /my-js-actor-app:latest
- docker push /my-js-actor-app:latest
kubectl create secret docker-registry myregistrykey
--docker-server=https://index.docker.io/v1/
--docker-username=
--docker-password=
--docker-email=
--namespace=default
helm upgrade --install dapr dapr/dapr
--version=1.14.4
--namespace dapr-system
--create-namespace
--wait
helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update helm install my-redis bitnami/redis
Remember to set the redis password in redis-state
kubectl apply -f redis-state.yaml
kubectl apply -f deployment.yaml