Installation with NGINX App Protect Dos
Note: The NGINX Kubernetes Ingress Controller integration with NGINX App Protect requires the use of NGINX Plus.
This document provides an overview of the steps required to use NGINX App Protect Dos with your NGINX Ingress Controller deployment. You can visit the linked documents to find additional information and instructions.
- Make sure you have access to the Ingress controller image:
- For NGINX Plus Ingress controller, see here for details on how to pull the image from the F5 Docker registry.
- To pull from the F5 Container registry in your Kubernetes cluster, configure a docker registry secret using your JWT token from the MyF5 portal by following the instructions from here.
- It is also possible to build your own image and push it to your private Docker registry by following the instructions from here.
- Clone the Ingress controller repo:
$ git clone https://github.com/nginxinc/kubernetes-ingress/ $ cd kubernetes-ingress $ git checkout v2.1.0
kubectl apply -f common/ns-and-sa.yaml
- Deploy the app protect dos arbitrator
kubectl apply -f deployment/appprotect-dos-arb.yaml kubectl apply -f service/appprotect-dos-arb-svc.yaml
Take the steps below to create the Docker image that you’ll use to deploy NGINX Ingress Controller with App Protect Dos in Kubernetes.
When running the
makecommand to build the image, be sure to use the
debian-image-dos-plustarget. For example:
make debian-image-dos-plus PREFIX=<your Docker registry domain>/nginx-plus-ingress
Take the steps below to set up and deploy the NGINX Ingress Controller and App Protect Dos module in your Kubernetes cluster.
Important: You must have an admin role to configure RBAC in your Kubernetes cluster.
Enable the App Protect Dos module by adding the
enable-app-protect-doscli argument to your Deployment or DaemonSet file.
For more information, see the Configuration guide,the NGINX Ingress Controller with App Protect Dos example for Ingress and the NGINX Ingress Controller with App Protect Dos example for VirtualServer.