This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Before you begin...

  1. Download the Kubernetes Microgateway Helm chart ZIP file from here and extract it. Let's refer to the extracted Microgateway Helm chart file location as <K8S_MICROGATEWAY_HOME> throughout this section.
  2. Edit the <K8S_MICROGATEWAY_HOME>/values.yaml file and specify appropriate values to configure the Kubernetes Microgateway Helm chart.

    #Micro-gateway configurations
     
    #Define the number of gateways to be deployed
    replicaCount: 2
     
    namespace: name-of-the-namespace
     
    # Define Docker credentials
    # Use cloud login email as the email
    # Use the value of Base64(cloud-email:cloud-password) as the auth value
    auths:
     https://docker.cloud.wso2.com:
     email: cloud-login-mail
        auth: Y2xvdWQtbG9naW4tZW1haWw6Y2xvdWQtcGFzc3dvcmQ=
     
    #Define the custom-URL of the microgateway service along with the certificate information
    ingress:
     host: microgateway.sample.com
        tls:
            tlsCertificate: certificate-of-the-hostname
            tlsKey: private-key-of-the-hostname
     
     
    ## Include the organization authentication information
    organizationDetails:
     tenantName: tenant-domain
        email: cloud-login-email
        password: cloud-password
     
    # Define the allocated resources per gateway
    resources:
     limits:
     cpu: 400m
         memory: 1024Mi
       requests:
     cpu: 400m
         memory: 1024Mi
    
    
  3.  Navigate to the <K8S_MICROGATEWAY_HOME> directory using the command line and execute the following command to deploy the Microgateway in your Kubernetes cluster:

    helm install --name micro-gateways-deployment .

    This deploys the following deployment in your Kubernetes cluster:

  • No labels