mirror of https://github.com/k3s-io/k3s
fixed incorrect service name
parent
8e25b7c7bf
commit
f72e2ff10f
|
@ -225,7 +225,7 @@ $ curl http://${SERVICE_IP}:${SERVICE_PORT}
|
|||
To delete the service by name:
|
||||
|
||||
```console
|
||||
$ kubectl delete service nginx-controller
|
||||
$ kubectl delete service nginx-service
|
||||
```
|
||||
|
||||
When created, each service is assigned a unique IP address. This address is tied to the lifespan of the Service, and will not change while the Service is alive. Pods can be configured to talk to the service, and know that communication to the service will be automatically load-balanced out to some pod that is a member of the set identified by the label selector in the Service.
|
||||
|
|
Loading…
Reference in New Issue