Skip to content

Helm chart template sample of Dapr applications which can reduce boilerplates

License

Notifications You must be signed in to change notification settings

Syuparn/helm-chart-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

helm-chart-sample

Helm chart template sample of Dapr applications which can reduce boilerplates

about

This is a helm chart of Dapr sample application Distributed Calculator.

usage

print manifests

$ helm template ./distributed-calculator/

deploy apps

use Helm command

# prepare kind cluster
$ kind create cluster
# deploy dependent resources in advance
# Dapr (see https://docs.dapr.io/operations/hosting/kubernetes/kubernetes-deploy/#add-and-install-dapr-helm-chart)
$ helm upgrade --install dapr dapr/dapr \
--version=1.5 \
--namespace dapr-system \
--create-namespace \
--wait
# Redis (see https://github.com/bitnami/charts/tree/master/bitnami/redis)
$ helm install redis bitnami/redis
# deploy distributed-calculator
$ helm install distributed-calculator ./distributed-calculator/
# connect to frontend
$ kubectl port-forward svc/calculator-front-end 8080:80
# connect to tracer
$ kubectl port-forward svc/zipkin 9411:9411
# now you can access the calculator on localhost:8080 and the tracer on localhost:9411

use Skaffold

$ skaffold run --port-forward
# you can access the calculator on localhost:8080 and the tracer on localhost:9411

About

Helm chart template sample of Dapr applications which can reduce boilerplates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages