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: docs/configuration/environment.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The CCM supports the following flags:
44
44
|`--ip-holder-suffix`|`""`| Suffix to append to the IP holder name when using shared IP fail-over with BGP |
45
45
|`--default-nodebalancer-type`|`common`| Default type of NodeBalancer to create (options: common, premium) |
46
46
|`--nodebalancer-tags`|`[]`| Linode tags to apply to all NodeBalancers |
47
-
|`--use-ipv6-for-loadbalancers`|`false`| Set both IPv4 and IPv6 addresses for all LoadBalancer services (when disabled, only IPv4 is used) |
47
+
|`--enable-ipv6-for-loadbalancers`|`false`| Set both IPv4 and IPv6 addresses for all LoadBalancer services (when disabled, only IPv4 is used). This can also be configured per-service using the `service.beta.kubernetes.io/linode-loadbalancer-enable-ipv6-ingress` annotation.|
Copy file name to clipboardExpand all lines: docs/configuration/loadbalancer.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ For more details, see [Linode NodeBalancer Documentation](https://www.linode.com
20
20
21
21
### IPv6 Support
22
22
23
-
NodeBalancers support both IPv4 and IPv6 ingress addresses. By default, the CCM uses sets IPv4 address for LoadBalancer services. You can configure the CCM to set both IPv4 and IPv6 addresses by setting the `use-ipv6-for-loadbalancers` flag:
23
+
NodeBalancers support both IPv4 and IPv6 ingress addresses. By default, the CCM uses only IPv4 address for LoadBalancer services.
24
+
25
+
You can enable IPv6 addresses globally for all services by setting the `enable-ipv6-for-loadbalancers` flag:
24
26
25
27
```yaml
26
28
spec:
@@ -29,7 +31,7 @@ spec:
29
31
containers:
30
32
- name: ccm-linode
31
33
args:
32
-
- --use-ipv6-for-loadbalancers
34
+
- --enable-ipv6-for-loadbalancers=true
33
35
```
34
36
35
37
Alternatively, you can enable IPv6 addresses for individual services using the annotation:
Copy file name to clipboardExpand all lines: main.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ func main() {
91
91
command.Flags().StringVar(&linode.Options.IpHolderSuffix, "ip-holder-suffix", "", "suffix to append to the ip holder name when using shared IP fail-over with BGP (e.g. ip-holder-suffix=my-cluster-name")
92
92
command.Flags().StringVar(&linode.Options.DefaultNBType, "default-nodebalancer-type", string(linodego.NBTypeCommon), "default type of NodeBalancer to create (options: common, premium)")
93
93
command.Flags().StringSliceVar(&linode.Options.NodeBalancerTags, "nodebalancer-tags", []string{}, "Linode tags to apply to all NodeBalancers")
94
-
command.Flags().BoolVar(&linode.Options.UseIPv6ForLoadBalancers, "use-ipv6-for-loadbalancers", false, "set both IPv4 and IPv6 addresses for all LoadBalancer services (when disabled, only IPv4 is used)")
94
+
command.Flags().BoolVar(&linode.Options.EnableIPv6ForLoadBalancers, "enable-ipv6-for-loadbalancers", false, "set both IPv4 and IPv6 addresses for all LoadBalancer services (when disabled, only IPv4 is used)")
0 commit comments