File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
chart/k8sdb-controller/templates Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 1
- Verify the application is working by running these commands:
2
- {{if contains "NodePort" .Values.service.type }}
3
- NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
4
- NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "k8sdb-controller.fullname" . }})
5
- curl http://$NODE_IP:$NODE_PORT{{ .Values.metricsPath }}
6
- {{- else if contains "LoadBalancer" .Values.service.type }}
7
- # NOTE: It may take a few minutes for the LoadBalancer IP to be available.
8
- SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "k8sdb-controller.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
9
- curl http://$SERVICE_IP:{{ .Values.service.port }}{{ .Values.metricsPath }}
10
- {{- else if contains "ClusterIP" .Values.service.type }}
11
- kubectl port-forward service/{{ include "k8sdb-controller.fullname" . }} {{ .Values.service.port }}
12
- curl http://127.0.0.1:{{ .Values.service.port }}{{ .Values.metricsPath }}
13
- {{- end }}
1
+ Controller installed successfully.
You can’t perform that action at this time.
0 commit comments