Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions content/nginx-one-console/k8s/add-ngf-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,27 @@ To wait for the Deployment to be ready, you can either add the `--wait` flag to
kubectl wait --timeout=5m -n nginx-gateway deployment/ngf-nginx-gateway-fabric --for=condition=Available
```

## Deploy a Gateway

Now that the control plane is installed, you need to create a Gateway, which will provision NGINX and NGINX Agent. For example:

```yaml
kubectl apply -f - <<EOF
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: gateway
spec:
gatewayClassName: nginx
listeners:
- name: http
port: 80
protocol: HTTP
EOF
```

An NGINX Deployment will be created in the `default` namespace (same namespace as the Gateway). Once `Running`, it should report to the NGINX One Console.

## Verify a connection to NGINX One Console

{{< include "/nginx-one-console/how-to/verify-connection.md" >}}
Expand Down
21 changes: 21 additions & 0 deletions content/nginx-one-console/k8s/add-ngf-manifests.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,27 @@ Specify the data plane key Secret name in the `--nginx-one-dataplane-key-secret`

{{< include "/ngf/installation/deploy-ngf-manifests.md" >}}

## Deploy a Gateway

Now that the control plane is installed, you need to create a Gateway, which will provision NGINX and NGINX Agent. For example:

```yaml
kubectl apply -f - <<EOF
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: gateway
spec:
gatewayClassName: nginx
listeners:
- name: http
port: 80
protocol: HTTP
EOF
```

An NGINX Deployment will be created in the `default` namespace (same namespace as the Gateway). Once `Running`, it should report to the NGINX One Console.

## Verify a connection to NGINX One Console

{{< include "/nginx-one-console/how-to/verify-connection.md" >}}
Expand Down