https://signoz.io logo
#support
Title
# support
a

Amul P Kesrani

09/05/2022, 7:25 AM
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

Pranay

09/05/2022, 7:37 AM
hey @Amul P Kesrani Which version of SigNoz are you trying to install and how much resources have you allocated?
p

Prashant Shahi

09/05/2022, 7:49 AM
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

Amul P Kesrani

09/05/2022, 7:49 AM
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

Prashant Shahi

09/05/2022, 7:56 AM
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

Amul P Kesrani

09/05/2022, 7:58 AM
How can I whitelist my ip range?
p

Prashant Shahi

09/05/2022, 7:59 AM
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

Amul P Kesrani

09/05/2022, 8:07 AM
I am trying to reinstall, after updating the allowedNetworkIp in override-values.yaml
p

Prashant Shahi

09/05/2022, 8:15 AM
@Amul P Kesrani can you share override-values.yaml?
a

Amul P Kesrani

09/05/2022, 8:16 AM
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

Prashant Shahi

09/05/2022, 8:22 AM
@Amul P Kesrani yeah, looks good to me!
a

Amul P Kesrani

09/05/2022, 8:24 AM
The pods are up now, and I am able to access the signoz frontend, Thank you @Prashant Shahi
p

Prashant Shahi

09/05/2022, 8:27 AM
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

Amul P Kesrani

09/05/2022, 8:29 AM
No, we are using terraform for the same
p

Prashant Shahi

09/05/2022, 9:08 AM
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
6 Views