From deb044039e889e88310523f369833bb137c0e145 Mon Sep 17 00:00:00 2001 From: John Chever Date: Thu, 2 Jun 2022 06:17:03 +0800 Subject: [PATCH] docs: add "how to use go plugin runner with APISIX Ingress" (#994) --- ...-use-go-plugin-runner-in-apisix-ingress.md | 201 ++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 docs/en/latest/practices/how-to-use-go-plugin-runner-in-apisix-ingress.md diff --git a/docs/en/latest/practices/how-to-use-go-plugin-runner-in-apisix-ingress.md b/docs/en/latest/practices/how-to-use-go-plugin-runner-in-apisix-ingress.md new file mode 100644 index 0000000000..d714773f32 --- /dev/null +++ b/docs/en/latest/practices/how-to-use-go-plugin-runner-in-apisix-ingress.md @@ -0,0 +1,201 @@ +--- +title: How to use go-plugin-runner with APISIX Ingress +keywords: + - Apache APISIX Ingress + - Plugin + - Ingress Controller + - Go Plugin Runner + - multi language +description: This document walks through how you can use the go plugin runner in the APISIX ingress controller +--- + + + +## Description + +Based on version 0.3 of the go-plugin-runner plugin and version 1.4.0 of APISIX Ingress, this document walks through how you can use the go plugin runner in the APISIX ingress controller. This article goes through steps as follows: + +1. Prepare the environment. +2. Create the cluster. +3. Build a container image that includes the go-plugin-runner. +4. Customize the Helm chart package. +5. Install and deploy. +6. Verify the function. + +It is guaranteed that the final result can be derived in full based on this environment example as follows: + +```bash +go-plugin-runner: 0.3 +APISIX Ingress: 1.4.0 +kind: v0.12.0 +kubectl version(Client/Server): v1.23.5/v1.23.4 +golang: 1.18 +``` + +## Build a cluster environment + +Select `kind` to build a local cluster environment. The command is as follows: + +```bash +cat <