Prepare Environment
Create Cluster
Accessing the cluster named poc
and the workspace named poc_1
, you can create upstream, plugin templates and APIs to test the functionality.
From root to cluster poc
:
Create workspace
Go to the Workspaces page and click Create.
Refer to the following configuration to create a workspace.
Here you need to set a Host, which will be used later when creating the API.
Enter the workspace after it is created. From cluster poc
to workspace poc_1
:
Next POC cases will use this as a starting point to create APIs with plugin.
Create Plugin Template
Go to the Plugin Template page in the API and click Create.
Set a description and select the plugins you want to enable.
Enable the plugin and set the plugin configuration, then Submit.
Submit a plugin template.
Create Upstream
Go to the Upstream page and click Create.
For POC purposes, we can create a simplest upstream, referring to the following configuration.
Create API (AKA Route
in APISIX)
Go to the List page in the API and click Create.
Configure the route name, upstream and plugins.
Configure the hostname
and path
of this API.
Please note that the hostname
can only be selected from the list set when creating the working partition.