File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
charts/perfectscale-agent Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 1- 1. Get the application URL by running these commands:
2- {{- if contains "NodePort" .Values.service.type }}
3- export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "helm.fullname" . }})
4- export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
5- echo http://$NODE_IP:$NODE_PORT
6- {{- else if contains "LoadBalancer" .Values.service.type }}
7- NOTE: It may take a few minutes for the LoadBalancer IP to be available.
8- You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "helm.fullname" . }}'
9- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "helm.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
10- echo http://$SERVICE_IP:{{ .Values.service.port }}
11- {{- else if contains "ClusterIP" .Values.service.type }}
12- export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "helm.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
13- export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
14- echo "Visit http://127.0.0.1:8080 to use your application"
15- kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
16- {{- end }}
1+ Thank you for installing PerfectScale.
2+ Visit http://app.perfectscale.io/ to use the application.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 1
22image :
33 repository : public.ecr.aws/perfectscale-io/psc-exporter
44 pullPolicy : Always
5- tag : " v0.0.12 "
5+ tag : " v0.0.13 "
66settings :
77 serviceId : " psc-exporter"
88 env : " prod"
You can’t perform that action at this time.
0 commit comments