Installation

Dependencies

To install ingress controller in k8s, need to care about 3 parts:

  1. CRDs: The definitions of Apache APISIX configurations in Kubernetes.

  2. RBAC: This is support by Kubernetes, granting ingress controller resource access permissions.

  3. Configmap: Contains the necessary configuration for ingress controller.

Kustomize

Install the abovementioned resources by Kustomize:

kubectl kustomize "github.com/apache/apisix-ingress-controller/samples/deploy?ref=master" | kubectl apply -f -

If the default parameters in samples/deploy are not good for you, just tweak them and run:

kubectl apply -k /path/to/apisix-ingress-controller/samples/deploy

Helm

// todo

Manual build

  • Build binary
$ cd /path/to/apisix-ingress-controller/
$ make build
  • Build with Docker
$ docker build -t apache/ingress-controller:v0.1.0 ../.

Next