mirror of
https://github.com/zoriya/snow.git
synced 2025-12-05 23:06:23 +00:00
Compare commits
5 Commits
24c40f01b2
...
a10b23c4a7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a10b23c4a7 | ||
|
|
c31aad3e13 | ||
| 383b195a03 | |||
| 918688e675 | |||
| 7e371a5117 |
@@ -7,7 +7,7 @@ spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: clickhouse-operator
|
||||
namespace: clickhouse
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
@@ -21,4 +21,6 @@ spec:
|
||||
chart: altinity-clickhouse-operator
|
||||
targetRevision: 0.25.5
|
||||
helm:
|
||||
valuesObject: {}
|
||||
valuesObject:
|
||||
rbac:
|
||||
namespaceScoped: true
|
||||
|
||||
18
apps/clickhouse.yaml
Normal file
18
apps/clickhouse.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: clickhouse
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: clickhouse
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: false
|
||||
source:
|
||||
repoURL: https://github.com/zoriya/snow
|
||||
targetRevision: HEAD
|
||||
path: apps/clickhouse
|
||||
32
apps/clickhouse/cluster.yaml
Normal file
32
apps/clickhouse/cluster.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: clickhouse.altinity.com/v1
|
||||
kind: ClickHouseInstallation
|
||||
metadata:
|
||||
name: otel-cluster
|
||||
spec:
|
||||
templates:
|
||||
podTemplates:
|
||||
- name: clickhouse-pod-template
|
||||
spec:
|
||||
containers:
|
||||
- name: clickhouse
|
||||
image: altinity/clickhouse-server:25.3.6.10034.altinitystable
|
||||
volumeMounts:
|
||||
- name: clickhouse-storage
|
||||
mountPath: /var/lib/clickhouse
|
||||
volumeClaimTemplates:
|
||||
- name: clickhouse-storage
|
||||
reclaimPolicy: Retain
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
configuration:
|
||||
clusters:
|
||||
- name: otel-cluster
|
||||
layout:
|
||||
shardsCount: 1
|
||||
replicasCount: 1
|
||||
templates:
|
||||
podTemplate: clickhouse-pod-template
|
||||
@@ -39,7 +39,7 @@ controllers:
|
||||
main:
|
||||
image:
|
||||
# renovate: datasource=github-releases depName=immich-app/immich
|
||||
tag: "v2.2.2"
|
||||
tag: "v2.2.3"
|
||||
env:
|
||||
DB_URL: postgres://immich@postgres-cluster-rw.postgres/immich?sslcert=/pg/tls.crt&sslkey=/pg/tls.key&sslrootcert=/pg/ca.crt
|
||||
IMMICH_CONFIG_FILE: /config/config.yaml
|
||||
|
||||
31
apps/otel-operator.yaml
Normal file
31
apps/otel-operator.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: otel-operator
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: otel-operator
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://open-telemetry.github.io/opentelemetry-helm-charts
|
||||
chart: opentelemetry-operator
|
||||
targetRevision: 0.99.0
|
||||
helm:
|
||||
valuesObject:
|
||||
# optional and not used anymore
|
||||
kubeRBACProxy:
|
||||
enabled: false
|
||||
manager:
|
||||
collectorImage:
|
||||
repository: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-k8s
|
||||
admissionWebhooks:
|
||||
certManager:
|
||||
enabled: true
|
||||
20
apps/otel.yaml
Normal file
20
apps/otel.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: otel
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: otel
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://github.com/zoriya/snow
|
||||
targetRevision: HEAD
|
||||
path: apps/otel
|
||||
62
apps/otel/otel.yaml
Normal file
62
apps/otel/otel.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
apiVersion: opentelemetry.io/v1beta1
|
||||
kind: OpenTelemetryCollector
|
||||
metadata:
|
||||
name: otel
|
||||
spec:
|
||||
mode: daemonset
|
||||
config:
|
||||
receivers:
|
||||
hostmetrics:
|
||||
scrapers:
|
||||
cpu:
|
||||
disk:
|
||||
filesystem:
|
||||
load:
|
||||
memory:
|
||||
network:
|
||||
process:
|
||||
processes:
|
||||
paging:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
|
||||
processors:
|
||||
memory_limiter:
|
||||
check_interval: 5s
|
||||
limit_mib: 4000
|
||||
spike_limit_mib: 500
|
||||
batch:
|
||||
send_batch_size: 2000
|
||||
send_batch_max_size: 2000
|
||||
timeout: 5s
|
||||
|
||||
exporters:
|
||||
debug: {}
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: 0.0.0.0:13133
|
||||
pprof:
|
||||
endpoint: 0.0.0.0:1777
|
||||
zpages:
|
||||
endpoint: 0.0.0.0:55679
|
||||
|
||||
service:
|
||||
extensions: [health_check, pprof, zpages]
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [debug]
|
||||
metrics:
|
||||
receivers: [otlp, hostmetrics]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [debug]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [debug]
|
||||
Reference in New Issue
Block a user