mirror of
https://github.com/zoriya/snow.git
synced 2025-12-06 07:16:19 +00:00
Compare commits
40 Commits
be92dbe23d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ebd8118a0 | ||
| 69ed9b69bf | |||
| a8174e4c9d | |||
| 1aad534340 | |||
|
|
bc29912051 | ||
|
|
7e92eb7893 | ||
|
|
4feb939aac | ||
|
|
6afad81bf9 | ||
|
|
5955796c41 | ||
| dc41e670a9 | |||
| c8144fd3b2 | |||
| 4300527cf3 | |||
|
|
0e57e8e3a8 | ||
|
|
f0b51f8930 | ||
|
|
a7b9671810 | ||
|
|
693e9ba6e5 | ||
| 3c8904b74a | |||
| 8488467ca7 | |||
| 1235a58128 | |||
| f6d1d3551c | |||
| d3c36d03bf | |||
|
|
c13e3b6cab | ||
| f65d9c9570 | |||
| c9ee8eb1cd | |||
| d40c9b2d2e | |||
| a11c7ea3b8 | |||
| 38a8286b50 | |||
|
|
44e7809853 | ||
| c49a4828e4 | |||
| 8eb58e9a16 | |||
| 73fda509ba | |||
| b83679353a | |||
|
|
a5f4e9f4e2 | ||
|
|
a10b23c4a7 | ||
|
|
c31aad3e13 | ||
| 383b195a03 | |||
| 918688e675 | |||
| 7e371a5117 | |||
|
|
200d077125 | ||
|
|
2c941e9216 |
@@ -17,7 +17,7 @@ spec:
|
||||
source:
|
||||
repoURL: https://charts.goauthentik.io
|
||||
chart: authentik
|
||||
targetRevision: 2025.10.0
|
||||
targetRevision: 2025.10.2
|
||||
helm:
|
||||
valuesObject:
|
||||
authentik:
|
||||
|
||||
@@ -7,7 +7,8 @@ spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: clickhouse-operator
|
||||
# i don't wanna deal with making this cluster scoped
|
||||
namespace: otel
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
@@ -21,4 +22,6 @@ spec:
|
||||
chart: altinity-clickhouse-operator
|
||||
targetRevision: 0.25.5
|
||||
helm:
|
||||
valuesObject: {}
|
||||
valuesObject:
|
||||
rbac:
|
||||
namespaceScoped: true
|
||||
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
source:
|
||||
repoURL: https://charts.external-secrets.io
|
||||
chart: external-secrets
|
||||
targetRevision: 0.20.4
|
||||
targetRevision: 1.1.1
|
||||
helm:
|
||||
valuesObject:
|
||||
bitwarden-sdk-server:
|
||||
|
||||
23
apps/grafana-operator.yaml
Normal file
23
apps/grafana-operator.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: grafana-operator
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: grafana
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
source:
|
||||
repoURL: ghcr.io/grafana/helm-charts
|
||||
chart: grafana-operator
|
||||
targetRevision: v5.20.0
|
||||
helm:
|
||||
valuesObject: {}
|
||||
@@ -6,7 +6,7 @@ helmCharts:
|
||||
name: immich
|
||||
releaseName: immich
|
||||
namespace: immich
|
||||
version: 0.10.1
|
||||
version: 0.10.3
|
||||
valuesFile: values.yaml
|
||||
|
||||
resources:
|
||||
|
||||
@@ -39,7 +39,7 @@ controllers:
|
||||
main:
|
||||
image:
|
||||
# renovate: datasource=github-releases depName=immich-app/immich
|
||||
tag: "v2.2.1"
|
||||
tag: "v2.3.1"
|
||||
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
|
||||
|
||||
114
apps/kyoo-v5.yaml
Normal file
114
apps/kyoo-v5.yaml
Normal file
@@ -0,0 +1,114 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kyoo-v5
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kyoo-next
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://github.com/zoriya/Kyoo
|
||||
path: chart
|
||||
targetRevision: master
|
||||
# repoURL: ghcr.io/zoriya/helm-charts
|
||||
# chart: kyoo
|
||||
# targetRevision: edge
|
||||
helm:
|
||||
valuesObject:
|
||||
global:
|
||||
image:
|
||||
tag: edge
|
||||
imagePullPolicy: Always
|
||||
postgres:
|
||||
shared:
|
||||
host: kyoo-v5-postgres
|
||||
extraEnv:
|
||||
- name: OTEL_EXPORTER_OTLP_ENDPOINT
|
||||
value: "http://otel-collector.otel.svc:4317"
|
||||
- name: OTEL_EXPORTER_OTLP_PROTOCOL
|
||||
value: "grpc"
|
||||
postgres:
|
||||
enabled: true
|
||||
persistence:
|
||||
size: 16Gi
|
||||
kyoo:
|
||||
address: https://beta.sdg.moe
|
||||
transcoderAcceleration: nvidia
|
||||
auth:
|
||||
apikeys:
|
||||
extra:
|
||||
- name: admin
|
||||
existingSecret: admin-apikey
|
||||
apikeyKey: uuid
|
||||
claims: '{"permissions": ["users.read", "users.write", "apikeys.read", "apikeys.write", "users.delete", "core.read", "core.write", "core.play", "scanner.trigger"], "verified": true}'
|
||||
transcoder:
|
||||
runtimeClass: nvidia
|
||||
ingress:
|
||||
enabled: true
|
||||
host: beta.sdg.moe
|
||||
ingressClassName: cilium
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
tls: true
|
||||
tlsSecret: kyoo-tls
|
||||
extraObjects:
|
||||
- apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: bigsecret
|
||||
type: Opaque
|
||||
stringData:
|
||||
postgres_user: kyoo_all
|
||||
postgres_password: watchSomething4me
|
||||
scanner_apikey: scanner-triquarter4u
|
||||
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: kyoo-v5-medias
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
capacity:
|
||||
storage: 200Ti
|
||||
csi:
|
||||
driver: zfs.csi.openebs.io
|
||||
fsType: zfs
|
||||
volumeAttributes:
|
||||
openebs.io/poolname: ocean
|
||||
volumeHandle: "medias"
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: media
|
||||
spec:
|
||||
storageClassName: ""
|
||||
volumeName: kyoo-v5-medias
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 200Ti
|
||||
|
||||
- apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: admin-apikey
|
||||
spec:
|
||||
refreshPolicy: CreatedOnce
|
||||
dataFrom:
|
||||
- sourceRef:
|
||||
generatorRef:
|
||||
apiVersion: generators.external-secrets.io/v1alpha1
|
||||
kind: ClusterGenerator
|
||||
name: uuid
|
||||
@@ -6,7 +6,7 @@ helmCharts:
|
||||
name: openebs
|
||||
namespace: openebs
|
||||
releaseName: openebs
|
||||
version: 4.3.3
|
||||
version: 4.4.0
|
||||
valuesFile: values.yaml
|
||||
|
||||
resources:
|
||||
|
||||
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.2
|
||||
helm:
|
||||
valuesObject:
|
||||
# optional and not used anymore
|
||||
kubeRBACProxy:
|
||||
enabled: false
|
||||
manager:
|
||||
collectorImage:
|
||||
repository: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib
|
||||
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
|
||||
40
apps/otel/clickhouse-datasource.yaml
Normal file
40
apps/otel/clickhouse-datasource.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: grafana.integreatly.org/v1beta1
|
||||
kind: GrafanaDatasource
|
||||
metadata:
|
||||
name: clickhouse
|
||||
spec:
|
||||
valuesFrom:
|
||||
- targetPath: "secureJsonData.password"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-passwords
|
||||
key: grafana
|
||||
datasource:
|
||||
name: clickhouse
|
||||
access: proxy
|
||||
isDefault: true
|
||||
type: grafana-clickhouse-datasource
|
||||
jsonData:
|
||||
host: clickhouse-otel-cluster.otel.svc.cluster.local
|
||||
port: 9000
|
||||
username: grafana
|
||||
defaultDatabase: otel
|
||||
protocol: native
|
||||
logs:
|
||||
defaultDatabase: otel
|
||||
defaultTable: otel_logs
|
||||
otelEnabled: true
|
||||
otelVersion: latest
|
||||
traces:
|
||||
defaultDatabase: otel
|
||||
defaultTable: otel_traces
|
||||
otelEnabled: true
|
||||
otelVersion: latest
|
||||
secureJsonData:
|
||||
password: ${grafana}
|
||||
instanceSelector:
|
||||
matchLabels:
|
||||
dashboards: grafana
|
||||
plugins:
|
||||
- name: grafana-clickhouse-datasource
|
||||
version: 4.11.2
|
||||
12
apps/otel/grafana-oidc.yaml
Normal file
12
apps/otel/grafana-oidc.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: grafana-oidc
|
||||
spec:
|
||||
refreshInterval: 24h
|
||||
secretStoreRef:
|
||||
name: bitwarden
|
||||
kind: ClusterSecretStore
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: grafana-sso
|
||||
86
apps/otel/grafana.yaml
Normal file
86
apps/otel/grafana.yaml
Normal file
@@ -0,0 +1,86 @@
|
||||
apiVersion: grafana.integreatly.org/v1beta1
|
||||
kind: Grafana
|
||||
metadata:
|
||||
name: grafana
|
||||
labels:
|
||||
dashboards: "grafana"
|
||||
spec:
|
||||
config:
|
||||
log:
|
||||
mode: "console"
|
||||
auth:
|
||||
disable_login_form: "false"
|
||||
signout_redirect_url: "https://authentik.sdg.moe/application/o/grafana/end-session/"
|
||||
oauth_auto_login: "true"
|
||||
server:
|
||||
root_url: https://grafana.sdg.moe
|
||||
auth.generic_oauth:
|
||||
name: authentik
|
||||
enabled: "true"
|
||||
allow_sign_up: "true"
|
||||
client_id: ${AUTH_CLIENT_ID}
|
||||
client_secret: ${AUTH_CLIENT_SECRET}
|
||||
scopes: "openid profile email"
|
||||
auth_url: "https://authentik.sdg.moe/application/o/authorize/"
|
||||
token_url: "https://authentik.sdg.moe/application/o/token/"
|
||||
api_url: "https://authentik.sdg.moe/application/o/userinfo/"
|
||||
role_attribute_path: contains(groups, 'admins') && 'Admin' || 'Editor'
|
||||
allow_assign_grafana_admin: "true"
|
||||
|
||||
persistentVolumeClaim:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
deployment:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 10001
|
||||
containers:
|
||||
- name: grafana
|
||||
env:
|
||||
- name: AUTH_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-oidc
|
||||
key: clientId
|
||||
- name: AUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-oidc
|
||||
key: clientSecret
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
volumes:
|
||||
- name: grafana-data
|
||||
persistentVolumeClaim:
|
||||
claimName: grafana-pvc
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
ingress:
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
spec:
|
||||
ingressClassName: cilium
|
||||
rules:
|
||||
- host: grafana.sdg.moe
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: grafana-service
|
||||
port:
|
||||
number: 3000
|
||||
tls:
|
||||
- hosts:
|
||||
- grafana.sdg.moe
|
||||
secretName: grafana-ssl
|
||||
12
apps/otel/otel-basicauth.yaml
Normal file
12
apps/otel/otel-basicauth.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: otel-basicauth
|
||||
spec:
|
||||
refreshInterval: 24h
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: bitwarden
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: otel-basicauth
|
||||
97
apps/otel/otel-clickhouse.yaml
Normal file
97
apps/otel/otel-clickhouse.yaml
Normal file
@@ -0,0 +1,97 @@
|
||||
apiVersion: clickhouse.altinity.com/v1
|
||||
kind: ClickHouseInstallation
|
||||
metadata:
|
||||
name: otel-cluster
|
||||
spec:
|
||||
configuration:
|
||||
settings:
|
||||
logger/size: "500M"
|
||||
logger/count: 1
|
||||
clusters:
|
||||
- name: otel-cluster
|
||||
layout:
|
||||
shardsCount: 1
|
||||
replicasCount: 1
|
||||
templates:
|
||||
podTemplate: clickhouse-pod-template
|
||||
users:
|
||||
collector/password:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-passwords
|
||||
key: collector
|
||||
collector/networks/ip: "::/0"
|
||||
collector/grants/query:
|
||||
- GRANT SELECT, INSERT, UPDATE, DROP, DELETE, ALTER, CREATE ON otel.*
|
||||
- GRANT CREATE DATABASE ON *.*
|
||||
grafana/password:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-passwords
|
||||
key: grafana
|
||||
grafana/networks/ip: "::/0"
|
||||
grafana/grants/query:
|
||||
- GRANT SELECT ON otel.*
|
||||
defaults:
|
||||
templates:
|
||||
podTemplate: pod-template
|
||||
dataVolumeClaimTemplate: data-volume-template
|
||||
logVolumeClaimTemplate: log-volume-template
|
||||
templates:
|
||||
podTemplates:
|
||||
- name: pod-template
|
||||
spec:
|
||||
containers:
|
||||
- name: clickhouse
|
||||
image: clickhouse/clickhouse-server:latest
|
||||
env:
|
||||
- name: CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS
|
||||
value: "true"
|
||||
volumeMounts:
|
||||
- name: bootstrap-configmap-volume
|
||||
mountPath: /docker-entrypoint-initdb.d
|
||||
volumes:
|
||||
- name: bootstrap-configmap-volume
|
||||
configMap:
|
||||
name: bootstrap-mounted-configmap
|
||||
volumeClaimTemplates:
|
||||
- name: data-volume-template
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
- name: log-volume-template
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: clickhouse-passwords
|
||||
spec:
|
||||
refreshPolicy: CreatedOnce
|
||||
dataFrom:
|
||||
- sourceRef:
|
||||
generatorRef:
|
||||
apiVersion: generators.external-secrets.io/v1alpha1
|
||||
kind: ClusterGenerator
|
||||
name: uuid
|
||||
rewrite:
|
||||
- regexp:
|
||||
source: uuid
|
||||
target: collector
|
||||
- sourceRef:
|
||||
generatorRef:
|
||||
apiVersion: generators.external-secrets.io/v1alpha1
|
||||
kind: ClusterGenerator
|
||||
name: uuid
|
||||
rewrite:
|
||||
- regexp:
|
||||
source: uuid
|
||||
target: grafana
|
||||
24
apps/otel/otel-ingress.yaml
Normal file
24
apps/otel/otel-ingress.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-otel
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
spec:
|
||||
ingressClassName: cilium
|
||||
rules:
|
||||
- host: otel.sdg.moe
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: otel-collector
|
||||
port:
|
||||
name: otlp-http
|
||||
tls:
|
||||
- hosts:
|
||||
- otel.sdg.moe
|
||||
secretName: otel-ssl
|
||||
24
apps/otel/otel-rbac.yaml
Normal file
24
apps/otel/otel-rbac.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: otel-collector
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "namespaces", "nodes"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments", "statefulsets", "daemonsets", "replicasets"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: otel-collector
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: otel-collector
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: otel-collector
|
||||
namespace: otel
|
||||
111
apps/otel/otel.yaml
Normal file
111
apps/otel/otel.yaml
Normal file
@@ -0,0 +1,111 @@
|
||||
apiVersion: opentelemetry.io/v1beta1
|
||||
kind: OpenTelemetryCollector
|
||||
metadata:
|
||||
name: otel
|
||||
spec:
|
||||
mode: daemonset
|
||||
env:
|
||||
- name: CLICKHOUSE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-passwords
|
||||
key: collector
|
||||
|
||||
volumes:
|
||||
- name: htpasswd
|
||||
secret:
|
||||
secretName: otel-basicauth
|
||||
items:
|
||||
- key: .htpasswd
|
||||
path: .htpasswd
|
||||
volumeMounts:
|
||||
- name: htpasswd
|
||||
mountPath: .htpasswd
|
||||
subPath: .htpasswd
|
||||
|
||||
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
|
||||
auth:
|
||||
authenticator: basicauth
|
||||
|
||||
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
|
||||
k8sattributes:
|
||||
extract:
|
||||
metadata:
|
||||
- k8s.namespace.name
|
||||
- k8s.pod.name
|
||||
- k8s.pod.start_time
|
||||
- k8s.pod.uid
|
||||
- k8s.deployment.name
|
||||
- k8s.node.name
|
||||
|
||||
exporters:
|
||||
debug:
|
||||
verbosity: detailed
|
||||
clickhouse:
|
||||
endpoint: tcp://clickhouse-otel-cluster.otel.svc.cluster.local:9000?dial_timeout=10s&compress=lz4&async_insert=1
|
||||
username: collector
|
||||
password: ${env:CLICKHOUSE_PASSWORD}
|
||||
ttl: 168h # a week
|
||||
create_schema: true
|
||||
timeout: 5s
|
||||
database: otel
|
||||
sending_queue:
|
||||
queue_size: 1000
|
||||
retry_on_failure:
|
||||
enabled: true
|
||||
initial_interval: 5s
|
||||
max_interval: 30s
|
||||
max_elapsed_time: 300s
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: 0.0.0.0:13133
|
||||
pprof:
|
||||
endpoint: 0.0.0.0:1777
|
||||
zpages:
|
||||
endpoint: 0.0.0.0:55679
|
||||
basicauth:
|
||||
htpasswd:
|
||||
file: .htpasswd
|
||||
|
||||
service:
|
||||
extensions: [basicauth, health_check, pprof, zpages]
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
exporters: [clickhouse]
|
||||
metrics:
|
||||
receivers: [otlp] #[otlp, hostmetrics]
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
exporters: [debug, clickhouse]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
exporters: [clickhouse]
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
source:
|
||||
repoURL: ghcr.io/telepresenceio
|
||||
chart: telepresence-oss
|
||||
targetRevision: 2.25.0
|
||||
targetRevision: 2.25.1
|
||||
helm:
|
||||
releaseName: traffic-manager
|
||||
valuesObject: {}
|
||||
|
||||
Reference in New Issue
Block a user