Slackbot
06/13/2022, 12:00 PMPrashant Shahi
06/13/2022, 12:06 PMoverride-values.yaml
with the YAML present in the steps.
https://signoz.io/docs/install/kubernetes/aws/#chart-configurationRahul Tiwari
06/13/2022, 12:28 PMPrashant Shahi
06/13/2022, 12:32 PMsudo chmod 600 ~/.kube/config
Rahul Tiwari
06/13/2022, 12:40 PMRahul Tiwari
06/13/2022, 12:45 PMRahul Tiwari
06/13/2022, 12:45 PMRahul Tiwari
06/13/2022, 12:46 PMRahul Tiwari
06/13/2022, 12:46 PMPrashant Shahi
06/13/2022, 12:48 PMexport SERVICE_NAME=$(kubectl get svc --namespace platform -l "<http://app.kubernetes.io/component=frontend|app.kubernetes.io/component=frontend>" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace platform port-forward svc/$SERVICE_NAME 3301:3301
Prashant Shahi
06/13/2022, 12:48 PMRahul Tiwari
06/13/2022, 12:51 PMRahul Tiwari
06/13/2022, 12:52 PMPrashant Shahi
06/13/2022, 12:53 PMport-forward
, frontend UI will be tunnelled to localhost
in the machine where you execute that command.Prashant Shahi
06/13/2022, 12:54 PMhelm upgrade --install -n platform my-release signoz/signoz \
--set frontend.serviceType="LoadBalancer"
Rahul Tiwari
06/13/2022, 12:55 PMPrashant Shahi
06/13/2022, 12:58 PMkubectl -n platform get svc -l "<http://app.kubernetes.io/component=frontend|app.kubernetes.io/component=frontend>"
Prashant Shahi
06/13/2022, 12:58 PMRahul Tiwari
06/13/2022, 12:59 PMRahul Tiwari
06/13/2022, 12:59 PMRahul Tiwari
06/13/2022, 1:09 PMPrashant Shahi
06/13/2022, 1:09 PMkubectl -n platform get svc -l "<http://app.kubernetes.io/component=frontend|app.kubernetes.io/component=frontend>"
Prashant Shahi
06/13/2022, 1:09 PMClusterIP
Rahul Tiwari
06/13/2022, 1:09 PMPrashant Shahi
06/13/2022, 1:10 PMLoadBalancer
Prashant Shahi
06/13/2022, 1:10 PMhelm upgrade --install -n platform my-release signoz/signoz --set my-release-signoz-frontend.serviceType="LoadBalancer"This is incorrect. => You should use this updated command:
helm upgrade --install -n platform my-release signoz/signoz \
--set frontend.service.type="LoadBalancer"
Prashant Shahi
06/13/2022, 1:12 PMRahul Tiwari
06/13/2022, 1:13 PMRahul Tiwari
06/13/2022, 1:13 PM--set frontend.serviceType="LoadBalancer"Release "my-release" has been upgraded. Happy Helming! NAME: my-release LAST DEPLOYED: Mon Jun 13 131157 2022 NAMESPACE: platform STATUS: deployed REVISION: 5 NOTES: 1. You have just deployed SigNoz cluster: - frontend version: '0.8.1' - query-service version: '0.8.1' - alertmanager version: '0.23.0-0.1' - otel-collector version: '0.45.1-0.2' - otel-collector-metrics version: '0.45.1-0.2' 2. Get the application URL by running these commands: export POD_NAME=$(kubectl get pods --namespace platform -l "app.kubernetes.io/name=signoz,app.kubernetes.io/instance=my-release,app.kubernetes.io/component=frontend" -o jsonpath="{.items[0].metadata.name}") echo "Visit http://127.0.0.1:3301 to use your application" kubectl --namespace platform port-forward $POD_NAME 3301:3301 If you have any ideas, questions, or any feedback, please share on our Github Discussions: https://github.com/SigNoz/signoz/discussions/713 [ec2-user@ip-10-0-4-191 ~]$ kubectl get svc -n platform NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE chi-signoz-cluster-0-0 ClusterIP None <none> 8123/TCP,9000/TCP,9009/TCP 39m clickhouse-operator-metrics ClusterIP 172.20.132.206 <none> 8888/TCP 41m my-release-clickhouse ClusterIP 172.20.83.105 <none> 8123/TCP,9000/TCP 40m my-release-signoz-alertmanager ClusterIP 172.20.237.241 <none> 9093/TCP 41m my-release-signoz-alertmanager-headless ClusterIP None <none> 9093/TCP 41m my-release-signoz-frontend ClusterIP 172.20.18.56 <none> 3301/TCP 41m my-release-signoz-otel-collector ClusterIP 172.20.157.129 <none> 4317/TCP,4318/TCP,55680/TCP,55681/TCP,14250/TCP,14268/TCP,9411/TCP,8888/TCP,8889/TCP 41m my-release-signoz-otel-collector-metrics ClusterIP 172.20.33.70 <none> 4317/TCP,4318/TCP,55680/TCP,55681/TCP,14250/TCP,14268/TCP,9411/TCP,8888/TCP 41m my-release-signoz-query-service ClusterIP 172.20.24.176 <none> 8080/TCP,8085/TCP 41m my-release-zookeeper ClusterIP 172.20.216.19 <none> 2181/TCP,2888/TCP,3888/TCP 41m my-release-zookeeper-headless ClusterIP None <none> 2181/TCP,2888/TCP,3888/TCP 41m [ec2-user@ip-10-0-4-191 ~]$
Prashant Shahi
06/13/2022, 1:14 PMRahul Tiwari
06/13/2022, 1:14 PMPrashant Shahi
06/13/2022, 1:14 PMfrontend.service.type
and not frontend.serviceType
Rahul Tiwari
06/13/2022, 1:14 PMRahul Tiwari
06/13/2022, 1:17 PMRahul Tiwari
06/13/2022, 1:17 PMRahul Tiwari
06/13/2022, 1:17 PMPrashant Shahi
06/13/2022, 1:18 PMkubectl -n platform get svc -l "<http://app.kubernetes.io/component=frontend|app.kubernetes.io/component=frontend>"
Prashant Shahi
06/13/2022, 1:18 PMRahul Tiwari
06/13/2022, 1:22 PMRahul Tiwari
06/13/2022, 1:22 PMRahul Tiwari
06/13/2022, 1:23 PMRahul Tiwari
06/13/2022, 1:52 PMPrashant Shahi
06/13/2022, 2:45 PMhttp://<load-balancer-address>:3301
Prashant Shahi
06/13/2022, 2:45 PMRahul Tiwari
06/13/2022, 3:00 PMRahul Tiwari
06/13/2022, 3:01 PMPrashant Shahi
06/13/2022, 3:04 PMkubectl -n platform get pods,svc
Rahul Tiwari
06/13/2022, 3:08 PMRahul Tiwari
06/13/2022, 3:16 PMPrashant Shahi
06/13/2022, 3:17 PMPrashant Shahi
06/13/2022, 3:17 PMkubectl describe -n platform service/my-release-signoz-frontend
Prashant Shahi
06/13/2022, 3:18 PMkubectl -n platform get pods -o wide
Rahul Tiwari
06/13/2022, 3:18 PMPrashant Shahi
06/13/2022, 3:37 PMkubectl -n platform get pods -o wide
Rahul Tiwari
06/13/2022, 3:39 PMPrashant Shahi
06/13/2022, 3:39 PMIP
of frontend pod should be part of frontend svc Endpoints
Rahul Tiwari
06/13/2022, 3:40 PMRahul Tiwari
06/13/2022, 3:40 PMRahul Tiwari
06/13/2022, 3:41 PMPrashant Shahi
06/13/2022, 3:46 PMPrashant Shahi
06/13/2022, 3:47 PMhelm upgrade --install -n platform my-release signoz/signoz \
--set frontend.service.type="ClusterIP"
after couple of minutes:
helm upgrade --install -n platform my-release signoz/signoz \
--set frontend.service.type="LoadBalancer"
Prashant Shahi
06/13/2022, 3:48 PMPrashant Shahi
06/13/2022, 3:48 PMRahul Tiwari
06/13/2022, 3:48 PMPrashant Shahi
06/13/2022, 3:49 PMPrashant Shahi
06/13/2022, 3:49 PMedit
or update
anything else?Rahul Tiwari
06/13/2022, 3:50 PMRahul Tiwari
06/13/2022, 3:50 PMRahul Tiwari
06/13/2022, 3:56 PMtype
is 'ClusterIP'
[ec2-user@ip-10-0-4-191 ~]$Rahul Tiwari
06/13/2022, 3:56 PMPrashant Shahi
06/13/2022, 3:57 PMRahul Tiwari
06/13/2022, 3:58 PMRahul Tiwari
06/13/2022, 4:05 PMRahul Tiwari
06/13/2022, 4:05 PMRahul Tiwari
06/13/2022, 4:24 PMRahul Tiwari
06/13/2022, 4:31 PMRahul Tiwari
06/13/2022, 4:51 PMPrashant Shahi
06/13/2022, 4:52 PMRahul Tiwari
06/13/2022, 4:54 PM