--- layout: docs page_title: Deploy API Gateway for Kubernetes description: >- Learn how to apply a configured Consul API Gateway to your Kubernetes cluster, review the required fields for rerouting HTTP requests, and troubleshoot an error message. --- # Deploy API Gateway for Kubernetes This topic describes how to use Consul API Gateway. ## Requirements Complete the following steps to use Consul API Gateway in your network. 1. Verify that the [requirements](/consul/docs/api-gateway/tech-specs) have been met. 1. Verify that the Consul API Gateway CRDs were applied. Refer to [Installation](/consul/docs/api-gateway/install) for details. ## Configuration Configure the following resources for your environment as described in [Consul API Gateway Configuration](/consul/docs/api-gateway/configuration). 1. [`Gateway`](/consul/docs/api-gateway/configuration/gateway) 1. [`Routes`](/consul/docs/api-gateway/configuration/routes) 1. [`Intentions`](/consul/docs/connect/config-entries/service-intentions) ## Apply configurations Issue the `kubectl apply` command to implement the configurations: ```shell-session $ kubectl apply -f gateway.yaml routes.yaml intentions.yaml ```