Deploying Dapr with Kubernetes

🚀 Dapr + Kubernetes: Hello Kubernetes Quickstart

This guide walks you through deploying Dapr on Kubernetes using the Hello Kubernetes quickstart. It demonstrates service invocation and state management between a Node.js and a Python app.


This content originally appeared on DEV Community and was authored by Siri Varma Vegiraju

🚀 Dapr + Kubernetes: Hello Kubernetes Quickstart

This guide walks you through deploying Dapr on Kubernetes using the Hello Kubernetes quickstart. It demonstrates service invocation and state management between a Node.js and a Python app.

đź§° Prerequisites

Make sure you have the following installed:

📦 Step 1: Clone the Repository

git clone https://github.com/dapr/quickstarts.git
cd quickstarts/tutorials/hello-Kubernetes

⚙️ Step 2: Initialize Dapr on Kubernetes

Install Dapr in your Kubernetes cluster in dev mode:

dapr init -k --dev

📝 This installs:

Dapr control plane
Redis (state store)
Zipkin (distributed tracing)

🚀 Step 3: Deploy the Sample Applications

Apply the Kubernetes manifests provided in the repo:

kubectl apply -f deploy/

📦 This deploys:

Node.js app
Python app
Associated Dapr sidecars
Required services

🔍 Step 4: Verify Everything is Running

Check the pods:

kubectl get pods

You should see pods for:

nodeapp
pythonapp
redis
zipkin

Everything should be in the Running state.

📊 Step 5: (Optional) Launch the Dapr Dashboard

To monitor your Dapr applications visually:

dapr dashboard -k

This opens the dashboard in your default browser.

âś… You're All Set!

Your Dapr-enabled apps are now running on Kubernetes!
For deeper insights and testing, visit the Hello Kubernetes README.


This content originally appeared on DEV Community and was authored by Siri Varma Vegiraju


Print Share Comment Cite Upload Translate Updates
APA

Siri Varma Vegiraju | Sciencx (2025-04-24T22:10:22+00:00) Deploying Dapr with Kubernetes. Retrieved from https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/

MLA
" » Deploying Dapr with Kubernetes." Siri Varma Vegiraju | Sciencx - Thursday April 24, 2025, https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/
HARVARD
Siri Varma Vegiraju | Sciencx Thursday April 24, 2025 » Deploying Dapr with Kubernetes., viewed ,<https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/>
VANCOUVER
Siri Varma Vegiraju | Sciencx - » Deploying Dapr with Kubernetes. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/
CHICAGO
" » Deploying Dapr with Kubernetes." Siri Varma Vegiraju | Sciencx - Accessed . https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/
IEEE
" » Deploying Dapr with Kubernetes." Siri Varma Vegiraju | Sciencx [Online]. Available: https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/. [Accessed: ]
rf:citation
» Deploying Dapr with Kubernetes | Siri Varma Vegiraju | Sciencx | https://www.scien.cx/2025/04/24/deploying-dapr-with-kubernetes/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.