You can expose API Manager servers via Ingress Controller.
-
Install the NGINX Ingress Controller.
-
Deploy configuration updated configmaps.
kubectl apply -f configmaps/
-
Deploy API Manager
kubectl apply -f wso2-apim.yaml
-
Access API Manager
Get the external address of the ingresses using the command,
kubectl get ingress Output: NAME HOSTS ADDRESS PORTS AGE wso2-am-analytics-dashboard-p1-ingress wso2apim-analytics 104.154.172.7 80, 443 3m18s wso2-am-gateway-p1-ingress wso2apim-gateway 104.154.172.7 80, 443 3m18s wso2-am-p1-ingress wso2apim 104.154.172.7 80, 443 3m18s
Add an /etc/hosts/ entry as follows.
/etc/hosts ---------- <EXTERNAL-ADDRESS> wso2apim wso2apim-gateway wso2apim-analytics
- API Publisher : https://wso2apim/publisher
- API Devportal : https://wso2apim/devportal
- API Analytics Dashboard : https://wso2apim-analytics/analytics-dashboard