forked from fluxcd/flux2-monitoring-example
-
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.
Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> add image controller Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> refactor-1 image controller Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> add image automation for bootstrap-repo default namespace Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> new policy Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> remove tests try version 56 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> was this broken in 57.0.0 or a later patch release Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> try 57.1.0 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> 57.2.0 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> so 57.1.1 could still work theoretically Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> this version did not work 57.2.0 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> test the fix suggested by dotdc prometheus-community/helm-charts#4410 (comment) Thanks 🙏 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> try tag v2.12.0 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> revert kube-state-metrics v2.12.0 test Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> can go as high as 57.1.1 Signed-off-by: Kingdon P Barrett <kingdon@tuesdaystudios.com> Replace deprecated loki-stack with loki+promtail helm charts Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> don't set storage: filesystem Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> persistence: enable: false Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> volumeClaimsEnabled Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> test 58.0.x again Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com>
- Loading branch information
Showing
8 changed files
with
1,538 additions
and
37 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,24 @@ | ||
--- | ||
apiVersion: source.toolkit.fluxcd.io/v1 | ||
kind: GitRepository | ||
metadata: | ||
name: fleet-infra | ||
namespace: flux-system | ||
spec: | ||
interval: 1m0s | ||
ref: | ||
branch: main | ||
url: https://github.com/kingdon-ci/fleet-infra | ||
--- | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: fleet-infra | ||
namespace: flux-system | ||
spec: | ||
interval: 10m0s | ||
path: ./clusters/talos-dev | ||
prune: true | ||
sourceRef: | ||
kind: GitRepository | ||
name: fleet-infra |
Large diffs are not rendered by default.
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
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
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,85 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta2 | ||
kind: HelmRelease | ||
metadata: | ||
name: loki | ||
spec: | ||
interval: 5m | ||
dependsOn: | ||
- name: kube-prometheus-stack | ||
chart: | ||
spec: | ||
version: "5.x" | ||
chart: loki | ||
sourceRef: | ||
kind: HelmRepository | ||
name: grafana-charts | ||
interval: 60m | ||
# https://github.com/grafana/loki/blob/main/production/helm/loki/values.yaml | ||
values: | ||
loki: | ||
auth_enabled: false | ||
serviceMonitor: | ||
enabled: true | ||
labels: | ||
app.kubernetes.io/part-of: kube-prometheus-stack | ||
commonConfig: | ||
replication_factor: 1 | ||
storage: | ||
type: 'filesystem' | ||
chunk_store_config: | ||
max_look_back_period: 24h | ||
# Configure compactor | ||
compactor: | ||
shared_store: filesystem | ||
compaction_interval: 10m | ||
delete_request_cancel_period: 10m | ||
retention_enabled: true | ||
retention_delete_delay: 2h | ||
retention_delete_worker_count: 150 | ||
limits_config: | ||
retention_period: 24h | ||
write: | ||
persistence: | ||
volumeClaimsEnabled: false | ||
gateway: | ||
enabled: true | ||
singleBinary: | ||
replicas: 1 | ||
# Monitoring section determines which monitoring features to enable | ||
monitoring: | ||
# Dashboards for monitoring Loki | ||
dashboards: | ||
# -- If enabled, create configmap with dashboards for monitoring Loki | ||
enabled: false | ||
selfMonitoring: | ||
enabled: false | ||
grafanaAgent: | ||
installOperator: false | ||
# The Loki canary pushes logs to and queries from this loki installation | ||
# to test that it's working correctly | ||
lokiCanary: | ||
enabled: false | ||
# -- Section for configuring optional Helm test | ||
test: | ||
enabled: false | ||
extraObjects: | ||
- apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: loki-datasource | ||
labels: | ||
app: loki | ||
chart: loki | ||
release: loki | ||
grafana_datasource: "1" | ||
app.kubernetes.io/part-of: kube-prometheus-stack | ||
data: | ||
loki-datasource.yaml: |- | ||
apiVersion: 1 | ||
datasources: | ||
- name: Loki | ||
type: loki | ||
access: proxy | ||
url: http://loki:{{ .Values.loki.server.http_listen_port }} | ||
version: 1 | ||
isDefault: false |
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,20 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta2 | ||
kind: HelmRelease | ||
metadata: | ||
name: promtail | ||
spec: | ||
interval: 5m | ||
dependsOn: | ||
- name: kube-prometheus-stack | ||
chart: | ||
spec: | ||
version: "6.x" | ||
chart: promtail | ||
sourceRef: | ||
kind: HelmRepository | ||
name: grafana-charts | ||
interval: 60m | ||
# https://github.com/grafana/helm-charts/blob/main/charts/promtail/values.yaml | ||
values: | ||
test: | ||
enabled: false |
File renamed without changes.