IBM Support

Enabling the DataPower WebGUI in a Kubernetes Deployment

Technical Blog Post


Abstract

Enabling the DataPower WebGUI in a Kubernetes Deployment

Body

In order to access the DataPower WebGUI please follow these steps.

1. Save the following yaml file as gw-extras.yaml.

datapower:
  # Gateway MGMT variables
  # This value should either be "enabled" or "disabled". Default is disabled.
  webGuiManagementState: “enabled”
  webGuiManagementPort: 9090
  webGuiManagementLocalAddress: 0.0.0.0
  # This value should either be "enabled" or "disabled". Default is disabled.
  gatewaySshState: “enabled”
  gatewaySshPort: 9022
  gatewaySshLocalAddress: 0.0.0.0
  # This value should either be "enabled" or "disabled". Default is disabled.
  restManagementState: “enabled”
  restManagementPort: 5554
  restManagementLocalAddress: 0.0.0.0

2. Run the following command to add the extra values file to your apicup yaml file.
apicup subsys set gwy extra-values-file <path/to/gw-extras.yaml>

3. Deploy the gateway subsystem again.
apicup subsys install gwy

4. Once it is deployed run kubectl get pods -n <namespace> to get the pod name for DataPower. Then run kubectl port-forward <pod> 9090:9090 to forward the port to your local machine.

5. The DataPower web console is now available on https://127.0.0.1:9090
The Username and Password is admin:admin by default.

Info received from: https://medium.com/@cminion/enabling-the-datapower-webui-in-a-kubernetes-deployment-33fc8c9ca4be

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000Ce8hAAC","label":"API Connect->Management and Monitoring (MM)->UI"}],"ARM Case Number":"TS004216236","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

UID

ibm11081407