|
1 | 1 | suite: service/spec
|
2 | 2 | description: Base suite for services
|
3 | 3 | behaviors:
|
4 |
| -- id: service/basic-create/selector |
| 4 | +- id: service/spec/selector/present-during-create |
5 | 5 | description: When a Service resource is created with type "ClusterIP", "NodePort", or "LoadBalancer",
|
6 | 6 | and a selector is specified, an Endpoints object is generated based with the IPs of pods with
|
7 | 7 | label keys and values matching the selector.
|
8 |
| -- id: service/basic-create/no-selector |
| 8 | +- id: service/spec/selector/absent-during-create |
9 | 9 | description: When a Service resource is created and a no selector is specified, no changes are made
|
10 | 10 | to any corresponding Endpoints object.
|
11 |
| -- id: service/type/ClusterIP/empty |
| 11 | +- id: service/spec/type/ClusterIP/empty |
12 | 12 | description: When the Service type is specified as "ClusterIP" and the clusterIP
|
13 | 13 | field is empty, a cluster-internal IP address for load-balancing to endpoints is
|
14 | 14 | allocated.
|
15 |
| -- id: service/type/ClusterIP/static |
| 15 | +- id: service/spec/type/ClusterIP/static |
16 | 16 | description: When the Service type is specified as "ClusterIP" and the clusterIP
|
17 | 17 | field is specified as an IP address in the cluster service range, and that IP is
|
18 | 18 | not already assigned to another service, that IP is be allocated as a cluster-internal
|
19 | 19 | IP address for load-balancing to endpoints.
|
20 |
| -- id: service/type/ClusterIP/None |
| 20 | +- id: service/spec/type/ClusterIP/None |
21 | 21 | description: When the Service type is specified as "ClusterIP" and the clusterIP
|
22 | 22 | field is "None", no virtual IP is allocated and the endpoints are published as a
|
23 | 23 | set of endpoints rather than a stable IP.
|
24 |
| -- id: service/type/NodePort |
| 24 | +- id: service/spec/type/NodePort |
25 | 25 | description: When the Service type is specified as "NodePort" , a cluster-internal
|
26 | 26 | IP address for load-balancing to endpoints is allocated as for type "ClusterIP".
|
27 | 27 | Additionally, a cluster-wide port is allocated on every node, routing to the clusterIP.
|
28 |
| -- id: service/type/ExternalName |
| 28 | +- id: service/spec/type/ExternalName |
29 | 29 | description: When the Service type is specified as "ExternalName", the cluster DNS provider
|
30 | 30 | publishes a CNAME pointing from the service to the specified external name.
|
0 commit comments