Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Sep 8, 2024
1 parent 59ddd25 commit af02e0b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sysctl --system
# Install kubeadm
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
apt-get install -y kubeadm=1.30.4-1.1 kubectl=1.30.4-1.1 kubelet=1.30.4-1.1
apt-get update && apt-get update && apt-get install -y kubeadm=1.30.4-1.1 kubectl=1.30.4-1.1 kubelet=1.30.4-1.1
apt-mark hold kubelet kubectl

# Disable swap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,24 @@ spec:
name: "common-peer-config"
---
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPClusterConfig
metadata:
name: cilium-bgp-cluster-config-wk-mc1
spec:
nodeSelector:
matchLabels:
kubernetes.io/hostname: seichi-onp-k8s-wk-mc1
bgpInstances:
- name: "instance-65401"
localASN: 65401
peers:
- name: "peer-to-router"
peerASN: 65184
peerAddress: 192.168.3.254
peerConfigRef:
name: "common-peer-config"
---
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPPeerConfig
metadata:
name: common-peer-config
Expand Down

0 comments on commit af02e0b

Please sign in to comment.