nginxinc/nginx-ingress-operator

Operator installation

TheHunter opened this issue · 3 comments

Hi everyone,
honestly I don't understand how this operator could be installed manually.

In the documentation is specified to execute this command:

make deploy IMG=nginx/nginx-ingress-operator:0.3.0

After cloning the repo, but why?

Is it possible to install this operator in a simplest way?, I mean:

  • execute all yaml manifest (inside a directory) which contains all ones for all CRDs

Sorry for this question, but about "make deploy" command.. what is it? I don't know it.

Thanks in advance.

Hi @TheHunter , I understand how this could be confusing!

The simple answer is, make deploy runs kustomize build & pipes the output to a kubectl apply. The IMG= in your command is used to set the image of the operator to run. See:

deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | kubectl apply -f -

Kustomize if you are unfamiliar with it is a way to manage yaml manifests (a distant cousin of helm). If you'd like to look more into it, see: https://www.densify.com/kubernetes-tools/kustomize

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.