Warning FailedCreatePodSandBox 3m13s (x2242 over 8h) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "12345": plugin type="multus" name="multus-cni-network" failed (add): [example/example-12345:k8s-pod-network]: error adding container to network "k8s-pod-network": Calico is currently not ready to process requests
3.x
Calico's datastore Ready will be marked as false and that is a way to lock datastore by calico controller to stop ip allocation or writing other variables when k8s api server is not reachable for longer time.
kubectl get clusterinformations -o yaml
apiVersion: v1
items:
apiVersion: crd.projectcalico.org/v1
kind: ClusterInformation
metadata:
annotations:
projectcalico.org/metadata: '
{"uid":"###-##","creationTimestamp":"YYYY-MM-DDTHH:MM:SSZ"}
'creationTimestamp: "YYYY-MM-DDTHH:MM:SSZ"
generation: 4
name: default
resourceVersion: "####"
uid: ###-###
spec:
calicoVersion: v3.24.1
clusterGUID: ###-###
clusterType: k8s,bgp,kubeadm,kdd
datastoreReady: false
kind: List
metadata:
resourceVersion: ""