Commit 3c39edb 1 parent 81dad20 commit 3c39edb Copy full SHA for 3c39edb
File tree 1 file changed +34
-18
lines changed
kubernetes/manifests/apps/kube-system
1 file changed +34
-18
lines changed Original file line number Diff line number Diff line change @@ -111,42 +111,58 @@ resources:
111
111
metadata :
112
112
name : bgp-cluster-config
113
113
spec :
114
+ nodeSelector :
115
+ matchLabels :
116
+ kubernetes.io/os : " linux"
114
117
bgpInstances :
115
- - asn : 64513
116
- routerID : " {{ .NodeIP }}"
117
- exportPodCIDR : true
118
- neighbors :
119
- - peerConfigRef :
118
+ - name : main-instance
119
+ localASN : 64513
120
+ peers :
121
+ - name : main-peer
122
+ peerASN : 64512
123
+ peerAddress : ${NETWORK_BGP_PEER}
124
+ peerConfigRef :
120
125
name : main-peer-config
121
126
122
127
- apiVersion : cilium.io/v2alpha1
123
128
kind : CiliumBGPPeerConfig
124
129
metadata :
125
130
name : main-peer-config
126
131
spec :
127
- peerAddress : " ${NETWORK_BGP_PEER}/32"
128
- peerASN : 64512
132
+ families :
133
+ - afi : ipv4
134
+ safi : unicast
135
+ advertisements :
136
+ matchLabels :
137
+ advertise : bgp
129
138
gracefulRestart :
130
139
enabled : true
131
140
restartTimeSeconds : 120
132
141
133
142
- apiVersion : cilium.io/v2alpha1
134
143
kind : CiliumBGPAdvertisement
135
144
metadata :
136
- name : service-advertisement
145
+ name : service-advertisements
146
+ labels :
147
+ advertise : bgp
137
148
spec :
138
- prefixes :
139
- - 192.168.2.0/24
140
- serviceSelector :
141
- matchExpressions :
142
- - key : somekey
143
- operator : NotIn
144
- values : ["announce-all-services"]
149
+ advertisements :
150
+ - advertisementType : " Service"
151
+ service :
152
+ addresses :
153
+ - ExternalIP
154
+ - LoadBalancerIP
155
+ selector :
156
+ matchExpressions :
157
+ - key : somekey
158
+ operator : NotIn
159
+ values : ["announce-all-services"]
145
160
146
- - apiVersion : " cilium.io/v2alpha1"
161
+ - apiVersion : cilium.io/v2alpha1
147
162
kind : CiliumLoadBalancerIPPool
148
163
metadata :
149
- name : " blue-pool"
164
+ name : blue-pool
150
165
spec :
151
- cidrs :
166
+ blocks :
152
167
- cidr : 192.168.2.0/24
168
+
You can’t perform that action at this time.
0 commit comments