To check the configured CNI plugin in your k8s cluster, list the files here: ls /etc/cni/net.d/ . You may find like a file like this one: 10-flannel.conflist. Below is an example of the contents of that file. You will see that there are two enabled CNI plugins in order: flannel and portmap.
{
"name": "cbr0",
"cniVersion": "0.3.1",
"plugins": [
{
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
}
]
}