Compare commits
2 Commits
3f7d59f1af
...
4ba3be8781
Author | SHA1 | Date | |
---|---|---|---|
4ba3be8781
|
|||
7380539493 |
@@ -1,16 +1,16 @@
|
|||||||
apiVersion: cilium.io/v2alpha1
|
# apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumBGPAdvertisement
|
# kind: CiliumBGPAdvertisement
|
||||||
metadata:
|
# metadata:
|
||||||
name: cilium-bgp-advertisements
|
# name: cilium-bgp-advertisements
|
||||||
namespace: {{ .Release.Namespace }}
|
# namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: cilium-bgp-advertisements
|
# app.kubernetes.io/name: cilium-bgp-advertisements
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
advertise: bgp
|
# advertise: bgp
|
||||||
spec:
|
# spec:
|
||||||
advertisements:
|
# advertisements:
|
||||||
- advertisementType: "Service"
|
# - advertisementType: "Service"
|
||||||
service:
|
# service:
|
||||||
addresses:
|
# addresses:
|
||||||
- LoadBalancerIP
|
# - LoadBalancerIP
|
||||||
|
@@ -1,22 +1,22 @@
|
|||||||
apiVersion: cilium.io/v2alpha1
|
# apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumBGPClusterConfig
|
# kind: CiliumBGPClusterConfig
|
||||||
metadata:
|
# metadata:
|
||||||
name: cilium-bgp
|
# name: cilium-bgp
|
||||||
namespace: {{ .Release.Namespace }}
|
# namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: cilium-bgp
|
# app.kubernetes.io/name: cilium-bgp
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
# spec:
|
||||||
nodeSelector:
|
# nodeSelector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
node-role.kubernetes.io/bgp: "65020"
|
# node-role.kubernetes.io/bgp: "65020"
|
||||||
bgpInstances:
|
# bgpInstances:
|
||||||
- name: "65020"
|
# - name: "65020"
|
||||||
localASN: 65020
|
# localASN: 65020
|
||||||
peers:
|
# peers:
|
||||||
- name: "udm-65000"
|
# - name: "udm-65000"
|
||||||
peerASN: 65000
|
# peerASN: 65000
|
||||||
peerAddress: 192.168.1.1
|
# peerAddress: 192.168.1.1
|
||||||
peerConfigRef:
|
# peerConfigRef:
|
||||||
name: "cilium-peer"
|
# name: "cilium-peer"
|
||||||
|
@@ -1,19 +1,19 @@
|
|||||||
apiVersion: cilium.io/v2alpha1
|
# apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumBGPPeerConfig
|
# kind: CiliumBGPPeerConfig
|
||||||
metadata:
|
# metadata:
|
||||||
name: cilium-peer
|
# name: cilium-peer
|
||||||
namespace: {{ .Release.Namespace }}
|
# namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
# labels:
|
||||||
app.kubernetes.io/name: cilium-peer
|
# app.kubernetes.io/name: cilium-peer
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
# spec:
|
||||||
gracefulRestart:
|
# gracefulRestart:
|
||||||
enabled: true
|
# enabled: true
|
||||||
restartTimeSeconds: 15
|
# restartTimeSeconds: 15
|
||||||
families:
|
# families:
|
||||||
- afi: ipv4
|
# - afi: ipv4
|
||||||
safi: unicast
|
# safi: unicast
|
||||||
advertisements:
|
# advertisements:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
advertise: "bgp"
|
# advertise: "bgp"
|
||||||
|
Reference in New Issue
Block a user