|
| 1 | +--- |
| 2 | +nd-docs: "DOCS-000" |
| 3 | +files: |
| 4 | +- content/ngf/install/manifests.md |
| 5 | +- content/nginx-one/ngf/add-ngf-manifests.md |
| 6 | +--- |
| 7 | + |
| 8 | +{{< call-out "note" >}} By default, NGINX Gateway Fabric is installed in the **nginx-gateway** namespace. You can deploy in another namespace by modifying the manifest files. {{< /call-out >}} |
| 9 | + |
| 10 | +{{<tabs name="install-manifests">}} |
| 11 | + |
| 12 | +{{%tab name="Default"%}} |
| 13 | + |
| 14 | +Deploys NGINX Gateway Fabric with NGINX OSS. |
| 15 | + |
| 16 | +```shell |
| 17 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/default/deploy.yaml |
| 18 | +``` |
| 19 | + |
| 20 | +{{% /tab %}} |
| 21 | + |
| 22 | +{{%tab name="AWS NLB"%}} |
| 23 | + |
| 24 | +Deploys NGINX Gateway Fabric with NGINX OSS. |
| 25 | + |
| 26 | +```shell |
| 27 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/default/deploy.yaml |
| 28 | +``` |
| 29 | + |
| 30 | +To set up an AWS Network Load Balancer service, add these annotations to your Gateway infrastructure field: |
| 31 | + |
| 32 | +```yaml |
| 33 | +spec: |
| 34 | + infrastructure: |
| 35 | + annotations: |
| 36 | + service.beta.kubernetes.io/aws-load-balancer-type: "external" |
| 37 | + service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip" |
| 38 | +``` |
| 39 | +
|
| 40 | +{{% /tab %}} |
| 41 | +
|
| 42 | +{{%tab name="Azure"%}} |
| 43 | +
|
| 44 | +Deploys NGINX Gateway Fabric with NGINX OSS and `nodeSelector` to deploy on Linux nodes. |
| 45 | + |
| 46 | +```shell |
| 47 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/azure/deploy.yaml |
| 48 | +``` |
| 49 | + |
| 50 | +{{% /tab %}} |
| 51 | + |
| 52 | +{{%tab name="NGINX Plus"%}} |
| 53 | + |
| 54 | +Deploys NGINX Gateway Fabric with NGINX Plus. The image is pulled from the |
| 55 | +NGINX Plus Docker registry, and the `imagePullSecretName` is the name of the Secret to use to pull the image. |
| 56 | +The NGINX Plus JWT Secret used to run NGINX Plus is also specified in a volume mount and the `--usage-report-secret` parameter. These Secrets are created as part of the [Before you begin](#before-you-begin) section. |
| 57 | + |
| 58 | +```shell |
| 59 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/nginx-plus/deploy.yaml |
| 60 | +``` |
| 61 | + |
| 62 | +{{% /tab %}} |
| 63 | + |
| 64 | +{{%tab name="Experimental"%}} |
| 65 | + |
| 66 | +Deploys NGINX Gateway Fabric with NGINX OSS and experimental features. |
| 67 | + |
| 68 | +```shell |
| 69 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/experimental/deploy.yaml |
| 70 | +``` |
| 71 | + |
| 72 | +{{< call-out "note" >}} Requires the Gateway APIs installed from the experimental channel. {{< /call-out >}} |
| 73 | + |
| 74 | +{{% /tab %}} |
| 75 | + |
| 76 | +{{%tab name="NGINX Plus Experimental"%}} |
| 77 | + |
| 78 | +Deploys NGINX Gateway Fabric with NGINX Plus and experimental features. The image is pulled from the |
| 79 | +NGINX Plus Docker registry, and the `imagePullSecretName` is the name of the Secret to use to pull the image. |
| 80 | +The NGINX Plus JWT Secret used to run NGINX Plus is also specified in a volume mount and the `--usage-report-secret` parameter. These Secrets are created as part of the [Before you begin](#before-you-begin) section. |
| 81 | + |
| 82 | +```shell |
| 83 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/nginx-plus-experimental/deploy.yaml |
| 84 | +``` |
| 85 | + |
| 86 | +{{< call-out "note" >}} Requires the Gateway APIs installed from the experimental channel. {{< /call-out >}} |
| 87 | + |
| 88 | +{{% /tab %}} |
| 89 | + |
| 90 | +{{%tab name="NodePort"%}} |
| 91 | + |
| 92 | +Deploys NGINX Gateway Fabric with NGINX OSS using a Service type of `NodePort`. |
| 93 | + |
| 94 | +```shell |
| 95 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/nodeport/deploy.yaml |
| 96 | +``` |
| 97 | + |
| 98 | +{{% /tab %}} |
| 99 | + |
| 100 | +{{%tab name="OpenShift"%}} |
| 101 | + |
| 102 | +Deploys NGINX Gateway Fabric with NGINX OSS on OpenShift. |
| 103 | + |
| 104 | +```shell |
| 105 | +kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v{{< version-ngf >}}/deploy/openshift/deploy.yaml |
| 106 | +``` |
| 107 | + |
| 108 | +{{% /tab %}} |
| 109 | + |
| 110 | +{{</tabs>}} |
| 111 | + |
| 112 | +### Provision an NGINX data plane |
| 113 | + |
| 114 | +To deploy the NGINX data plane to connect to the NGINX One Console, follow this guide: [Deploy a Gateway for data plane instances]({{< ref "/ngf/install/deploy-data-plane.md" >}}). |
| 115 | + |
0 commit comments