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
+1
Original file line number
Diff line number
Diff line change
@@ -44,6 +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
+
|`--nodebalancer-backend-ipv4-subnet`|`""`| ipv4 subnet to use for NodeBalancer backends |
47
48
|`--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. |
If CCM is started with `--nodebalancer-backend-ipv4-subnet` flag, then it will not allow provisioning of nodebalancer unless subnet specified in service annotation lie within the subnet specified using the flag. This is to prevent accidental overlap between nodebalancer backend ips and pod CIDRs.
Copy file name to clipboardExpand all lines: main.go
+1
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ func main() {
90
90
command.Flags().StringVar(&linode.Options.BGPNodeSelector, "bgp-node-selector", "", "node selector to use to perform shared IP fail-over with BGP (e.g. cilium-bgp-peering=true")
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
+
command.Flags().StringVar(&linode.Options.NodeBalancerBackendIPv4Subnet, "nodebalancer-backend-ipv4-subnet", "", "ipv4 subnet to use for NodeBalancer backends")
93
94
command.Flags().StringSliceVar(&linode.Options.NodeBalancerTags, "nodebalancer-tags", []string{}, "Linode tags to apply to all NodeBalancers")
94
95
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