-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-3.4' into docs/update-crds-operator
- Loading branch information
Showing
7 changed files
with
371 additions
and
149 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
docs/content/includes/installation/create-custom-resources.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
To make sure your NGINX Ingress Controller pods reach the `Ready` state, you'll need to create custom resource definitions (CRDs) for various components. | ||
|
||
Alternatively, you can disable this requirement by setting the `-enable-custom-resources` command-line argument to `false`. | ||
|
||
There are two ways you can install the custom resource definitions: | ||
|
||
1. Using a URL to apply a single CRD yaml file, which we recommend. | ||
1. Applying your local copy of the CRD yaml files, which requires you to clone the repository. | ||
|
||
{{<tabs name="install-crds">}} | ||
|
||
{{%tab name="Install CRDs from single YAML"%}} | ||
|
||
This single YAML file creates CRDs for the following resources: | ||
|
||
- [VirtualServer and VirtualServerRoute]({{< relref "configuration/virtualserver-and-virtualserverroute-resources.md" >}}) | ||
- [TransportServer]({{< relref "configuration/transportserver-resource.md" >}}) | ||
- [Policy]({{< relref "configuration/policy-resource.md" >}}) | ||
- [GlobalConfiguration]({{< relref "configuration/global-configuration/globalconfiguration-resource.md" >}}) | ||
|
||
```shell | ||
kubectl apply -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v3.3.2/deploy/crds.yaml | ||
``` | ||
|
||
{{%/tab%}} | ||
|
||
{{%tab name="Install CRDs after cloning the repo"%}} | ||
|
||
{{< note >}} If you are installing the CRDs this way, ensure you have first cloned the repository. {{< /note >}} | ||
|
||
These YAML files create CRDs for the following resources: | ||
|
||
- [VirtualServer and VirtualServerRoute]({{< relref "configuration/virtualserver-and-virtualserverroute-resources.md" >}}) | ||
- [TransportServer]({{< relref "configuration/transportserver-resource.md" >}}) | ||
- [Policy]({{< relref "configuration/policy-resource.md" >}}) | ||
- [GlobalConfiguration]({{< relref "configuration/global-configuration/globalconfiguration-resource.md" >}}) | ||
|
||
```shell | ||
kubectl apply -f config/crd/bases/k8s.nginx.org_virtualservers.yaml | ||
kubectl apply -f config/crd/bases/k8s.nginx.org_virtualserverroutes.yaml | ||
kubectl apply -f config/crd/bases/k8s.nginx.org_transportservers.yaml | ||
kubectl apply -f config/crd/bases/k8s.nginx.org_policies.yaml | ||
kubectl apply -f config/crd/bases/k8s.nginx.org_globalconfigurations.yaml | ||
``` | ||
|
||
{{%/tab%}} | ||
|
||
{{</tabs>}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
You have two options for deploying NGINX Ingress Controller: | ||
|
||
- **Deployment**. Choose this method for the flexibility to dynamically change the number of NGINX Ingress Controller replicas. | ||
- **DaemonSet**. Choose this method if you want NGINX Ingress Controller to run on all nodes or a subset of nodes. | ||
|
||
Before you start, update the [command-line arguments]({{< relref "configuration/global-configuration/command-line-arguments.md" >}}) for the NGINX Ingress Controller container in the relevant manifest file to meet your specific requirements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.