POD and Node CIDR Clarification in Kubernetes

I have the Following Query related to POD CIDR range for Kubernetes setup,
During Kubeadm init stage, we have an option to pass the “-pod-network-cidr” which decides the POD CIDR,
But during later stage while installing the Network CNI plugins like Weave, we also have another option to set the IPALLOC_RANGE for POD as we see below:
What is the difference between these 2 options of POD CIDR and which of them should be used in a Cluster setup ?

kubectl apply -f “https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d ‘\n’)&env.IPALLOC_RANGE=10.50.0.0/16”

Also please clarify how is the CIDR set for Internal IP address of nodes ?

@mmumshad @vijin.palazhi @unnivkn @tgp

Hello @mayurkadam1001
Weave uses its own default CIDR values so we can change it by specifying the env.IPALLOCA_RANGE parameter.

Regards,
KodeKloud Support