mirror of
https://github.com/status-im/consul.git
synced 2025-01-27 05:57:03 +00:00
docs(consul-api-gateway): fixup CLI prompt to match convention
This commit is contained in:
parent
f4b8aea322
commit
f40563aa2c
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user