File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
content/en/docs/concepts/services-networking Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ where it's running, by adding an Endpoints object manually:
192
192
apiVersion: v1
193
193
kind: Endpoints
194
194
metadata:
195
+ # the name here should match the name of the Service
195
196
name: my-service
196
197
subsets:
197
198
- addresses:
@@ -203,6 +204,10 @@ subsets:
203
204
The name of the Endpoints object must be a valid
204
205
[DNS subdomain name](/docs/concepts/overview/working-with-objects/names#dns-subdomain-names).
205
206
207
+ When you create an [Endpoints](docs/reference/kubernetes-api/service-resources/endpoints-v1/)
208
+ object for a Service, you set the name of the new object to be the same as that
209
+ of the Service.
210
+
206
211
{{< note >}}
207
212
The endpoint IPs _must not_ be : loopback (127.0.0.0/8 for IPv4, ::1/128 for IPv6), or
208
213
link-local (169.254.0.0/16 and 224.0.0.0/24 for IPv4, fe80::/64 for IPv6).
You can’t perform that action at this time.
0 commit comments