To install ingress controller
in k8s, need to care about 3 parts:
CRDs: The definitions of Apache APISIX configurations in Kubernetes.
RBAC: This is support by Kubernetes, granting ingress controller
resource access permissions.
Configmap: Contains the necessary configuration for ingress controller
.
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
// todo
$ cd /path/to/apisix-ingress-controller/ $ make build
$ docker build -t apache/ingress-controller:v0.1.0 ../.