Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update testnet #135

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flux/components/monitoring/configs/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ resources:
- system
- kubernetes
- kubevirt.yml
- lightmare.yml
16 changes: 16 additions & 0 deletions flux/components/monitoring/configs/lightmare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: lightmare-monitoring
namespace: flux-system
spec:
interval: 1m0s
path: ./flux/components/monitoring/configs/lightmare
prune: true
sourceRef:
kind: GitRepository
name: spectrum
namespace: flux-system
dependsOn:
- name: lightmare
namespace: flux-system
19 changes: 19 additions & 0 deletions flux/components/monitoring/configs/lightmare/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- service-monitor.yml
generatorOptions:
disableNameSuffixHash: true
labels:
grafana_dashboard: "1"
app.kubernetes.io/part-of: spectrum-monitoring
app.kubernetes.io/component: lightmare
commonAnnotations:
grafana_folder: "lightmare"

# tbd
# configMapGenerator:
# - name: dashboards-k8s-lightmare
# files:
# - *.json
17 changes: 17 additions & 0 deletions flux/components/monitoring/configs/lightmare/service-monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: lightmare
labels:
app.kubernetes.io/part-of: spectrum-monitoring
app.kubernetes.io/component: lightmare
spec:
selector:
matchLabels:
app: lightmare
namespaceSelector:
matchNames:
- lightmare
endpoints:
- port: metrics
scheme: http
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
enabled: false
prometheus:
prometheusSpec:
retention: 24h
retention: 168h
resources:
requests:
cpu: 200m
Expand All @@ -48,6 +48,7 @@ spec:
- "kube-state-metrics"
- "prometheus-node-exporter"
- "spectrum-monitoring"
- "lightmare"

podMonitorNamespaceSelector: {}
podMonitorSelector:
Expand Down
2 changes: 1 addition & 1 deletion flux/core/lightmare/app/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
operator:
image:
repository: "fluencelabs/lightmare"
tag: "0.2.2@sha256:c388db52bd9e7533862c011864819bf1253e7633d13fed618597a34a54f8427f"
tag: "0.2.3@sha256:42ab72c54c359aca3219d774eeeac98de3f588c36505ceba0b4c787916d9e236"
config:
ccp:
image:
Expand Down
Loading