You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Service type can be changed, explained in the next section.
@@ -104,26 +104,26 @@ The NginxProxy custom resource can modify the provisioning of the Service object
104
104
105
105
{{< note >}} Updating most Kubernetes related fields in NginxProxy will trigger a restart of the related resources. {{< /note >}}
106
106
107
-
An NginxProxy resource is created by default after deploying NGINX Gateway Fabric. This NginxProxy resource is attached to the GatewayClass (created on NGINX Gateway Fabric deployment), and
107
+
An NginxProxy resource is created by default after deploying NGINX Gateway Fabric. This NginxProxy resource is attached to the GatewayClass (created on NGINX Gateway Fabric installation), and
108
108
its settings are applied globally to all Gateways.
109
109
110
110
Use `kubectl get` and `kubectl describe` to get some more information on the resource:
@@ -159,24 +159,25 @@ Under `Spec.Kubernetes` you can see a few things:
159
159
- How many NGINX Deployment replicas are specified
160
160
- The type of Service and external traffic policy
161
161
162
-
{{< note >}} Depending on installation configuration, the default NginxProxy settings may be slightly different from what is shown in the example. {{< /note >}}
162
+
{{< note >}} Depending on installation configuration, the default NginxProxy settings may be slightly different from what is shown in the example.
163
+
For more information on NginxProxy and its configurable fields, see the [API reference]({{< ref "/ngf/reference/api.md" >}}). {{< /note >}}
163
164
164
165
Modify the NginxProxy resource to change the type of Service.
165
166
166
167
Use `kubectl edit` to modify the default NginxProxy and insert the following under `spec.kubernetes.service`:
167
168
168
169
```yaml
169
-
type: LoadBalancer
170
+
type: NodePort
170
171
```
171
172
172
173
After saving the changes, use `kubectl get` on the service, and you should see the service type has changed to LoadBalancer.
0 commit comments