Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com>
- Loading branch information
1 parent
ce10999
commit 3e9e23e
Showing
7 changed files
with
492 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
1. Access ditto in your browser by running one of these commands: | ||
|
||
{{- if contains "NodePort" .Values.service.type }} | ||
- minikube service ditto (browser is automatically redirected) | ||
OR | ||
- kubectl port-forward svc/ditto 8080 (localhost:8080) | ||
- kubectl port-forward svc/ditto 8080 --namespace {{ .Release.Namespace }} (localhost:8080) | ||
{{- else if contains "LoadBalancer" .Values.service.type }} | ||
NOTE: It may take a few minutes for the LoadBalancer IP to be available. | ||
You can watch the status of by running 'kubectl get svc -w ditto --namespace {{ .Release.Namespace }}' | ||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} ditto -o jsonpath='{.status.loadBalancer.ingress[0].ip}') | ||
echo http://$SERVICE_IP:{{ .Values.service.port }} | ||
{{- end }} |
Oops, something went wrong.