Ingress Nginx Operator is the operator for Kubernetes Ingress NGINX Controller. We use this project to manage nginx gateway resources in Kubegems.
This project is based on nginx-ingress-operator by Nginx Inc and the main code structure is learn from it. The main difference is:
Nginx-ingress-operator by Nginx Inc uses https://github.com/nginxinc/kubernetes-ingress controller. This project uses https://github.com/kubernetes/ingress-nginx controller
The following table shows the relation between ingress-nginx operator and controller project.
Ingress NGINX Operator | Ingress NGINX Controller |
---|---|
0.1.x | 1.3.0 |
0.2.x | 1.3.0 |
- Deploy
kubectl apply -f https://raw.githubusercontent.com/kubegems/ingress-nginx-operator/main/bundle.yaml
- Check
kubectl get pod -n ingress-nginx-operator-system
NAME READY STATUS RESTARTS AGE
ingress-nginx-operator-controller-manager-865d785459-psjgr 2/2 Running 0 1m
This is an example:
kubectl apply -f https://raw.githubusercontent.com/kubegems/ingress-nginx-operator/main/config/samples/networking_v1beta1_nginxingresscontroller.yaml
- Deploy
make manifest
make install
- Run
make generate
make run