You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we had the same issue. The reason for us is that we set the annotation as String, which is exactly your case. Instead, it should be an array. Maybe you can change the annotation to the following and try again:
apiVersion: v1
kind: Pod
metadata:
name: samplepod
annotations:
cni.projectcalico.org/ipv4pools: '["default-ipv4-ippool"]'
What happend:
with cni.projectcalico.org/ipv4pools: "default-ipv4-ippool" got error ,without no error?
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
image path and image ID (from 'docker images')
kubectl version
):1.31.0kubectl get net-attach-def -o yaml
)kubectl get pod <podname> -o yaml
)The text was updated successfully, but these errors were encountered: