Skip to content

Latest commit

 

History

History

scenario-15

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Scenario-15 : Deploy API Manager Pattern-4

Installation Prerequisiyes

In this scenario we are deploying API Manager Pattern-3 by using the following simple yaml definition. All API Manager servers are exposed via Ingress Controller.

apiVersion: apim.wso2.com/v1alpha1
kind: APIManager
metadata:
  name: cluster-1
spec:
  pattern: Pattern-4

Deploy pattern 4

kubectl create -f wso2-apim.yaml

Access API Manager

Get the external address of the ingresses using the command,


kubectl get ing

Output:
NAME                                   HOSTS                    ADDRESS           PORTS      AGE
wso2-am-analytics-dashboard-ingress    analytics.am.wso2.com    35.198.248.85     80, 443    36m
wso2-am-ingress                        am.wso2.com              35.198.248.85     80, 443    36m
wso2-am-gw-external-ingress            ext.gateway.am.wso2.com  35.198.248.85     80, 443    36m
wso2-am-gw-internal-ingress            int.gateway.am.wso2.com  35.198.248.85     80, 443    36m

Add an /etc/hosts/ entry as follows.

/etc/hosts
- - - - - - - - - - 
<EXTERNAL-ADDRESS>       analytics.am.wso2.com gateway.am.wso2.com publisher.am.wso2.com devportal.am.wso2.com

In pattern-4 publishers can select either Internal or External gateway in Publisher Environments page.