Fix 556. Kafka-ui is available on port 8080 (#557)

* Fix 556. Kafka-ui is available on port 8080
* svc/kafka-ui available on port 80

Co-authored-by: David Faillefer <faillefer+github@gmail.com>
This commit is contained in:
faillefer 2021-06-15 17:05:01 +02:00 committed by GitHub
parent 804e3b96fc
commit e2e1b54235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,5 +17,5 @@
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "kafka-ui.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:8080
{{- end }}