Adding Annotations to Load Balancer Services with Helm
TLDR Paulo sought to add annotations to load balancer services using Helm's install command. Prashant provided a command and recommended using override-values.yaml
for better maintainability. Later, Paulo confirmed the guidance worked.
1
1
Aug 29, 2023 (3 months ago)
Paulo
12:26 PMIs possible to add annotations for this 2 load balancer service? Using the helm install command?
: "Internal"
: "true"
My install command:
helm install signoz-apm signoz/signoz -n platform --set global.storageClass="premium-rwo" --set global.cloud="gcp" --set frontend.service.type="LoadBalancer" --set clickhouse.persistence.size="120Gi" --set otelCollector.service.type="LoadBalancer" --set clickhouse.installCustomStorageClass="true" --set global.imageRegistry=""
1
Aug 30, 2023 (3 months ago)
Srikanth
12:15 PMSep 04, 2023 (3 months ago)
Prashant
03:27 PMhelm install signoz-apm signoz/signoz -n platform --set global.storageClass="premium-rwo" --set global.cloud="gcp" --set frontend.service.type="LoadBalancer" --set clickhouse.persistence.size="120Gi" --set otelCollector.service.type="LoadBalancer" --set clickhouse.installCustomStorageClass="true" --set global.imageRegistry="" --set-json frontend.service.annotations='{"": "Internal","": "true"}' --set-json otelCollector.service.annotations='{"": "Internal","": "true"}'
Prashant
03:27 PMoverride-values.yaml
for better maintainability.global:
storageClass: "premium-rwo"
cloud: "gcp"
imageRegistry: ""
frontend:
service:
type: "LoadBalancer"
annotations:
: "Internal"
: "true"
otelCollector:
service:
type: "LoadBalancer"
annotations:
: "Internal"
: "true"
clickhouse:
persistence:
size: "120Gi"
installCustomStorageClass: true
Paulo
06:20 PMSo maybe in future see this thread:
helm upgrade signoz-apm signoz/signoz -n platform --set global.storageClass="premium-rwo" \
--set global.cloud="gcp" \
--set frontend.service.type="LoadBalancer" \
--set clickhouse.persistence.size="120Gi" \
--set otelCollector.service.type="LoadBalancer" \
--set clickhouse.installCustomStorageClass="true" \
--set global.imageRegistry="" \
--set frontend.service.annotations."networking\.gke\.io/load-balancer-type"="Internal" \
--set-string frontend.service.annotations."networking\.gke\.io/internal-load-balancer-allow-global-access"="true" \
--set otelCollector.service.annotations."networking\.gke\.io/load-balancer-type"="Internal" \
--set-string otelCollector.service.annotations."networking\.gke\.io/internal-load-balancer-allow-global-access"="true"
1
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Issue with Helm Installation in GKE Autopilot Cluster
Kalman faced issues with helm installation with pods stuck in init state, and some crashing in a GKE autopilot cluster. Mayur provided suggestions to diagnose the issue, including checking IAM permissions and storage classes, and adjusting resource limits in the helm values. The thread is unresolved.
Extracting Custom Fields as Attributes from Log in SigNoz
Harald wants to have custom fields from their body parsed as attributes in the SigNoz logger. They have tried implementing suggestions from nitya-signoz and Prashant, but the issue remains unsolved due to a potential race condition encountered while executing the code. They have provided a full example using Kind for further assistance.
Increasing Persistent Volume Size in Test Environment
surya tried to increase the disk size in their test environment and encountered an issue. Prashant provided guidance and the user successfully increased the Persistent Volume (PV) for ClickHouse to 50Gi.