Installation with the NGINX Ingress Operator
This document describes how to install the NGINX Ingress Controller in your Kubernetes cluster using the NGINX Ingress Operator.
Note: an NGINX Ingress Operator version compatible with the 1.10.0 NGINX Ingress Controller release is not available yet. We will update this document and remove this note once we publish a compatible Operator version.
Prerequisites
- Make sure you have access to the Ingress Controller image:
- Install the NGINX Ingress Operator following the instructions.
1. Create the NginxIngressController manifest
Create a manifest nginx-ingress-controller.yaml
with the following content:
apiVersion: k8s.nginx.org/v1alpha1
kind: NginxIngressController
metadata:
name: my-nginx-ingress-controller
namespace: default
spec:
type: deployment
image:
repository: nginx/nginx-ingress
tag: 1.9.1
pullPolicy: Always
serviceType: NodePort
nginxPlus: False
Note: For NGINX Plus, change the image.repository
and image.tag
values and change nginxPlus
to True
.
2. Create the NginxIngressController
$ kubectl apply -f nginx-ingress-controller.yaml
A new instance of the NGINX Ingress Controller will be deployed by the NGINX Ingress Operator in the default
namespace with default parameters.
To configure other parameters of the NginxIngressController resource, check the documentation.