This documentation is work in progress and will be released with the next API Microgateway Pipeline release.
Quick Start Guild - MGW - WSO2 Documentation

All docs This doc
Skip to end of metadata
Go to start of metadata

Setting up a basic pipeline for WSO2 API Microgateway on Kubernetes is quick and simple.Before you begin to develop your pipeline, set up the following prerequisites in your Kubernetes cluster.

Prerequisites

  1. Install and set up Helm .

  2. Install Nginx Ingress Controller Git release nginx-0.22.0 .

Deploy the CI/CD pipeline

  1. Download and save the following values file and replace the placeholders with their respective values.

    $ wget https://raw.githubusercontent.com/wso2/kubernetes-pipeline/master/samples/values-mgw.yaml
    • <REGISTRY_USERNAME> - Docker organization name.
    • <REGISTRY_PASSWORD> - Docker password.
    • <REGISTRY_EMAIL> - Email address of Docker organization.
    • <EMAIL> - Email address notifications should be sent to in case of failure.
    • <GITHUB_USERNAME> - GitHub username.
    • <GITHUB_PASSWORD> - GitHub password.
  2. Add the WSO2 helm repository by running the following commands.

    $ helm repo add wso2 https://helm.wso2.com
    $ helm repo update
  3. Install the pipeline Helm chart by pointing to the updated values-mgw.yaml file.

    $ helm install --name <RELEASE_NAME> wso2/kubernetes-pipeline -f values-mgw.yaml --namespace <NAMESPACE>
    The installation will take up to 10 minutes.
  4. After the installation has completed successfully, obtain the external IP (`EXTERNAL-IP`) of the Ingress resources by listing down the Kubernetes Ingresses.

    $ kubectl get ing -n <NAMESPACE>
    NAMEHOSTSADDRESS PORTS AGE
    <RELEASE_NAME>-grafana grafana  <EXTERNAL_IP>8020m
    <RELEASE_NAME>-kibana kibana<EXTERNAL_IP>8020m
    RELEASE_NAME>-spinnaker-deckspinnaker<EXTERNAL_IP>80, 443 20m
    <RELEASE_NAME>-spinnaker-gategate.spinnaker<EXTERNAL_IP>80, 443 20m
    jenkins-ingress jenkins  <EXTERNAL_IP>80, 443 20m
  5. Add the above hosts as an entry in /etc/hosts as follows:

    <EXTERNAL_IP>  grafana kibana spinnaker jenkins
  6. Navigate to the following URLs on any web browser:

    1. Continuous Integration: https://jenkins
    2. Continuous Delivery: https://spinnaker
    3. Monitoring: https://grafana
    4. Logging: https://kibana

What’s next: