Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 2.65 KB

installation.md

File metadata and controls

37 lines (21 loc) · 2.65 KB

Install NGINX Ingress Controller with App Protect

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 with your NGINX Ingress Controller deployment. You can visit the linked documents to find additional information and instructions.

You can also install the Ingress Controller with App Protect by using Helm. Use the controller.appprotect.* parameters of the chart.

Build the Docker Image

Take the steps below to create the Docker image that you'll use to deploy NGINX Ingress Controller with App Protect in Kubernetes.

  • Build the NGINX Ingress Controller image.

    When running the make command to build the image, be sure to use the DOCKERFILE=appprotect/DockerfileWithAppProtectForPlus build parameter. For example:

    make DOCKERFILE=appprotect/DockerfileWithAppProtectForPlus PREFIX=<your Docker registry domain>/nginx-plus-ingress

    Alternatively, if You are want to run on an OpenShift cluster You can use the DOCKERFILE=appprotect/DockerfileWithAppProtectForPlusForOpenShift build parameter.

  • Push the image to your local Docker registry.

Install the Ingress Controller

Take the steps below to set up and deploy the NGINX Ingress Controller and App Protect module in your Kubernetes cluster.

  1. Configure role-based access control (RBAC).

    Important: You must have an admin role to configure RBAC in your Kubernetes cluster.

  2. Create the common Kubernetes resources.

  3. Enable the App Protect module by adding the enable-app-protect cli argument to your Deployment or DaemonSet file.

  4. Deploy the Ingress Controller.

For more information, see the Configuration guide and the NGINX Ingress Controller with App Protect examples on GitHub.