Set BAZEL_REMOTE_HTTP_ADDRESS to : 0.0.0.0:8888 on k8s yaml file for the docker image published on docker hub, version is v2.4.3
but when running the container, the log is still saying started the server on 8080, and port 8888 is never opened, debug through the code, I think this config :
https://github.com/buchgr/bazel-remote/blob/master/BUILD.bazel#L118
caused the port to be hard-coded so that it did not respect the value set for BAZEL_REMOTE_HTTP_ADDRESS. I compiled another image once removed the hard-coded value from oci_image, it just works.
Set BAZEL_REMOTE_HTTP_ADDRESS to : 0.0.0.0:8888 on k8s yaml file for the docker image published on docker hub, version is v2.4.3
but when running the container, the log is still saying started the server on 8080, and port 8888 is never opened, debug through the code, I think this config :
https://github.com/buchgr/bazel-remote/blob/master/BUILD.bazel#L118
caused the port to be hard-coded so that it did not respect the value set for BAZEL_REMOTE_HTTP_ADDRESS. I compiled another image once removed the hard-coded value from oci_image, it just works.