File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
1. Get the application URL by running these commands:
2
- {{- if .Values.ingress.enabled }}
3
- {{- range .Values.ingress.hosts }}
4
- http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
5
- {{- end }}
6
- {{- else if contains "minikube" .Values.cloudProvider }}
2
+ {{- if contains "minikube" .Values.cloudProvider }}
7
3
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "osm-seed.fullname" . }}-web)
8
4
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
9
5
echo http://$NODE_IP:$NODE_PORT
17
13
You can watch the status of by running 'kubectl get svc -w {{ template "osm-seed.fullname" . }}'
18
14
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "osm-seed.fullname" . }}-web -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
19
15
echo http://$SERVICE_IP
20
- {{- end }}
16
+ {{- end }}
You can’t perform that action at this time.
0 commit comments