If kubectl CNI logs as below, make sure CNI is running on each node. (On GKE
cluster, we need to enable Network policy for default CNi to be
running):
08-18-2022 23:55:07.397661 UTC DEBUG: PAN CNI config: { "name": "pan-cni", "type": "pan-cni", "log_level": "debug", "appinfo_dir": "/var/log/pan-appinfo", "mode": "service", "dpservicename": "pan-ngfw-svc", "dpservicenamespace": "kube-system", "firewall": [ "pan-fw" ], "interfaces": [ "eth0" ], "interfacesip": [ "" ], "interfacesmac": [ "" ], "override_mtu": "", "kubernetes": { "kubeconfig": "/etc/cni/net.d/ZZZ-pan-cni-kubeconfig", "cni_bin_dir": "/opt/cni/bin", "exclude_namespaces": [], "security_namespaces": [ "kube-system" ] }}
08-18-2022 23:55:07.402812 UTC DEBUG: CNI running in FW Service mode. Bypassfirewall can be enabled on application pods
08-18-2022 23:55:07.454392 UTC CRITICAL: Detected Multus as primary CNI (CONF file 00-multus.conf); waiting for non-multus CNI to become primary CNI.
root@manojmaster:~/pan-cn-k8s-service/native#
If above error is seen, Try Undeploying the Multus and delete the file
00-multus.conf from the worker nodes where this CNI and DPs are deployed
root@manojworker1:/etc/cni/net.d# pwd
/etc/cni/net.d
root@manojworker1:/etc/cni/net.d# rm 00-multus.conf