mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
Update tutorial about kubectl expose
This commit is contained in:
@@ -209,8 +209,7 @@ walk-through - you can use your own `Service`'s details here.
|
||||
|
||||
```console
|
||||
$ kubectl expose rc hostnames --port=80 --target-port=9376
|
||||
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
||||
hostnames 10.0.0.1 <none> 80/TCP run=hostnames 1h
|
||||
service "hostnames" exposed
|
||||
```
|
||||
|
||||
And read it back, just to be sure:
|
||||
|
Reference in New Issue
Block a user