2022-02-16 11:54:43 -08:00
---
layout: docs
page_title: Consul API Gateway Technical Specifications
description: >-
2022-09-23 15:59:02 -05:00
Consul API Gateway is a service mesh add-on for Kubernetes deployments. Learn about its requirements for system resources, ports, and component versions, its Enterprise limitations, and compatible k8s cloud environments.
2022-02-16 11:54:43 -08:00
---
2022-09-23 15:59:02 -05:00
# Consul API Gateway Technical Specifications
2022-02-22 16:57:04 -05:00
2022-02-22 16:44:30 -08:00
This topic describes the technical specifications associated with using Consul API Gateway.
## Requirements
Verify that your environment meets the following requirements prior to using Consul API Gateway.
### Datacenter Requirements
2022-02-22 16:57:04 -05:00
2022-02-22 17:43:46 -05:00
Your datacenter must meet the following requirements prior to configuring the Consul API Gateway:
- Kubernetes 1.21+
- `kubectl` 1.21+
2022-06-20 17:00:11 -07:00
- Consul 1.11.2+
2022-10-31 16:31:10 -04:00
- HashiCorp Consul Helm chart 0.47.1+
2022-02-24 07:25:58 -08:00
- Consul Service Mesh must be deployed on the Kubernetes cluster that API Gateway is deployed on.
2023-01-25 10:52:43 -06:00
- Envoy: Envoy proxy support is determined by the Consul version deployed. Refer to [Envoy Integration](/consul/docs/connect/proxies/envoy) for details.
2022-02-22 17:43:46 -05:00
2022-02-22 16:44:30 -08:00
### TCP Port Requirements
The following table describes the TCP port requirements for each component of the API Gateway.
| Port | Description | Component |
2022-04-25 20:59:18 -07:00
| ---- | ----------- | --------- |
2022-02-22 16:44:30 -08:00
| 9090 | Secret discovery service (SDS) | Gateway controller pod <br/> Gateway instance pod |
| 20000 | Kubernetes readiness probe | Gateway instance pod |
| Configurable | Port for scraping Prometheus metrics. Disabled by default. | Gateway controller pod |
2022-02-22 16:57:04 -05:00
## Consul Server Deployments
- Consul Editions supported: OSS and Enterprise
- Supported Consul Server deployment types:
2022-02-22 17:43:46 -05:00
- Self-Managed
2022-02-22 16:57:04 -05:00
- HCP Consul
2022-09-08 11:38:27 -07:00
### Limited Support of some Consul Features
2022-09-08 12:51:44 -07:00
The following table lists API Gateway limitations related to specific Consul features
2022-09-08 11:38:27 -07:00
| Consul Feature | Limitation |
| -------------- | ---------- |
2023-01-25 10:52:43 -06:00
| [Admin partitions](/consul/docs/enterprise/admin-partitions) | You can deploy Consul API Gateway into the `default` admin partition only. You can route to services in other `default` admin partitions through peered connections. Refer to [Route Traffic to Peered Services](/consul/docs/api-gateway/usage/route-to-peered-services) for additional information. |
2022-11-17 15:42:25 -08:00
| Routing between datacenters | If you are connecting multiple Consul datacenters to create a federated network, you can route to services in other datacenters through peered connections. Refer to [Route Traffic to Peered Services](/consul/docs/api-gateway/usage/route-to-peered-services) for additional information. |
2022-09-08 11:38:27 -07:00
2022-02-22 16:57:04 -05:00
## Deployment Environments
Consul API Gateway can be deployed in the following Kubernetes-based environments:
- Generic Kubernetes
- AWS Elastic Kubernetes Service (EKS)
- Google Kubernetes Engine (GKE)
- Azure Kubernetes Service (AKS)
2022-04-25 20:59:18 -07:00
## Kubernetes Gateway API Specification - Supported Versions
2022-02-22 16:57:04 -05:00
2022-04-25 20:59:18 -07:00
See the Release Notes for the version of Consul API Gateway being used.
2022-02-22 16:57:04 -05:00
## Resource Allocations
2022-02-22 16:44:30 -08:00
The following resources are allocated for each component of the API Gateway.
2022-02-22 16:57:04 -05:00
### Gateway Controller Pod
2022-04-25 20:59:18 -07:00
- **CPU**: None. Either the namespace or cluster default is allocated, depending on the Kubernetes cluster configuration.
- **Memory**: None. Either the the namespace or cluster default is allocated, depending on the Kubernetes cluster configuration.
2022-02-22 16:57:04 -05:00
### Gateway Instance Pod
2022-04-25 20:59:18 -07:00
- **CPU**: None. Either the namespace or cluster default is allocated, depending on the Kubernetes cluster configuration.
- **Memory**: None. Either the namespace or cluster default is allocated, depending on the Kubernetes cluster configuration.