-
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.
update loki demo, prepare for tag release
Signed-off-by: Kristof Gyuracz <[email protected]>
- Loading branch information
1 parent
cc11d9e
commit 6bb0f7e
Showing
5 changed files
with
37 additions
and
65 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
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
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,21 +1,26 @@ | ||
deploymentMode: SingleBinary | ||
loki: | ||
auth_enabled: false | ||
commonConfig: | ||
replication_factor: 1 | ||
storage: | ||
type: 'filesystem' | ||
monitoring: | ||
enabled: false | ||
rules: | ||
enabled: false | ||
selfMonitoring: | ||
enabled: false | ||
grafanaAgent: | ||
installOperator: false | ||
lokiCanary: | ||
enabled: false | ||
storage: | ||
type: 'filesystem' | ||
schemaConfig: | ||
configs: | ||
- from: "2024-01-01" | ||
store: tsdb | ||
index: | ||
prefix: loki_index_ | ||
period: 24h | ||
object_store: filesystem # we're storing on filesystem so there's no real persistence here. | ||
schema: v13 | ||
singleBinary: | ||
replicas: 1 | ||
test: | ||
enabled: false | ||
|
||
read: | ||
replicas: 0 | ||
backend: | ||
replicas: 0 | ||
write: | ||
replicas: 0 |
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
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,19 +1,16 @@ | ||
#!/bin/bash | ||
|
||
helm upgrade --install --namespace loki --create-namespace loki --repo https://grafana.github.io/helm-charts loki --values loki_values.yaml --version 5.38.0 | ||
helm upgrade --install --namespace=loki --repo https://grafana.github.io/helm-charts loki-grafana grafana --version 7.0.8 | ||
helm upgrade --install --namespace loki --create-namespace loki --repo https://grafana.github.io/helm-charts loki --values loki_values.yaml --version 6.12.0 | ||
helm upgrade --install --namespace loki --repo https://grafana.github.io/helm-charts loki-grafana grafana --version 8.5.1 | ||
|
||
helm upgrade --install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true --version v1.13.3 | ||
kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/download/v0.96.0/opentelemetry-operator.yaml | ||
helm upgrade --install --wait --create-namespace --namespace telemetry-controller-system telemetry-controller oci://ghcr.io/kube-logging/helm-charts/telemetry-controller | ||
|
||
(cd ../../.. && make install) | ||
|
||
kubectl apply -f manifests.yaml | ||
|
||
helm upgrade --install --wait log-generator oci://ghcr.io/kube-logging/helm-charts/log-generator -n tenant-loki-1 | ||
helm upgrade --install --wait log-generator oci://ghcr.io/kube-logging/helm-charts/log-generator -n tenant-loki-2 | ||
helm upgrade --install --wait log-generator oci://ghcr.io/kube-logging/helm-charts/log-generator -n tenant-demo-1 | ||
helm upgrade --install --wait log-generator oci://ghcr.io/kube-logging/helm-charts/log-generator -n tenant-demo-2 | ||
|
||
kubectl get secret -n loki loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode | ||
echo "" | ||
|
||
(cd ../../.. && make run) |