🚀 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.