This message was deleted.
s
This message was deleted.
a
@Prashant Shahi might be able to help here
p
Hi @Quyet Nguyen Duc 👋 Just tested in a new k8s cluster. I see that otelCollector created
signoz_traces
database and all works fine.
which chart version are you using? Run
helm search repo signoz --versions
Also, can you share more details about your cluster? Run
kubectl version
q
@Pranay This is the values I ran
clickhouse:
enabled: false
externalClickhouse:
host: chendpoint-clickhouse
cluster: warehouse
database: signoz_metrics
traceDatabase: signoz_traces
user: admin
password: password
existingSecret: clickhouse-credentials
existingSecretPasswordKey: admin-password
secure: false
verify: false
httpPort: 8123
tcpPort: 9000
frontend:
name: "frontend"
replicaCount: 1
ingress:
enabled: true
className: "public"
annotations:
<http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: public
<http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: "letsencrypt-prod"
hosts:
- host: <http://eyes.nozax.com|eyes.nozax.com>
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- "<http://eyes.nozax.com|eyes.nozax.com>"
secretName: signoz-cert
otelCollector:
replicaCount: 1
service:
port: 4318
ingress:
enabled: true
className: "public"
annotations:
<http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
<http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: "letsencrypt-prod"
hosts:
- host: <http://otel.nozax.com|otel.nozax.com>
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- "<http://otel.nozax.com|otel.nozax.com>"
secretName: signoz-otel-cert
otelCollectorMetrics:
replicaCount: 1
service:
port: 4318
ingress:
enabled: true
className: "public"
annotations:
<http://kubernetes.io/tls-acme|kubernetes.io/tls-acme>: "true"
<http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: "letsencrypt-prod"
hosts:
- host: <http://otel-metrics.nozax.com|otel-metrics.nozax.com>
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- "<http://otel-metrics.nozax.com|otel-metrics.nozax.com>"
secretName: signoz-otel-metrics-cert
kube 1.24, signoz latest I think (0.1.4 0.9.2)
also query does not respect the k8s secretpath
ok now it's only create signoz_traces
Hi, after uninstall and reinstall it worked now. I was unable to reproduce the problem. Only one thing I was able to consistently reproduce is that the query service are ignoring the existingSecret and existingSecretPasswordKey on externalClickhouse value
p
let me get back to you after trying the same setup locally.
@Quyet Nguyen Duc I was able to reproduce the issue. In query-service, clickhouse password is taken from URL which requires it to be passed from
password
as plain text.
👍 1
would it be possible for you to pass password from
values.yaml
?
meanwhile, I will work on fix for this.
q
Hi, I did that already, but was stuck on the database creation error: Query service return Table signoz_traces.signoz_index_v2 doesn't exist
p
otel-collector is responsible for creating that.
can you DM me the cluster dump for namespace running signoz?
q
I'm not on computer at the moment, will send you once I am back
But I remembered it create databases and some tables, but no signoz_index_v2