报错:

Readiness probe failed: 2021-11-09 05:17:34.340 [INFO][421] confd/health.go 180: Number of node(s) with BGP peering established = 0 calico/node is not ready: BIRD is not ready: BGP not established with 192.168.200.10,192.168.200.11

默认的IP_AUTODETECTION_METHOD是first-found
192.168.200.10这张卡不是我想要的。
修改custom-resources.yaml ,在nodeAddressAutodetectionV4中增加网卡,通配以.*结尾:

apiVersion: operator.tigera.io/v1
kind: Installation
metadata:
  name: default
spec:
  # Configures Calico networking.
  calicoNetwork:
    # Note: The ipPools section cannot be modified post-install.
    nodeAddressAutodetectionV4:
      interface: ens.*
    ipPools:
    - blockSize: 26
      cidr: 10.244.0.0/16
      encapsulation: VXLANCrossSubnet
      natOutgoing: Enabled
      nodeSelector: all()

---
apiVersion: operator.tigera.io/v1
kind: APIServer 
metadata: 
  name: default 
spec: {}

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code