wso2 / kubernetes-apim

Kubernetes and Helm resources for WSO2 API Manager
Apache License 2.0
112 stars 216 forks source link

Deploying the WSO2 apim without a hostname #554

Open FirasSoltani opened 2 years ago

FirasSoltani commented 2 years ago

So I'm following the HELM installation process with the simple node configuration. I'm aware that the HELM installation takes values for the hostname, well I'm deploying using an AKS cluster and the thing is I don't have a hostname to map to an external IP in the last step, so I'm trying to access using the external IP which is not working. Even if I try exposing the deployment again and accessing it I get redirected to the hostname which is am.wso2.com Is there anyone that had this problem and managed to overcome it ? Thank you

RakhithaRR commented 2 years ago

Have you deployed an Ingress controller in your AKS cluster? In the given charts, host name mapping to the service is done through Ingress [1]. You have to add that mapping in your client side /etc/hosts file to access the APIM server through the browser.

[1] - https://github.com/wso2/kubernetes-apim/blob/master/simple/am-single/templates/am/wso2am-ingress.yaml