You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nw-metallb-addresspool-cr.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The fields for the `IPAddressPool` custom resource are described in the followin
19
19
|`metadata.name`
20
20
|`string`
21
21
|Specifies the name for the address pool.
22
-
When you add a service, you can specify this pool name in the `metallb.universe.tf/address-pool` annotation to select an IP address from a specific pool.
22
+
When you add a service, you can specify this pool name in the `metallb.io/address-pool` annotation to select an IP address from a specific pool.
23
23
The names `doc-example`, `silver`, and `gold` are used throughout the documentation.
24
24
25
25
|`metadata.namespace`
@@ -40,7 +40,7 @@ Specify each range in CIDR notation or as starting and ending IP addresses separ
40
40
|`spec.autoAssign`
41
41
|`boolean`
42
42
|Optional: Specifies whether MetalLB automatically assigns IP addresses from this pool.
43
-
Specify `false` if you want explicitly request an IP address from this pool with the `metallb.universe.tf/address-pool` annotation.
43
+
Specify `false` if you want explicitly request an IP address from this pool with the `metallb.io/address-pool` annotation.
To assign an IP address from a specific range, but you are not concerned with the specific IP address, then you can use the `metallb.universe.tf/address-pool` annotation to request an IP address from the specified address pool.
55
+
To assign an IP address from a specific range, but you are not concerned with the specific IP address, then you can use the `metallb.io/address-pool` annotation to request an IP address from the specified address pool.
56
56
57
57
.Example service YAML for an IP address from a specific pool
However, if you need to colocate services on a single IP address, you can enable selective IP sharing by adding the `metallb.universe.tf/allow-shared-ip` annotation to the services.
107
+
However, if you need to colocate services on a single IP address, you can enable selective IP sharing by adding the `metallb.io/allow-shared-ip` annotation to the services.
<1> Specify the same value for the `metallb.universe.tf/allow-shared-ip` annotation. This value is referred to as the _sharing key_.
147
+
<1> Specify the same value for the `metallb.io/allow-shared-ip` annotation. This value is referred to as the _sharing key_.
148
148
<2> Specify different port numbers for the services.
149
149
<3> Specify identical pod selectors if you must specify `externalTrafficPolicy: local` so the services send traffic to the same set of pods. If you use the `cluster` external traffic policy, then the pod selectors do not need to be identical.
150
150
<4> Optional: If you specify the three preceding items, MetalLB might colocate the services on the same IP address. To ensure that services share an IP address, specify the IP address to share.
0 commit comments