Skip to content

webserver_interface seems not using default to 0.0.0.0 like the document says #40

@hongbo-miao

Description

@hongbo-miao

I had a question regarding how to port-forward web UI correctly at https://forum.yugabyte.com/t/how-to-port-forward-correctly/1181

I try to deploy by operator based on this tutorial https://docs.yugabyte.com/latest/deploy/kubernetes/single-zone/oss/yugabyte-operator/

kubectl create -f deploy/crds/yugabyte.com_ybclusters_crd.yaml
kubectl create -f deploy/operator.yaml
kubectl create -f deploy/crds/yugabyte.com_v1alpha1_ybcluster_cr.yaml

The files mentioned above are at https://github.com/yugabyte/yugabyte-operator/tree/966ef1978ed5d714119548b2c4343925fe49f882/deploy

Alan Caldera answered me (thanks!)

I made it work by adding

    gflags:
      - key: webserver_interface
        value: "0.0.0.0"

However, I met some unexpected things.

Based on the document “ yb-tserver configuration reference | YugabyteDB Docs ”,

webserver_interface is default to 0.0.0.0. However, the truth is port-forward won’t work without adding this

    gflags:
      - key: webserver_interface
        value: "0.0.0.0"

It would be great to fix either doc or code, thanks! 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions