Software AG Products 10.7 | Configuring API Gateway | Kubernetes Support | Kubernetes Sample Files
 
Kubernetes Sample Files
The API Gateway installation provides Kubernetes deployment samples located at SAG_Root/IntegrationServer/instances/default/packages/WmAPIGateway/resources/samples/K8s.
To use the samples to deploy API Gateway in the Kubernetes setup, you must adapt the samples to configure the required specifications. Depending upon the Kubernetes deployment model, use the respective Kubernetes sample deployment files. API Gateway provides the following three sample deployment files:
*api-gateway-deployment-embedded-elasticsearch.yaml
This file shows how to deploy an API Gateway with an embedded Elasticsearch to a Kubernetes cluster. Required information you have to specify before you use this file are: container name, the path to your API Gateway image stored in a docker registry and container port.
*api-gateway-deployment-external-elasticsearch.yaml
This file shows how to deploy an API Gateway without elasticsearch to a kubernetes cluster. You must have an external Elasticsearch to be up and running. Required information you have to specify before you use this file are: container name, the path to your API Gateway image stored in a docker registry, container port, and information to access your external Elasticsearch.
*api-gateway-deployment-sidecar-elasticsearch.yaml
This file shows how to deploy an API Gateway with an Elasticsearch as a sidecar container (side car means the Elasticsearch container is deployed within the pod of the API Gateway) to a Kubernetes cluster. Required information you have to specify before you use this file are: API Gateway container name, the path to your API Gateway image stored in a docker registry, Elasticsearch container name, and the path to the Elasticsearch image.
The sample file also deploys an application service for the selected deployment. You can specify the configuration details for the service to be deployed. You can create and start all the services from your configuration with a single command.