git clone https://github.com/thekubefleet/kubefleet.git
cd kubefleet
# Install Go dependencies
go mod tidy
# Install Node.js dependencies
cd dashboard
npm install
cd ..
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
proto/agent.proto
go run ./cmd/server
cd dashboard
npm start
go run ./cmd/agent
Open your browser and navigate to:
http://localhost:3000
KubeFleet includes a comprehensive log viewer for monitoring pod logs in real-time.
Choose specific containers or view all containers in the pod
Filter by ERROR, WARN, INFO, DEBUG levels
Search for specific text patterns in log messages
Toggle real-time log updates every 5 seconds
The log viewer provides a comprehensive interface for monitoring pod logs with real-time updates, filtering, and search capabilities.
# Build agent
docker build -t kubefleet-agent:latest .
# Build dashboard
docker build -f Dockerfile.dashboard -t kubefleet-dashboard:latest .
# Deploy dashboard
kubectl apply -f deploy/dashboard-deployment.yaml
# Deploy agent
kubectl apply -f deploy/agent-deployment.yaml
# Check deployment status
kubectl get pods -l app=kubefleet-dashboard
kubectl get pods -l app=kubefleet-agent
# Port forward to access dashboard
kubectl port-forward svc/kubefleet-dashboard 3000:3000
Then visit http://localhost:3000
KUBEFLEET_SERVER_ADDR=localhost:50051 # gRPC server address
HTTP_PORT=3000 # HTTP server port
GRPC_PORT=50051 # gRPC server port
The agent requires the following Kubernetes permissions:
KUBEFLEET_SERVER_ADDR
environment variable