Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access the UI when defining it on a different port #111

Open
ilopmar opened this issue Feb 9, 2022 · 0 comments
Open

Can't access the UI when defining it on a different port #111

ilopmar opened this issue Feb 9, 2022 · 0 comments

Comments

@ilopmar
Copy link

ilopmar commented Feb 9, 2022

I'm trying to configure the UI on a different port than 7000 with something like:

serviceEndpoints:
  - name: "yb-master-ui"
    type: LoadBalancer
    app: "yb-master"
    ports:
      http-ui: "80"

I can install the chart and I see the services are using the new port. When I connect to it in the browser, it immediately fails with a "connection refused" error.

With this patch it works properly but I'm not 100% sure if any other thing is needed.

--- ../../yugabyte/templates/service.yaml	2021-08-28 14:52:55.000000000 +0200
+++ service.yaml	2021-10-25 16:19:37.000000000 +0200
@@ -95,6 +95,7 @@
     {{- range $label, $port := $endpoint.ports }}
     - name: {{ $label | quote }}
       port: {{ $port }}
+      targetPort: 7000
     {{- end}}
   selector:
     {{- include “yugabyte.appselector” ($appLabelArgs) | indent 4 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant