mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #11538 from satnam6502/doc33
Fix console output of services documents
This commit is contained in:
commit
04d87218e5
@ -49,8 +49,8 @@ Google Compute Engine firewalls are documented [elsewhere](https://cloud.google.
|
|||||||
|
|
||||||
You can add a firewall with the ```gcloud``` command line tool:
|
You can add a firewall with the ```gcloud``` command line tool:
|
||||||
|
|
||||||
```
|
```console
|
||||||
gcloud compute firewall-rules create my-rule --allow=tcp:<port>
|
$ gcloud compute firewall-rules create my-rule --allow=tcp:<port>
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**
|
**Note**
|
||||||
|
@ -302,7 +302,7 @@ For example, the Service "redis-master" which exposes TCP port 6379 and has been
|
|||||||
allocated cluster IP address 10.0.0.11 produces the following environment
|
allocated cluster IP address 10.0.0.11 produces the following environment
|
||||||
variables:
|
variables:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
REDIS_MASTER_SERVICE_HOST=10.0.0.11
|
REDIS_MASTER_SERVICE_HOST=10.0.0.11
|
||||||
REDIS_MASTER_SERVICE_PORT=6379
|
REDIS_MASTER_SERVICE_PORT=6379
|
||||||
REDIS_MASTER_PORT=tcp://10.0.0.11:6379
|
REDIS_MASTER_PORT=tcp://10.0.0.11:6379
|
||||||
|
Loading…
Reference in New Issue
Block a user