docs(consul-api-gateway): fixup CLI prompt to match convention

This commit is contained in:
Mike Morris 2022-06-01 15:00:06 -04:00
parent f4b8aea322
commit f40563aa2c

View File

@ -271,16 +271,16 @@ Refer to the [Kubernetes Gateway API documentation](https://gateway-api.sigs.k8s
A logical gateway object can be scaled to multiple instances within the bounds set in its associated GatewayClassConfig by using the [`kubectl scale`](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#scaling-a-deployment) command.
```
> kubectl get deployment --selector api-gateway.consul.hashicorp.com/name=example-gateway
$ kubectl get deployment --selector api-gateway.consul.hashicorp.com/name=example-gateway
NAME READY UP-TO-DATE AVAILABLE
example-gateway 1/1 1 1
```
```
> kubectl scale deployment/example-gateway --replicas=3
$ kubectl scale deployment/example-gateway --replicas=3
deployment.apps/api-gateway scaled
```
```
> k get deployment -n consul --selector api-gateway.consul.hashicorp.com/name=api-gateway
$ k get deployment -n consul --selector api-gateway.consul.hashicorp.com/name=api-gateway
NAME READY UP-TO-DATE AVAILABLE
api-gateway 3/3 3 3
```