Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 968 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 968 Bytes

k3d Example

The k3d example uses k3d and tanka to produce a Kubernetes environment that

Requirements

Getting Started

Build latest agent images with make agent-image agentctl-image in the project root directory if there are local changes to test.

Run the following to create your cluster:

# Create a new k3d cluster
./scripts/create.bash

# Merge the k3d cluster config with your local kubectl config
./scripts/merge_k3d.bash

# Import images into k3d if they are not available on docker hub
k3d import-images -n agent-k3d grafana/agent
k3d import-images -n agent-k3d grafana/agentctl

tk apply ./environment

# Navigate to localhost:30080 in your browser to view dashboards

# Delete the k3d cluster when you're done with it
k3d delete -n agent-k3d