Skip to content
Community

logo

Dapr#

Chart Name Version App version
dapr 1.16.9 1.16.9
dapr-dashboard 0.15.0 0.15.0

Dapr (Distributed Application Runtime) is an open-source, portable, event-driven runtime that makes it easy for developers to build resilient, microservices applications that run on the cloud and edge. Dapr provides APIs that abstract away the complexities of common challenges when building distributed applications, such as: Service-to-service invocation: Enables reliable and secure communication between microservices.

State management: Provides a consistent way to manage application state.

Publish and subscribe: Allows microservices to communicate asynchronously through message brokers.

Bindings: Connects applications to external systems and services (e.g., databases, message queues, cloud services).

Actors: Provides a framework for building stateful, concurrent objects.

Observability: Offers built-in observability features, including tracing, metrics, and logging.


Looking for Commercial Support? LEARN MORE

Prerequisites#

Deploy k0rdent v1.4.0: QuickStart

Install template to k0rdent#

helm upgrade --install dapr oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=dapr:1.16.9" -n kcm-system
helm upgrade --install dapr-dashboard oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=dapr-dashboard:0.15.0" -n kcm-system

Verify service template#

kubectl get servicetemplates -A
# NAMESPACE    NAME                            VALID
# kcm-system   dapr-1-16-9                     true
# kcm-system   dapr-dashboard-0-15-0           true

Deploy service template#

apiVersion: k0rdent.mirantis.com/v1beta1
kind: MultiClusterService
metadata:
  name: dapr
spec:
  clusterSelector:
    matchLabels:
      group: demo
  serviceSpec:
    services:
    - template: dapr-1-16-9
      name: dapr
      namespace: dapr
    - template: dapr-dashboard-0-15-0
      name: dapr-dashboard
      namespace: dapr

Prerequisites#

Deploy k0rdent v1.4.0: QuickStart

Install template to k0rdent#

helm upgrade --install traefik oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=traefik:39.0.5" -n kcm-system
helm upgrade --install dapr oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=dapr:1.16.9" -n kcm-system
helm upgrade --install dapr-dashboard oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=dapr-dashboard:0.15.0" -n kcm-system

Verify service template#

kubectl get servicetemplates -A
# NAMESPACE    NAME                            VALID
# kcm-system   traefik-39-0-5                  true
# kcm-system   dapr-1-16-9                     true
# kcm-system   dapr-dashboard-0-15-0           true

Deploy service template#

apiVersion: k0rdent.mirantis.com/v1beta1
kind: MultiClusterService
metadata:
  name: dapr
spec:
  clusterSelector:
    matchLabels:
      group: demo
  serviceSpec:
    services:
    - template: traefik-39-0-5
      name: traefik
      namespace: dapr
      values: |
        traefik:
          deployment:
            kind: DaemonSet
          ports:
            web:
              port: 8000
              hostPort: 80
            websecure:
              port: 8443
              hostPort: 443
    - template: dapr-1-16-9
      name: dapr
      namespace: dapr
    - template: dapr-dashboard-0-15-0
      name: dapr-dashboard
      namespace: dapr
      values: |
        dapr-dashboard:
          ingress:
            enabled: true
            host: ''