Hi Team, We are trying to deploy signoz on an EKS ...
# support
a
Hi Team, We are trying to deploy signoz on an EKS cluster on AWS. We followed the steps mentioned here - https://signoz.io/docs/install/kubernetes/aws/ But otel-collector, otel-collector-metrics and query-service containers are stuck in CrashLoopBackOff state And we are getting below errors - ERROR clickhouseReader/reader.go:113 failed to initialize ClickHouse: error connecting to primary db: code: 516, message: admin: Authentication failed: password is incorrect or there is no user with such name Can anyone please help, if this is a version issue, and provide version numbers to use?
p
hey @Amul P Kesrani Which version of SigNoz are you trying to install and how much resources have you allocated?
p
Hi @Amul P Kesrani 👋 That usually happens due to clickhouse IP whitelisting. Could you please share the output of the following?
Copy code
kubectl -n platform get pods -o=wide
a
Hi @Pranay Resources are on-demand, and we are using below versions - --set frontend.image.tag="0.11.0" \ --set queryService.image.tag="0.11.0" \ --set otelCollector.image.tag="0.55.0" \ --set otelCollectorMetrics.image.tag="0.55.0"
@Prashant Shahi Let me check on the output of the above command, give me a few minutes
p
signoz/clickhouse
chart by default allows following private IPs:
Copy code
- "10.0.0.0/8"
    - "172.16.0.0/12"
    - "192.168.0.0/16"
a
How can I whitelist my ip range?
p
You can either whitelist IP range
100.64.0.0/16
in
clickhouse.allowedNetworkIps
https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml#L117-L120
could you please share how did you set up the K8s cluster?
a
I am trying to reinstall, after updating the allowedNetworkIp in override-values.yaml
p
@Amul P Kesrani can you share override-values.yaml?
a
Copy code
global:
  storageClass: gp2-resizable

clickhouse:
  cloud: aws
  installCustomStorageClass: true
  allowedNetworkIps:
    - "10.0.0.0/8"
    - "172.16.0.0/12"
    - "192.168.0.0/16"
    - "100.64.0.0/16"
p
@Amul P Kesrani yeah, looks good to me!
a
The pods are up now, and I am able to access the signoz frontend, Thank you @Prashant Shahi
p
That's great to hear 🎉
@Amul P Kesrani could you please share how you created the K8s cluster? Was it from the AWS UI?
a
No, we are using terraform for the same
p
You are second person this week who had application deployed at 100.64.X.X
Anyways, we are now whitelisting all private IP ranges from reserved IPs. https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv4