nginx-ingress-operator

module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: Apache-2.0

README

NGINX Ingress Operator

The NGINX Ingress Operator is a Kubernetes/OpenShift component which deploys and manages one or more NGINX/NGINX Plus Ingress Controllers which in turn handle Ingress traffic for applications running in a cluster.

Learn more about operators in the Kubernetes Documentation.

Getting Started

  1. Install the NGINX Ingress Operator. See docs.
  2. Deploy a new NGINX Ingress Controller using the NginxIngressController Custom Resource:

NGINX Ingress Operator Releases

We publish NGINX Ingress Operator releases on GitHub. See our releases page.

The latest stable release is 0.0.4. For production use, we recommend that you choose the latest stable release.

Development

It is possible to run the operator in your local machine. This is useful for testing or during development.

Run Operator locally
  1. Have access to a Kubernetes/Openshift cluster.
  2. Apply the latest CRD:
    kubectl apply -f deploy/crds/k8s.nginx.org_nginxingresscontrollers_crd.yaml
    
  3. Run make run-local.

The operator will run in your local machine but will be communicating with the cluster.

Update CRD

If any change is made in the CRD in the go code, run the following commands to update the changes in the CRD yaml:

  1. make generate-crds
  2. Apply the new CRD definition again in your cluster kubectl apply -f deploy/crds/k8s.nginx.org_nginxingresscontrollers_crd.yaml.
Run tests

Run make test to run unit tests locally.

Contributing

If you'd like to contribute to the project, please read our Contributing guide.

Directories

Path Synopsis
cmd
pkg
apis/k8s
Package k8s contains k8s API versions.
Package k8s contains k8s API versions.
apis/k8s/v1alpha1
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.nginx.org Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.nginx.org
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.nginx.org Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.nginx.org

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL