mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Partial Cilium 1.16+ Support & Add vars for configuring cilium IP load balancer pools and bgp v1 & v2 apis (#11620)
* Add vars for configuring cilium IP load balancer pools and bgp peer policies * Cilium 1.16+ Support - Add vars for configuring cilium bgpv2 api & handle cilium_kube_proxy_replacement unsupported values
This commit is contained in:
@@ -247,6 +247,101 @@ cilium_l2announcements: false
|
||||
# -- Enable native IP masquerade support in eBPF
|
||||
# cilium_enable_bpf_masquerade: false
|
||||
|
||||
# -- Enable BGP Control Plane
|
||||
# cilium_enable_bgp_control_plane: false
|
||||
|
||||
# -- Configure Loadbalancer IP Pools
|
||||
# cilium_loadbalancer_ip_pools:
|
||||
# - name: "blue-pool"
|
||||
# cidrs:
|
||||
# - "10.0.10.0/24"
|
||||
|
||||
# -- Configure BGP Instances (New bgpv2 API v1.16+)
|
||||
# cilium_bgp_cluster_configs:
|
||||
# - name: "cilium-bgp"
|
||||
# spec:
|
||||
# bgpInstances:
|
||||
# - name: "instance-64512"
|
||||
# localASN: 64512
|
||||
# peers:
|
||||
# - name: "peer-64512-tor1"
|
||||
# peerASN: 64512
|
||||
# peerAddress: '10.47.1.1'
|
||||
# peerConfigRef:
|
||||
# name: "cilium-peer"
|
||||
# nodeSelector:
|
||||
# matchExpressions:
|
||||
# - {key: somekey, operator: NotIn, values: ['never-used-value']}
|
||||
|
||||
# -- Configure BGP Peers (New bgpv2 API v1.16+)
|
||||
# cilium_bgp_peer_configs:
|
||||
# - name: cilium-peer
|
||||
# spec:
|
||||
# # authSecretRef: bgp-auth-secret
|
||||
# gracefulRestart:
|
||||
# enabled: true
|
||||
# restartTimeSeconds: 15
|
||||
# families:
|
||||
# - afi: ipv4
|
||||
# safi: unicast
|
||||
# advertisements:
|
||||
# matchLabels:
|
||||
# advertise: "bgp"
|
||||
# - afi: ipv6
|
||||
# safi: unicast
|
||||
# advertisements:
|
||||
# matchLabels:
|
||||
# advertise: "bgp"
|
||||
|
||||
# -- Configure BGP Advertisements (New bgpv2 API v1.16+)
|
||||
# cilium_bgp_advertisements:
|
||||
# - name: bgp-advertisements
|
||||
# labels:
|
||||
# advertise: bgp
|
||||
# spec:
|
||||
# advertisements:
|
||||
# # - advertisementType: "PodCIDR"
|
||||
# # attributes:
|
||||
# # communities:
|
||||
# # standard: [ "64512:99" ]
|
||||
# - advertisementType: "Service"
|
||||
# service:
|
||||
# addresses:
|
||||
# - ClusterIP
|
||||
# - ExternalIP
|
||||
# - LoadBalancerIP
|
||||
# selector:
|
||||
# matchExpressions:
|
||||
# - {key: somekey, operator: NotIn, values: ['never-used-value']}
|
||||
|
||||
# -- Configure BGP Node Config Overrides (New bgpv2 API v1.16+)
|
||||
# cilium_bgp_node_config_overrides:
|
||||
# - name: bgp-node-config-override
|
||||
# spec:
|
||||
# bgpInstances:
|
||||
# - name: "instance-65000"
|
||||
# routerID: "192.168.10.1"
|
||||
# localPort: 1790
|
||||
# peers:
|
||||
# - name: "peer-65000-tor1"
|
||||
# localAddress: fd00:10:0:2::2
|
||||
# - name: "peer-65000-tor2"
|
||||
# localAddress: fd00:11:0:2::2
|
||||
|
||||
# -- Configure BGP Peers (Legacy v1.16+)
|
||||
# cilium_bgp_peering_policies:
|
||||
# - name: "01-bgp-peering-policy"
|
||||
# spec:
|
||||
# virtualRouters:
|
||||
# - localASN: 64512
|
||||
# exportPodCIDR: false
|
||||
# neighbors:
|
||||
# - peerAddress: '10.47.1.1/24'
|
||||
# peerASN: 64512
|
||||
# serviceSelector:
|
||||
# matchExpressions:
|
||||
# - {key: somekey, operator: NotIn, values: ['never-used-value']}
|
||||
|
||||
# -- Configure whether direct routing mode should route traffic via
|
||||
# host stack (true) or directly and more efficiently out of BPF (false) if
|
||||
# the kernel supports it. The latter has the implication that it will also
|
||||
|
||||
Reference in New Issue
Block a user