Skip to main content

Version: 2.13.2304

Gateway

Add Gateway Node

A gateway node is a data plane node and one of the core components of API7. It is responsible for handling all incoming API requests and returning responses.

In production, it is recommended to deploy two or more data plane nodes to prevent a single point of failure. Adding more nodes can provide better horizontal scalability and support more business traffic.

The data plane nodes should be deployed before adding them to the control plane.

  1. Log in to the API7 Enterprise dashboard.
  2. In the top navigation menu, click on Cluster Management .
  3. In the left menu bar, click on Cluster List .
  4. Click on More button corresponding to the cluster in the list, and in the dropdown menu, click on Copy cluster info.
  5. Install the API7-Gateway data plane component on a new node.
  6. After successfully installing API7-Gateway, modify the configuration file:
vim /usr/local/apisix/conf/config.yaml

etcd:
host:
- "http://api7-dashboard-etcd.api7.svc.cluster.local:2379"
prefix: "/api7/452869103972058061"
timeout: 30

  1. Restart API7-Gateway:
# RPM
apisix restart

# docker
docker restart ${containerID}

# k8s
kubectl delete pod ${podID} -n ${namespace}


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation