Slackbot
02/13/2023, 11:01 AMAnkit Nayan
Narasimhamurthi Kota
02/13/2023, 12:30 PMAnkit Nayan
Prashant Shahi
02/13/2023, 10:54 PMresource.request
from all components.Narasimhamurthi Kota
02/14/2023, 1:28 PMNarasimhamurthi Kota
02/14/2023, 2:11 PMPrashant Shahi
02/14/2023, 4:24 PMglobal:
storageClass: do-block-storage-retain
frontend:
resources:
requests:
cpu: 50m
memory: 50Mi
queryService:
resources:
requests:
cpu: 50m
memory: 50Mi
otelCollector:
resources:
requests:
cpu: 100m
memory: 100Mi
otelCollectorMetrics:
resources:
requests:
cpu: 50m
memory: 50Mi
alertmanager:
resources:
requests:
cpu: 50m
memory: 50Mi
clickhouse:
persistence:
size: 20Gi
resources:
requests:
cpu: 50m
memory: 50Mi
zookeeper:
resources:
requests:
cpu: 50m
memory: 50Mi
# optionally disable k8s-infra
k8s-infra:
enabled: false
Prashant Shahi
02/14/2023, 4:26 PMPrashant Shahi
02/14/2023, 4:36 PMdo-block-storage-retain
<= this storage class is not mandatory. It just makes sure to retain the volumes even after PVs and PVCs are removed.Narasimhamurthi Kota
02/15/2023, 6:03 AMPrashant Shahi
02/15/2023, 6:06 AMkubectl -n monitoring describe pod chi-realoq-dev-clickhouse-cluster-0-0-0
Prashant Shahi
02/15/2023, 6:09 AMPrashant Shahi
02/15/2023, 6:11 AMNarasimhamurthi Kota
02/15/2023, 6:15 AM[root@jenkins ~]# kubectl describe pod chi-realoq-dev-clickhouse-cluster-0-0-0 -n monitoring
Name: chi-realoq-dev-clickhouse-cluster-0-0-0
Namespace: monitoring
Priority: 0
Service Account: realoq-dev-clickhouse
Node: <none>
Labels: <http://app.kubernetes.io/component=clickhouse|app.kubernetes.io/component=clickhouse>
<http://app.kubernetes.io/instance=realoq-dev|app.kubernetes.io/instance=realoq-dev>
<http://app.kubernetes.io/managed-by=Helm|app.kubernetes.io/managed-by=Helm>
<http://app.kubernetes.io/name=clickhouse|app.kubernetes.io/name=clickhouse>
<http://app.kubernetes.io/version=22.8.8|app.kubernetes.io/version=22.8.8>
<http://clickhouse.altinity.com/app=chop|clickhouse.altinity.com/app=chop>
<http://clickhouse.altinity.com/chi=realoq-dev-clickhouse|clickhouse.altinity.com/chi=realoq-dev-clickhouse>
<http://clickhouse.altinity.com/cluster=cluster|clickhouse.altinity.com/cluster=cluster>
<http://clickhouse.altinity.com/namespace=monitoring|clickhouse.altinity.com/namespace=monitoring>
<http://clickhouse.altinity.com/ready=yes|clickhouse.altinity.com/ready=yes>
<http://clickhouse.altinity.com/replica=0|clickhouse.altinity.com/replica=0>
<http://clickhouse.altinity.com/settings-version=a0b5649f5ea9121accf6ecc528db9f761f7f1768|clickhouse.altinity.com/settings-version=a0b5649f5ea9121accf6ecc528db9f761f7f1768>
<http://clickhouse.altinity.com/shard=0|clickhouse.altinity.com/shard=0>
<http://clickhouse.altinity.com/zookeeper-version=b77cf4e8cc66db2fcc814cafedf597b67675d420|clickhouse.altinity.com/zookeeper-version=b77cf4e8cc66db2fcc814cafedf597b67675d420>
controller-revision-hash=chi-realoq-dev-clickhouse-cluster-0-0-5659fcbf67
<http://helm.sh/chart=clickhouse-23.8.6|helm.sh/chart=clickhouse-23.8.6>
<http://statefulset.kubernetes.io/pod-name=chi-realoq-dev-clickhouse-cluster-0-0-0|statefulset.kubernetes.io/pod-name=chi-realoq-dev-clickhouse-cluster-0-0-0>
Annotations: <http://meta.helm.sh/release-name|meta.helm.sh/release-name>: realoq-dev
<http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>: monitoring
<http://signoz.io/path|signoz.io/path>: /metrics
<http://signoz.io/port|signoz.io/port>: 9363
<http://signoz.io/scrape|signoz.io/scrape>: true
Status: Pending
IP:
IPs: <none>
Controlled By: StatefulSet/chi-realoq-dev-clickhouse-cluster-0-0
Init Containers:
realoq-dev-clickhouse-init:
Image: <http://docker.io/busybox:1.35|docker.io/busybox:1.35>
Port: <none>
Host Port: <none>
Command:
sh
-c
set -x
wget -O /tmp/histogramQuantile <https://github.com/SigNoz/signoz/raw/develop/deploy/docker/clickhouse-setup/user_scripts/histogramQuantile>
mv /tmp/histogramQuantile /var/lib/clickhouse/user_scripts/histogramQuantile
chmod +x /var/lib/clickhouse/user_scripts/histogramQuantile
Environment: <none>
Mounts:
/var/lib/clickhouse/user_scripts from shared-binary-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vl25m (ro)
Containers:
clickhouse:
Image: <http://docker.io/clickhouse/clickhouse-server:22.8.8-alpine|docker.io/clickhouse/clickhouse-server:22.8.8-alpine>
Ports: 8123/TCP, 9000/TCP, 9009/TCP, 9000/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP, 0/TCP
Command:
/bin/bash
-c
/usr/bin/clickhouse-server --config-file=/etc/clickhouse-server/config.xml
Requests:
cpu: 100m
memory: 200Mi
Liveness: http-get http://:http/ping delay=60s timeout=1s period=3s #success=1 #failure=10
Readiness: http-get http://:http/ping delay=10s timeout=1s period=3s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/clickhouse-server/conf.d/ from chi-realoq-dev-clickhouse-deploy-confd-cluster-0-0 (rw)
/etc/clickhouse-server/config.d/ from chi-realoq-dev-clickhouse-common-configd (rw)
/etc/clickhouse-server/functions from custom-functions-volume (rw)
/etc/clickhouse-server/users.d/ from chi-realoq-dev-clickhouse-common-usersd (rw)
/var/lib/clickhouse from data-volumeclaim-template (rw)
/var/lib/clickhouse/user_scripts from shared-binary-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vl25m (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
data-volumeclaim-template:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: data-volumeclaim-template-chi-realoq-dev-clickhouse-cluster-0-0-0
ReadOnly: false
shared-binary-volume:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
custom-functions-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: realoq-dev-clickhouse-custom-functions
Optional: false
chi-realoq-dev-clickhouse-common-configd:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: chi-realoq-dev-clickhouse-common-configd
Optional: false
chi-realoq-dev-clickhouse-common-usersd:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: chi-realoq-dev-clickhouse-common-usersd
Optional: false
chi-realoq-dev-clickhouse-deploy-confd-cluster-0-0:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: chi-realoq-dev-clickhouse-deploy-confd-cluster-0-0
Optional: false
kube-api-access-vl25m:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: <http://node.kubernetes.io/not-ready:NoExecute|node.kubernetes.io/not-ready:NoExecute> op=Exists for 300s
<http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 13m default-scheduler 0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
Warning FailedScheduling 13m default-scheduler 0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
Warning FailedScheduling 8m47s default-scheduler 0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
Normal NotTriggerScaleUp 3m23s (x11 over 13m) cluster-autoscaler pod didn't trigger scale-up:
[root@jenkins ~]#
Prashant Shahi
02/15/2023, 6:16 AMNarasimhamurthi Kota
02/15/2023, 6:17 AMPrashant Shahi
02/15/2023, 6:18 AMPrashant Shahi
02/15/2023, 6:18 AMNarasimhamurthi Kota
02/15/2023, 6:18 AMPrashant Shahi
02/15/2023, 6:18 AMNarasimhamurthi Kota
02/15/2023, 6:19 AMPrashant Shahi
02/15/2023, 6:19 AMNarasimhamurthi Kota
02/15/2023, 6:19 AMNarasimhamurthi Kota
02/15/2023, 9:23 AMNarasimhamurthi Kota
02/15/2023, 9:23 AMNarasimhamurthi Kota
02/15/2023, 9:24 AMPrashant Shahi
02/15/2023, 9:24 AMNarasimhamurthi Kota
02/15/2023, 9:26 AMNarasimhamurthi Kota
02/15/2023, 9:49 AMNarasimhamurthi Kota
02/15/2023, 9:49 AMNarasimhamurthi Kota
02/15/2023, 10:02 AMNarasimhamurthi Kota
02/15/2023, 10:06 AMPrashant Shahi
02/15/2023, 10:07 AMPrashant Shahi
02/15/2023, 10:07 AMNarasimhamurthi Kota
02/15/2023, 12:17 PMPrashant Shahi
02/15/2023, 1:46 PMwhat is the service name that we need to expose to access signozSigNoz UI? That would be
frontend
Narasimhamurthi Kota
02/15/2023, 6:56 PMNarasimhamurthi Kota
02/15/2023, 6:57 PMNarasimhamurthi Kota
02/15/2023, 7:12 PMPrashant Shahi
02/15/2023, 7:31 PMPrashant Shahi
02/15/2023, 7:31 PMk8s-infra
chart in that cluster:
Instructions: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/Narasimhamurthi Kota
02/16/2023, 4:23 AMNarasimhamurthi Kota
02/16/2023, 8:10 AMNarasimhamurthi Kota
02/16/2023, 8:18 AMPrashant Shahi
02/16/2023, 9:42 AMMay I create multiple users ?you can create new users from setting.
Narasimhamurthi Kota
02/16/2023, 10:15 AMPrashant Shahi
02/16/2023, 10:49 AMPrashant Shahi
02/16/2023, 10:50 AMNarasimhamurthi Kota
02/16/2023, 11:34 AMPrashant Shahi
02/16/2023, 12:09 PMNarasimhamurthi Kota
02/16/2023, 12:19 PMNarasimhamurthi Kota
02/16/2023, 12:20 PMNarasimhamurthi Kota
02/16/2023, 12:45 PMPrashant Shahi
02/16/2023, 6:56 PMNarasimhamurthi Kota
02/17/2023, 4:27 AMnitya-signoz
02/17/2023, 4:40 AMNarasimhamurthi Kota
02/17/2023, 7:32 AMnitya-signoz
02/17/2023, 9:40 AMNarasimhamurthi Kota
02/17/2023, 10:24 AMNarasimhamurthi Kota
02/17/2023, 1:23 PMPrashant Shahi
02/17/2023, 5:12 PMnitya-signoz
02/18/2023, 4:46 PMNarasimhamurthi Kota
02/20/2023, 6:16 AMNarasimhamurthi Kota
02/20/2023, 6:33 AMnitya-signoz
02/20/2023, 8:47 AMNarasimhamurthi Kota
02/20/2023, 11:21 AMnitya-signoz
02/21/2023, 5:25 AM