This message was deleted.
s
This message was deleted.
1
p
CRDs are not installed when running with
dry-run
. You can install CRDs manually and run previous dry run install command:
Copy code
kubectl apply -f <https://raw.githubusercontent.com/SigNoz/charts/main/charts/clickhouse/crds/clickhouse-operator-install.yaml>
e
still giving the same error: efcunha@DevOps:~/k8s-cluster/signoz$ kubectl apply -f https://raw.githubusercontent.com/SigNoz/charts/main/charts/clickhouse/crds/clickhouse-operator-install.yaml customresourcedefinition.apiextensions.k8s.io/clickhouseinstallations.clickhouse.altinity.com created customresourcedefinition.apiextensions.k8s.io/clickhouseinstallationtemplates.clickhouse.altinity.com created customresourcedefinition.apiextensions.k8s.io/clickhouseoperatorconfigurations.clickhouse.altinity.com created serviceaccount/clickhouse-operator created clusterrole.rbac.authorization.k8s.io/clickhouse-operator-kube-system created clusterrolebinding.rbac.authorization.k8s.io/clickhouse-operator-kube-system created configmap/etc-clickhouse-operator-files created configmap/etc-clickhouse-operator-confd-files created configmap/etc-clickhouse-operator-configd-files created configmap/etc-clickhouse-operator-templatesd-files created configmap/etc-clickhouse-operator-usersd-files created deployment.apps/clickhouse-operator created service/clickhouse-operator-metrics created efcunha@DevOps:~/k8s-cluster/signoz$ helm install --dry-run --debug signoz -n platform signoz/signoz -f values.yaml install.go178 [debug] Original chart version: "" install.go195 [debug] CHART PATH: /home/efcunha/.cache/helm/repository/signoz-0.1.3.tgz install.go210 [debug] WARNING: This chart or one of its subcharts contains CRDs. Rendering may fail or contain inaccuracies. Error: INSTALLATION FAILED: template: signoz/templates/otel-collector/ingress.yaml323: executing "signoz/templates/otel-collector/ingress.yaml" at <.Values.otelCollector.service.port>: nil pointer evaluating interface {}.port helm.go84 [debug] template: signoz/templates/otel-collector/ingress.yaml323: executing "signoz/templates/otel-collector/ingress.yaml" at <.Values.otelCollector.service.port>: nil pointer evaluating interface {}.port INSTALLATION FAILED main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:127 github.com/spf13/cobra.(*Command).execute github.com/spf13/cobra@v1.4.0/command.go:856 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/cobra@v1.4.0/command.go:974 github.com/spf13/cobra.(*Command).Execute github.com/spf13/cobra@v1.4.0/command.go:902 main.main helm.sh/helm/v3/cmd/helm/helm.go:83 runtime.main runtime/proc.go:255 runtime.goexit runtime/asm_amd64.s:1581
p
@Edson F Cunha what changes did you do to values.yaml - comparing with https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml? Also, which version of Helm and signoz chart version are you using?
it works fine for me.
e
Hi Prashant, I used this file from the link you sent: https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml? I enabled ingress and persistence: the value of storageClass: local-patch. efcunha@DevOps:~/k8s-cluster/signoz$ helm search repo signoz NAME CHART VERSION APP VERSION DESCRIPTION signoz/signoz 0.1.3 0.9.2 SigNoz Observability Platform Helm Chart signoz/alertmanager 0.5.2 0.5.0 The Alertmanager handles alerts for SigNoz. signoz/clickhouse 23.3.0 22.4.5 A Helm chart for ClickHouse I'm providing the github repository with the files: https://github.com/efcunha/signoz.git
But repeated the same mistake as before.
p
@Edson F Cunha yeah, seems like issue in the Otel Ingress. Working on the fix. Thanks for bringing this up.
you can track the issue here: https://github.com/SigNoz/charts/issues/52
e
Thanks Prashant
p
@Edson F Cunha This issue has been resolved. It will be is included in next latest chart release. https://github.com/SigNoz/charts/pull/64/commits/60b063a310d70fce63b851e69c3af3e6e43a3265
e
Thanks
p
It is included in latest chart release*
491 Views