Skip to content

Modify Domain Access to IP Access

Change Domain Access to IP Access

  • Modify the service status in the forethought-webclient Namespace
kubectl patch svc management-webclient -n forethought-webclient -p '{"spec": {"type": "NodePort"}}'
kubectl patch svc front-webclient -n forethought-webclient -p '{"spec": {"type": "NodePort"}}'
kubectl patch svc dataflux-doc -n forethought-webclient -p '{"spec": {"type": "NodePort"}}'
  • Modify the service status in the forethought-core Namespace
kubectl patch svc management-backend -n forethought-core -p '{"spec": {"type": "NodePort"}}'
kubectl patch svc static-resource-nginx -n forethought-core -p '{"spec": {"type": "NodePort"}}'
kubectl patch svc front-backend -n forethought-core -p '{"spec": {"type": "NodePort"}}'
  • Modify the service status in the func2 Namespace
kubectl patch svc server -n func2 -p '{"spec": {"type": "NodePort"}}'

Obtain the corresponding NodePort of the SVC and record it for later use.

  • Log in to the launcher interface via browser

ip-access1

  • Modify the ConfigMap configuration related to backend management in forethought-webclient

ip-access2 ip-access3 ip-access4

Change to the host IP + port corresponding to management-backend in the forethought-core Namespace

  • Modify the ConfigMap configuration related to the homepage in forethought-webclient

ip-access5 ip-access6 ip-access7 ip-access8

  • Modify the ConfigMap configuration related to the homepage in forethought-core

ip-access9 ip-access10 ip-access11 ip-access12

  • Modify the ConfigMap configuration related to kodo-nginx in forethought-kodo

ip-access13

  • Modify the ConfigMap configuration related to func center in func2

ip-access14

  • Confirm the configuration changes, then check the restart service option and verify in the browser

ip-access15

Note: After making changes, wait a few minutes for the services to restart before accessing them.

Feedback

Is this page helpful? ×