Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is multus-cni v3.9.3-thick-amd64 THICK or THIN Plugin? #1292

Open
hikkart opened this issue May 29, 2024 · 2 comments
Open

Is multus-cni v3.9.3-thick-amd64 THICK or THIN Plugin? #1292

hikkart opened this issue May 29, 2024 · 2 comments

Comments

@hikkart
Copy link

hikkart commented May 29, 2024

Hi Team,

Configured multus-cni with Daemonset-thick-plugin yaml v3.9.3 with container Image: v3.9.3-thick-amd64.

Daemonset-thick-plugin yaml: https://github.com/k8snetworkplumbingwg/multus-cni/blob/v3.9.3/deployments/multus-daemonset-thick-plugin.yml
Container Image: https://github.com/k8snetworkplumbingwg/multus-cni/pkgs/container/multus-cni/61872617?tag=v3.9.3-thick-amd64

Expected multus-shim (as in 4.0.2) but ended up with multus binary like thin plugin.

Also found that config yaml shows type=multus and configuration is similar to THIN plugin config.

Is multus-cni v3.9.3-thick-amd64 THICK or THIN Plugin?

Kindly clarify. Thank you.

root@vm0:~# /opt/cni/bin/multus --version
multus-cni version:v3.9.3, commit:80c0f6f0c4ed85ab5887e81cb5ee3294995ac93c, date:2023-01-05T16:00:40+00:00

root@vm0:~# cat /etc/cni/net.d/00-multus.conf
{
	"capabilities": {
		"bandwidth": true,
		"portMappings": true
	},
	"cniVersion": "0.3.1",
	"logLevel": "verbose",
	"logToStderr": true,
	"kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig",
	"name": "multus-cni-network",
	"type": "multus",
	"delegates": [
		{
			"cniVersion": "0.3.1",
			"name": "k8s-pod-network",
			"plugins": [
				{
					"datastore_type": "kubernetes",
					"ipam": {
						"subnet": "usePodCidr",
						"type": "host-local"
					},
					"kubernetes": {
						"kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
					},
					"log_file_path": "/var/log/calico/cni/cni.log",
					"log_level": "info",
					"mtu": 1450,
					"nodename": "vm0",
					"policy": {
						"type": "k8s"
					},
					"type": "calico"
				},
				{
					"capabilities": {
						"portMappings": true
					},
					"snat": true,
					"type": "portmap"
				},
				{
					"capabilities": {
						"bandwidth": true
					},
					"type": "bandwidth"
				}
			]
		}
	]
}
@dougbtv
Copy link
Member

dougbtv commented Jun 6, 2024

Version 3.9.3 can actually run in both thick and thin modes.

Check out the deployment yaml in the release-v3 branch @ https://github.com/k8snetworkplumbingwg/multus-cni/tree/release-v3/deployments

@hikkart
Copy link
Author

hikkart commented Jun 7, 2024

Thanks for the reply. Yes, v3.9.3 is also having two separate deployment yamls for thin and thick. Even there are few difference between two yamls too.
https://github.com/k8snetworkplumbingwg/multus-cni/tree/v3.9.3/deployments

As mentioned above, I have used thick-plugin's deployment yaml and expected the type to show as multus-shim (as in later v4.0.x).
But still it is showing as mutlus as thin plugin. Hence the confusion raised. Is it only the naming is updated for thick ?
Thanks for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants