π 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.
Top comments (0)