Skip to content

yaron2/dapr-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dapr Dashboard

The Dapr Dashboard is a web-based UI for Dapr, allowing users to see information, view logs and more for the Dapr sidecars running either locally or in a Kubernetes cluster.

Getting started

Local machine

First, make sure you have Go installed. Go > 1.13 is required.

mkdir -p $GOPATH/src/github.com/yaron2
cd $GOPATH/src/github.com/yaron2
git clone git@github.com:yaron2/dapr-ui.git
cd dapr-ui
go build
./dapr-ui

Done! point your browser to http://localhost:8080.

Kubernetes

  1. Deploy the dashboard:
kubectl apply -f https://raw.githubusercontent.com/yaron2/dapr-ui/master/deploy/dashboard.yaml

Wait until the dashboard pod is in Running state:

kubectl get pod --selector=app=dapr-dashboard -w
  1. Connect to the dashboard:
kubectl port-forward svc/dapr-dashboard 8080:8080

Done! point your browser to http://localhost:8080.

Building from source

First, install the Angular CLI:

npm i @angular/cli

Build the website and the Go web server into the /release dir:

./buid.sh

Building a Docker image

After you have the release dir in place, run:

docker build -t <image>:<tag> .
docker push <image>:<tag>