Mention default type of Service in “Defining a Service” section (#41855)

* Explain default type of Service in “Defining a Service” section

* incorporated with review comments

* removed unnecessary whitespace
pull/41993/head
lakshmi prasuna 2023-07-13 17:34:06 +05:30 committed by GitHub
parent 5da7cb5e7c
commit 4a87fb5850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ spec:
targetPort: 9376
```
Applying this manifest creates a new Service named "my-service", which
Applying this manifest creates a new Service named "my-service" with the default
ClusterIP [service type](#publishing-services-service-types). The Service
targets TCP port 9376 on any Pod with the `app.kubernetes.io/name: MyApp` label.
Kubernetes assigns this Service an IP address (the _cluster IP_),