-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
195 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
manifest.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Deployment | ||
|
||
In order for K8s to access the data generator Docker image, the `image-pull-cr8` secret is needed. This is replicated from the `templates` namespace. | ||
|
||
The data generator uses the `admin` user and access the corresponding password from the K8s secret. | ||
|
||
```console | ||
$ j2cli -c grafana_config_map.yml k8s_deploy_grafana_demo_data.yml > manifest.yaml | ||
$ kubectl --context k8s.westeurope.azure apply -f manifest.yaml | ||
``` |
7 changes: 6 additions & 1 deletion
7
src/data_generator/examples/grafana_demo_live/grafana_config_map.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
kubernetes: | ||
name: grafana-demo-data | ||
namespace: 00768a8e-14ea-4daa-bc38-592bf1486d85 | ||
|
||
version: latest | ||
version: v0.1.2 | ||
|
||
ID_START: 1 | ||
ID_END: 150 | ||
|
||
db: | ||
crateuri: https://grafana-demo-1.westeurope.azure.cratedb.net:4200 | ||
|
||
credentials: | ||
username: admin | ||
password_k8s_secret: user-password-35e75e5f-5308-4e98-999d-2be9d2fa47af-0 |
138 changes: 0 additions & 138 deletions
138
src/data_generator/examples/grafana_demo_live/grafana_demo_model.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters