Skip to content

Commit b630db1

Browse files
TarasPriadkacopybaranaut
authored andcommitted
Update Grafana Demo README.
Summary: updating Grafana Demo to have the full deployment instructions for someone outside of Pixie. Test Plan: N/A Reviewers: vihang, michelle Reviewed By: michelle Signed-off-by: Taras Priadka <tpriadka@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D12001 GitOrigin-RevId: 8b76f66
1 parent d667a2a commit b630db1

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

k8s/grafana_demo/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
# Grafana Plugin Demo
22

3-
This demo is intended to display a sample use of Pixie Datasource Plugin for Grafana. This folder contains manifests to deploy and configure a sample grafana application which displays information about a sample cluster.
3+
This demo is intended to display a sample use of Pixie Datasource Plugin for Grafana. This folder contains manifests to deploy and configure a sample Grafana application which displays information about a sample cluster.
44

55
## Deploy Grafana Demo Application
66

7+
1. Define your secret file. Example:
8+
```
9+
apiVersion: v1
10+
kind: Secret
11+
metadata:
12+
name: grafana-demo-secret
13+
type: Opaque
14+
stringData:
15+
PIXIE_API_KEY: api_key
16+
```
17+
2. Deploy demo application:
718
```
819
kubectl apply -f PATH_TO_SECRET/grafana_plugin_secret.yaml
9-
kubectl apply -f pixielabs/demos/grafana-demo/
20+
kubectl apply -f PATH_TO_PIXIE_REPO/k8s/grafana_demo
1021
```
11-
22+
Note:
23+
Since the the ingress manifests are configured to work with Pixie GCP DNS, you will want to configure `grafana-ingress.yaml` with your DNS configurations.
24+
If you don't want to use ingress configurations, you may delete `grafana-ingress.yaml`, and change `grafana-service.yaml` to change service type to `LoadBalancer`.
1225
## Delete Grafana Demo Application
1326

1427
```
15-
kubectl delete -f pixielabs/demos/grafana-demo/ --ignore-not-found=true
28+
kubectl delete -f PATH_TO_PIXIE_REPO/k8s/grafana_demo --ignore-not-found=true
1629
```

0 commit comments

Comments
 (0)