github.com/nginxinc/kubernetes-ingress@v1.12.5/docs-web/installation/installation-with-operator.md (about)

     1  # Installation with the NGINX Ingress Operator
     2  
     3  This document describes how to install the NGINX Ingress Controller in your Kubernetes cluster using the NGINX Ingress Operator.
     4  
     5  **Note: an NGINX Ingress Operator version compatible with the 1.12 NGINX Ingress Controller release is not available yet. We will update this document and remove this note once we publish a compatible Operator version.**
     6  
     7  ## Prerequisites
     8  
     9  1. Make sure you have access to the Ingress Controller image:
    10      * For NGINX Ingress Controller, use the image `nginx/nginx-ingress` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress).
    11      * For NGINX Plus Ingress Controller, build your own image and push it to your private Docker registry by following the instructions from [here](/nginx-ingress-controller/installation/building-ingress-controller-image).
    12  1. Install the NGINX Ingress Operator following the [instructions](https://github.com/nginxinc/nginx-ingress-operator/blob/master/docs/installation.md).
    13  
    14  ## 1. Create the NginxIngressController manifest
    15  
    16  Create a manifest `nginx-ingress-controller.yaml` with the following content:
    17  
    18  ```yaml
    19  apiVersion: k8s.nginx.org/v1alpha1
    20  kind: NginxIngressController
    21  metadata:
    22    name: my-nginx-ingress-controller
    23    namespace: default
    24  spec:
    25    type: deployment
    26    image:
    27      repository: nginx/nginx-ingress
    28      tag: 1.12.0
    29      pullPolicy: Always
    30    serviceType: NodePort
    31    nginxPlus: False
    32  ```
    33  
    34  **Note:** For NGINX Plus, change the `image.repository` and `image.tag` values and change `nginxPlus` to `True`.
    35  
    36  ## 2. Create the NginxIngressController
    37  
    38  ```
    39  $ kubectl apply -f nginx-ingress-controller.yaml
    40  ```
    41  
    42  A new instance of the NGINX Ingress Controller will be deployed by the NGINX Ingress Operator in the `default` namespace with default parameters.
    43  
    44  To configure other parameters of the NginxIngressController resource, check the [documentation](https://github.com/nginxinc/nginx-ingress-operator/blob/master/docs/nginx-ingress-controller.md).