node-jose

How to connect front to back in k8s cluster internal (connection refused)

喜欢而已 提交于 2020-04-14 07:36:14
问题 Error while trying to connect React frontend web to nodejs express api server into kubernetes cluster. Can navigate in browser to http:localhost:3000 and web site is ok. But can't navigate to http:localhost:3008 as expected (should not be exposed) My goal is to pass REACT_APP_API_URL environment variable to frontend in order to set axios baseURL and be able to establish communication between front and it's api server. deploy-front.yml apiVersion: apps/v1 # for versions before 1.9.0 use apps

How to connect front to back in k8s cluster internal (connection refused)

為{幸葍}努か 提交于 2020-04-14 07:36:12
问题 Error while trying to connect React frontend web to nodejs express api server into kubernetes cluster. Can navigate in browser to http:localhost:3000 and web site is ok. But can't navigate to http:localhost:3008 as expected (should not be exposed) My goal is to pass REACT_APP_API_URL environment variable to frontend in order to set axios baseURL and be able to establish communication between front and it's api server. deploy-front.yml apiVersion: apps/v1 # for versions before 1.9.0 use apps